Skip to main content

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]
Table 1. chconfig options
OptionDescriptionValues
-liView or accept the Service Advisor Terms and Conditions
Note
Terms and Conditions must be accepted before configuring any other parameters.
view, accept
-saSupport status of the Service Advisor
Note
To enable Service Advisor, the following criteria must be met:
  • The country code is required.

  • All options in the Service Advisor Contact Information are required.

enabled, disabled
-scCountry code for the Service Support CenterTwo-character ISO country code
-ccmPreferred contact method, default value is Email.Phone, Email
Service Advisor Contact Information:
-cnName of contact personQuote-delimited string (30 characters maximum)
-cphPhone number of contact personQuote-delimited string (5 - 30 characters)
-ceEmail 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)
-coOrganization or company name of contact personQuote-delimited string (30 characters maximum)
-caAddress of contact personQuote-delimited string (30 characters maximum)
-cciCity of contact personQuote-delimited string (30 characters maximum)
-csState of contact personQuote-delimited string (30 characters maximum)
-czPostal code of contact personQuote-delimited string (9 characters maximum)
On-site Service Advisor Contact Information:
-anName of on-site contact personQuote-delimited string (30 characters maximum)
-aphPhone number of on-site contact personQuote-delimited string (5 - 30 characters)
-aeEmail 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)
-aoOrganization or company name of on-site contact personQuote-delimited string (30 characters maximum)
-aaAddress of on-site contact person locationQuote-delimited string (30 characters maximum)
-aciCity of on-site contact person locationQuote-delimited string (30 characters maximum)
-asState of on-site contact person locationQuote-delimited string (30 characters maximum)
-azPostal code of on-site contact person locationQuote-delimited string (9 characters maximum)
Machine Location Information:
-maAddress of the machine locationQuote-delimited string (30 characters maximum)
-mciCity of the machine locationQuote-delimited string (30 characters maximum)
-msState of the machine locationQuote-delimited string (30 characters maximum)
-mzPostal code of the machine locationQuote-delimited string (9 characters maximum)
HTTP proxy settings options:
-locHTTP proxy locationFully qualified host name or IP address for HTTP proxy (63 characters maximum)
-poHTTP proxy portValid port number (1 - 65535)
-psHTTP proxy statusenabled, disabled
-pwHTTP proxy passwordValid password, quote-delimited (15 characters maximum)
-uHTTP proxy user nameValid user name, quote-delimited (30 characters maximum)
-testTest 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