The ap update sftp-server command configures the maximum number of APs that can be upgraded simultaneously in SFTP mode.
The undo ap update sftp-server command restores the default maximum number of APs that can be upgraded simultaneously in SFTP mode.
By default, a maximum of 50 APs can be upgraded simultaneously in SFTP mode.
ap update sftp-server max-connect-number max-connect-number
undo ap update sftp-server max-connect-number
Parameter |
Description |
Value |
---|---|---|
max-connect-number |
Specifies the maximum number of APs that can be upgraded simultaneously. |
The value is an integer that ranges from 1 to 64. |
Usage Scenario
If the number of APs to be upgraded is equal to or smaller than max-connect-number, all APs can be upgraded simultaneously.
If the number of APs to be upgraded is larger than max-connect-number, only the specified number of APs can be upgraded simultaneously. After the specified number of APs are upgraded, the remaining APs are upgraded automatically until all APs are upgraded. The number of APs that are upgraded at a time cannot exceed the value of max-connect-number.
Precautions
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.
If there are n login VTY users, the maximum number of APs that can be upgraded simultaneously is subtracted by n - 1.