chconfig command
Use this command to display and configure the Service Advisor settings.
Note
- The Service Advisor Terms and Conditions must be accepted, using the chconfig -li command option, before configuring any other parameters.
- All contact information fields, as well as the Service Support Center field (using chconfig -sc command option), are required before the Support of Service Advisor can be enabled.
- All HTTP Proxy fields must be set, if an HTTP proxy is required.
Syntax:
chconfig [-options]
| Option | Description | Values |
|---|---|---|
| -li | View or accept the Service Advisor Terms and Conditions Note Terms and Conditions must be accepted before configuring any other parameters. | view, accept |
| -sa | Support status of the Service Advisor Note To enable Service Advisor, the following criteria must be met:
| enabled, disabled |
| -sc | Country code for the Service Support Center | Two-character ISO country code |
| -ccm | Preferred contact method, default value is Email. | Phone, Email |
| Service Advisor Contact Information: | ||
| -cn | Name of contact person | Quote-delimited string (30 characters maximum) |
| -cph | Phone number of contact person | Quote-delimited string (5 - 30 characters) |
| -ce | Email address of contact person Note Alphanumeric characters ‘.’, ‘-’ or ‘_’ are acceptable as userid or hostname. Email address must contain at least two domain items. | Valid email address of the form userid@hostname (240 characters maximum) |
| -co | Organization or company name of contact person | Quote-delimited string (30 characters maximum) |
| -ca | Address of contact person | Quote-delimited string (30 characters maximum) |
| -cci | City of contact person | Quote-delimited string (30 characters maximum) |
| -cs | State of contact person | Quote-delimited string (30 characters maximum) |
| -cz | Postal code of contact person | Quote-delimited string (9 characters maximum) |
| On-site Service Advisor Contact Information: | ||
| -an | Name of on-site contact person | Quote-delimited string (30 characters maximum) |
| -aph | Phone number of on-site contact person | Quote-delimited string (5 - 30 characters) |
| -ae | Email address of on-site contact person Note Alphanumeric characters ‘.’, ‘-’ or ‘_’ are acceptable as userid or hostname. Email address must contain at least two domain items. | Valid email address of the form userid@hostname (240 characters maximum) |
| -ao | Organization or company name of on-site contact person | Quote-delimited string (30 characters maximum) |
| -aa | Address of on-site contact person location | Quote-delimited string (30 characters maximum) |
| -aci | City of on-site contact person location | Quote-delimited string (30 characters maximum) |
| -as | State of on-site contact person location | Quote-delimited string (30 characters maximum) |
| -az | Postal code of on-site contact person location | Quote-delimited string (9 characters maximum) |
| Machine Location Information: | ||
| -ma | Address of the machine location | Quote-delimited string (30 characters maximum) |
| -mci | City of the machine location | Quote-delimited string (30 characters maximum) |
| -ms | State of the machine location | Quote-delimited string (30 characters maximum) |
| -mz | Postal code of the machine location | Quote-delimited string (9 characters maximum) |
| HTTP proxy settings options: | ||
| -loc | HTTP proxy location | Fully qualified host name or IP address for HTTP proxy (63 characters maximum) |
| -po | HTTP proxy port | Valid port number (1 - 65535) |
| -ps | HTTP proxy status | enabled, disabled |
| -pw | HTTP proxy password | Valid password, quote-delimited (15 characters maximum) |
| -u | HTTP proxy user name | Valid user name, quote-delimited (30 characters maximum) |
| -test | Test http proxy | |
Example:
system> chconfig
-li: accept
-sa: enabled
-sc: CN
-ccm: Email
-cn: cn
-cph: 13111111111
-ce: test@lenovo.com
-co: co
-ca: ca
-cci: cci
-cs: cs
-cz: 1234567
-an: an
-aph: 18888888888
-ae: test@lenovo.com
-ao: ao
-aa: aa
-aci: aci
-as: as
-az: 123456789
-ma: ma
-mci: mci
-ms: ms
-mz: 1234567
-loc: 192.2.2.2
-po: 6552
-ps: disabled
-u: username
Give documentation feedback