< Home

ap update sftp-server max-connect-number

Function

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.

Format

ap update sftp-server max-connect-number max-connect-number

undo ap update sftp-server max-connect-number

Parameters

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.

Views

WLAN view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When APs are upgraded in SFTP mode, you can configure the value of max-connect-number to change the maximum number of APs that can be upgraded simultaneously.
  • 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

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.

    If there are n login VTY users, the maximum number of APs that can be upgraded simultaneously is subtracted by n - 1.

Example

# Set the maximum number of APs that can be upgraded simultaneously in SFTP mode to 10.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap update sftp-server max-connect-number 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >