|
wissal
MVE
Created Oct 11, 2019 12:43:42
Hello, To upgrade the functions or versions of an existing WLAN, perform an in-service upgrade for APs or load patches on the WLAN. In an in-service upgrade, an AP is in normal or ver-mismatch state. If the AP finds that its version is different from the version of the AP upgrade file specified on the AC, the AP starts to upgrade its version. In an in-service upgrade, APs support the upgrade modes of single AP upgrade, upgrade based on the AP type and upgrade based on the AP group. - Upgrade of a single AP: allows you to upgrade a single AP to check whether the upgrade version can function properly. If the upgrade is successful, upgrade other APs in batches.
- AP upgrade based on the AP type: allows you to upgrade APs of the same type.
- AP upgrade based on the AP group: allows you to upgrade APs in the same AP group.
Similar to in-service upgrade, in-service patch loading allows you to load the patch for a single AP, APs of a specified type, or APs in a specified AP group. NOTE:- In an in-service upgrade, if APs fail to load the upgrade file and are reset, APs are upgraded automatically.
- If you upgrade multiple APs or load the patch for APs in AC mode, the upgrade lasts a long period. To reduce the service interruption time, you are advised to use the FTP or SFTP mode.
PrerequisitesThe AP version file has been uploaded to the AC, SFTP server, or FTP server. If the switch has two main processing units (MPUs) and the upgrade file has been uploaded to the active MPU, run the copy source-filename destination-filename command to manually copy the file to the standby MPU. Procedure- Run system-view
The system view is displayed. - Run wlan
The WLAN view is displayed. - Run the following commands as required.
AC mode Run ap update mode ac-mode The AP upgrade mode is set to AC mode. The default upgrade mode is ac-mode. FTP mode Run ap update mode ftp-mode The AP upgrade mode is set to FTP mode. The default upgrade mode is ac-mode. Run ap update ftp-server ip-address server-ip-address ftp-username ftp-username ftp-password cipher ftp-password Basic FTP information is configured. By default, no FTP server IP address is configured, the FTP server user name is anonymous, the FTP server password is anonymous@huawei.com. Run ap update ftp-server max-connect-number max-connect-number The maximum number of APs to be upgraded simultaneously is configured. By default, a maximum of 50 APs can be upgraded simultaneously in FTP mode. NOTE:An external FTP server can be used, which is recommended. The AC can also function as the FTP server. - When an external FTP server is used, the maximum number of APs that can be upgraded simultaneously is the configured max-connect-number.
If an AC is used as the FTP server, a maximum of five APs can be upgraded simultaneously even if the specified number is larger than five. When the AC functions as the FTP server, run the ap update ftp-server max-connect-number max-connect-number command to set the maximum number of APs that can be upgraded simultaneously. The value of max-connect-number is an integer ranging from 1 to 5. During the upgrade, a maximum of 1 to 5 APs can be upgraded at a time until all APs are upgraded. If the configured number of APs to be upgraded simultaneously is larger than five, an error message will be displayed after the first five APs are upgraded. The remaining APs cannot be automatically upgraded. You have to repeat the command until all APs are upgraded. When the AC functions as an FTP server, the number of VTY users is the reduced number of APs that can be upgraded simultaneously.
SFTP mode Run ap update mode sftp-mode The AP upgrade mode is set to SFTP mode. The default upgrade mode is ac-mode. Run ap update sftp-server ip-address server-ip-address sftp-username sftp-username sftp-password cipher sftp-password Basic SFTP information is configured. By default, no SFTP server IP address is configured, the SFTP server user name is anonymous, the SFTP server password is anonymous@huawei.com. Run ap update sftp-server max-connect-number max-connect-number The maximum number of APs to be upgraded simultaneously is configured. By default, a maximum of 50 APs can be upgraded simultaneously in SFTP mode. NOTE:An external sftp server can be used, which is recommended. The AC can also function as the sftp server. - When an external sftp server is used, the maximum number of APs that can be upgraded simultaneously is the configured max-connect-number.
If an AC is used as the SFTP server, a maximum of five APs can be upgraded simultaneously even if the specified number is larger than five. When the AC functions as the SFTP server, run the ap update sftp-server max-connect-number max-connect-number command to set the maximum number of APs that can be upgraded simultaneously. The value of max-connect-number is an integer ranging from 1 to 5. During the upgrade, a maximum of 1 to 5 APs can be upgraded at a time until all APs are upgraded. If max-connect-number is set larger than 5, an error message will be displayed after the first five APs are upgraded. The remaining APs cannot be automatically upgraded. You have to repeat the command until all APs are upgraded. When the AC functions as an SFTP server, the number of VTY users is the reduced number of APs that can be upgraded simultaneously.
- Configure in-service upgrade.
Perform an in-service upgrade on a single AP. Run ap update load { ap-name ap-name | ap-mac ap-mac | ap-id ap-id } update-filename update-file-name The specified AP is upgraded. Run ap update reset { ap-name ap-name | ap-mac ap-mac | ap-id ap-id } The specified AP is reset for upgrade.
Upgrade APs of the same AP type. Run ap update update-filename filename ap-type type-id [ ap-group ap-group-name ] The upgrade file name for APs of a type is specified. Run ap update multi-load ap-type type-id [ ap-group group-name | { ap-name ap-name | ap-id ap-id } &<1-10> ] APs are upgraded in batches based on the AP type. Run ap update multi-reset ap-type type-id [ ap-group group-name | { ap-name ap-name | ap-id ap-id } &<1-10> ] APs of the specified AP type are reset in batches.
Upgrade APs in the specified AP group in batches. Run ap update update-filename filename ap-type type-id [ ap-group ap-group-name ] The upgrade file name for APs in an AP group is specified. Run ap update multi-load ap-group group-name [ { ap-name ap-name } &<1-10> | { ap-id ap-id } &<1-10> ] APs in the specified AP group are upgraded in batches. Run ap update multi-reset ap-group group-name [ { ap-name ap-name } &<1-10> | { ap-id ap-id } &<1-10> ] APs in the specified AP group are reset in batches.
- Perform in-service patch loading.
Perform in-service patch loading for a single AP. Run ap-patch update load { ap-name ap-name | ap-mac ap-mac | ap-id ap-id } update-filename update-file-name The patch is loaded for a specified AP. Load the patch for APs of the same AP type. Run ap-patch update update-filename filename ap-type type-id [ ap-group ap-group-name ] The patch file name is configured for APs of a specified type. Run ap-patch update multi-load ap-type type-id [ ap-group group-name | { ap-name ap-name | ap-id ap-id } &<1-10> ] The patch is loaded for APs of a specified type.
Load the patch for APs in the same AP group. Run ap-patch update update-filename filename ap-type type-id [ ap-group ap-group-name ] The patch file name is configured for APs in a specified AP group. Run ap-patch update multi-load ap-group group-name [ { ap-name ap-name } &<1-10> | { ap-id ap-id } &<1-10> ] The patch is loaded for APs in a specified AP group.
To uninstall patches, run the undo commands of the preceding commands.
Thanks
|
|
|
|
|