In automatic upgrade mode, an AP checks whether its version is the same as that configured on the AC, SFTP server, or FTP server when the AP goes online. If the two versions are different, the AP upgrades its version, restarts, and goes online again. This mode applies to scenarios where APs have not gone online on the AC. Usually, automatic upgrade parameters are configured prior to AP access. When going online, APs upgrade automatically.
Table1 AP automatic upgrade modesUpgrade Mode | Function | Scenario |
AC mode | An AP downloads the upgrade file from an AC. | This mode applies to the scenario where a small number of APs need to go online. |
FTP mode | An AP downloads the upgrade file from an FTP server. | This mode applies to the scenario where high network security is not required in file transmission. In FTP mode, data is transmitted in clear text, bringing potential security risks. |
SFTP mode | An AP downloads the upgrade file from an SFTP server. | This mode applies to the scenario demanding high network security. In SFTP mode, data is encrypted, ensuring data integrity and privacy. |
The following uses the SFTP mode as an example:
Upload the AP upgrade file to the SFTP server.
Run the system-view command to enter the system view.
Run the wlan command to enter the WLAN view.
Run the ap update mode sftp-mode command to set the AP upgrade mode to SFTP.
Run the ap update sftp-server { ip-address server-ip-address | ipv6-address server-ipv6-address } sftp-username sftp-username sftp-password cipher sftp-password command to configure basic SFTP information.
Run the ap update update-filename filename ap-type type-id [ ap-group ap-group-name ] command to specify the upgrade file for APs of a specified type.