ac-mode
Function
The ac-mode command sets the AC working mode to traditional or cloud.
By default, no working mode is configured for an AC.
Parameters
Parameter | Description | Value |
---|---|---|
standard | Switches to the traditional mode. |
- |
cloud | Switches to the cloud mode. |
- |
only | Switches to the cloud mode only, without restoring the certificate in the default domain. NOTE:
This parameter is supported only by the AC6003, AC6005, AC6605, ACU2, and AC6800V. |
- |
Usage Guidelines
Usage Scenario
Before registering an AC with the Agile Controller-Campus, you can run this command to switch the AC mode to cloud.
Precautions
If the working mode of the AC is already traditional or cloud, it cannot automatically switches its mode using PnP. To switch the working mode again, you must manually perform the operation using the CLI or web platform.
For the AC6003, AC6005, AC6605, ACU2, and AC6800V install base, if the certificates in the default domain have been replaced, the ACs may fail to register with the Agile Controller-Campus due to a certificate mismatch. To ensure that an AC can register with Huawei public cloud, restore the default CA and local certificate in the default domain without verifying the certificate revocation status when you switch the AC mode to cloud. Alternatively, you can run the pki-load general-certificate command to restore the default certificates.
For ACs that have replaced certificates in the default domain, a certificate validation failure occurs if you restore the default certificates. In this case, the AC cannot set up links with third-party applications. It is recommended that customized certificates be imported to a PKI domain other than default so that the AC can register with the Agile Controller-Campus and retain the connections with the third-party applications.
Example
# Switch the AC working mode to cloud.
<AC6605> system-view [AC6605] ac-mode cloud Warning: This operation will switch the AC mode to cloud, Continue? [Y/N]y Warning: This operation will load the general CA and local certificates to the d efault realm and set the certification revocation check to none. In this way, th e device can go online and report WMI data. Continue? [Y/N]y
# Switch the AC working mode to cloud, without restoring the certificates in the default domain.
<AC6605> system-view [AC6605] ac-mode cloud only Warning: This operation will only switch the AC mode to cloud, Continue? [Y/N]y