No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
WLAN Reliability Commands

WLAN Reliability Commands

batch ap priority

Function

The batch ap priority command configures the AC's individual priority for specified APs in batches.

The undo batch ap priority command cancels the configuration.

By default, the AC's individual priority is not configured for an AP.

Format

batch ap { id1 [ to id2 ] } &<1-10> priority priority-level

undo batch ap { id1 [ to id2 ] } &<1-10> priority

Parameters

Parameter

Description

Value

id1 to id2
Specifies IDs of APs.
  • id1 indicates the start ID of the APs.
  • id2 indicates the end ID of the APs.

The value is an integer that ranges from 0 to 15.

priority-level

Specifies the AC's individual priority.

The value is an integer that ranges from 0 to 7. A smaller value indicates a higher priority.

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On an N+1 backup network, you can run this command to configure the AC's individual priority for multiple APs in batches, which reduces configuration workload.

Configuring the AC's individual priority for APs in batches is equivalent to configuring the AC's individual priority in each AP view.

Prerequisite

The APs have been added to the AC offline or online on the AC

Precautions

The AC has two types of priorities. Before an AP goes online, the AC checks whether an individual priority is configured for the AP. If so, the AC delivers the individual priority to the AP. If not, the AC delvers the global priority to the AP.

If ACs deliver the same priorities to the AP, the AP selects the AC with the lowest AP load as the active AC. If both AC priorities and AP load are the same, the AP selects the AC with the lowest STA load as the active AC. If AC priorities, AP load, and STA load are the same, the AP selects the AC with the smallest IP address as the active AC to establish a CAPWAP tunnel. The AP or STA load equals the number of allowed APs or STAs minus the number of existing APs or STAs.

After this command is run, restart online APs on the local AC to make the configuration take effect; otherwise, the configuration automatically takes effect within one heartbeat interval.

Example

# Configure AC's individual priority 5 for APs with IDs 0 to 10.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] batch ap 0 to 10 priority 5
Related Topics

batch ap protect-ac

Function

The batch ap protect-ac command configures the standby AC's IP address for specified APs in batches.

The undo batch ap protect-ac command cancels the configuration.

By default, the standby AC's IP address is not configured for an AP.

Format

batch ap { id1 [ to id2 ] } &<1-10> protect-ac ip-address

undo batch ap { id1 [ to id2 ] } &<1-10> protect-ac

Parameters

Parameter

Description

Value

id1 to id2
Specifies IDs of APs.
  • id1 indicates the start ID of the APs.
  • id2 indicates the end ID of the APs.

The value is an integer that ranges from 0 to 15.

ip-address

Specifies an IPv4 address for the standby AC.

The value is in dotted decimal notation.

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On an N+1 backup network, you can run this command to configure the standby AC's IP address for multiple APs in batches, which reduces configuration workload.

Configuring the standby AC's IP address for APs in batches is equivalent to configuring the standby AC's IP address in each AP view.

Prerequisite

The APs have been added to the AC offline or online on the AC

Precautions

If standby AC's IP addresses are configured globally and for a specified AP, the standby AC's IP address configured for the specified AP is delivered preferentially. If no standby AC's IP address is configured for the specified AP, the standby AC's IP address configured globally is delivered to the AP.

After this command is run, restart online APs on the local AC to make the configuration take effect; otherwise, the configuration automatically takes effect within one heartbeat interval.

Example

# Configure the standby AC's IP address 192.168.10.1 for APs with IDs 0 to 10.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] batch ap 0 to 10 protect-ac 192.168.10.1
Related Topics

display wlan ac protect

Function

The display wlan ac protect command displays AC dual-link backup configuration.

Format

display wlan ac protect

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command displays AC dual-link backup configuration, including the dual-link backup status, AC priority, standby AC IP address, and active/standby AC switchback status.

Example

# Display AC dual-link backup configuration.

<Huawei> display wlan ac protect
  ------------------------------------------------------------                  
  Protect state   : enable                                                      
  Protect AC      : 192.168.4.5                                                 
  Priority        : 4                                                           
  Protect restore : enable                                                      
  ------------------------------------------------------------ 
Table 12-73  Description of the display wlan ac protect command output
Item Description

Protect state

Dual-link backup status:
  • enable
  • disable

Protect AC

Standby AC IP address.

Priority

AC priority.

Protect restore

Active/standby AC switchback status:
  • enable
  • disable

keep-service enable

Function

The keep-service enable command configures the AP to continue providing data services after the CAPWAP link between the AP and AC is disconnected.

The undo keep-service enable command restores the default setting.

By default, all services on the AP are interrupted after the CAPWAP link between the AP and AC is disconnected.

Format

keep-service enable

undo keep-service enable

Parameters

None

Views

AP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In direct forwarding mode, you can run the keep-service enable command to configure the AP to continue providing data services after the CAPWAP link between the AP and AC is disconnected. The data services then no longer depends on the CAPWAP link, which enhances service forwarding robustness.

Precautions

Example

# Configure the AP to continue providing data services after the CAPWAP link between the AP and AC is disconnected.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] ap id 0
[Huawei-wlan-ap-0] keep-service enable
Related Topics

keep-service enable allow new-access

Function

The keep-service enable allow new-access command enables the APs in fault state to allow access from new STAs.

The undo keep-service enable command disables the APs in fault state from allowing access from new STAs.

By default, the APs in fault state are disabled from allowing access from new STAs.

Format

keep-service enable allow new-access

undo keep-service enable

Parameters

None

Views

AP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The networks with low security requirements, which apply to hospitals or warehouses, require that the APs in fault state still allow access from new STAs when link faults occur between the APs and AC. After the keep-service enable allow new-access command is run, new STAs can still connect to the APs in fault state when the CAPWAP link between the APs and AC is disconnected.

Prerequisites

The security policy used by the APs must be WEP or WPA/WPA2-PSK.

Precautions

This command does not take effect on either a WDS network or a Mesh network.

Example

# Enable the APs in fault state to allow access of new STAs.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] ap id 0
[Huawei-wlan-ap-0] keep-service enable allow new-access
Related Topics

priority

Function

The priority command sets the AC priority in the AP view.

The undo priority command deletes the AC priority configured in the AP view.

By default, no AC priority is configured in the AP view.

Format

priority priority-level

undo priority

Parameters

Parameter

Description

Value

priority-level

Specifies the AC priority.

The value is an integer that ranges from 0 to 7. A smaller value indicates a higher priority.

Views

AP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an AP goes online, ACs deliver their priorities to the AP. The AP selects the AC with the highest priority as the active AC and establishes a CAPWAP tunnel with the active AC.

Precautions

If the AC priority is configured in the WLAN view and AP view before an AP goes online, the AC priority configured in the AP view is delivered to the AP. If no AC priority is configured in the AP view, the AC priority configured in the WLAN view is delivered to the AP.

If ACs deliver the same priorities to the AP, the AP selects the AC with the lowest AP load as the active AC. If both AC priorities and AP load are the same, the AP selects the AC with the lowest STA load as the active AC. If AC priorities, AP load, and STA load are the same, the AP selects the AC with the smallest IP address as the active AC to establish a CAPWAP tunnel. The AP or STA load equals the number of allowed APs or STAs minus the number of existing APs or STAs.

Example

# Set the AC priority to 3 in the view of AP 0.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] ap id 0
[Huawei-wlan-ap-0] priority 3
Related Topics

protect-ac

Function

The protect-ac command configures the standby AC IP address in the AP view.

The undo protect-ac command deletes the standby AC IP address configured in the AP view.

By default, no standby AC IP address is configured in the AP view.

Format

protect-ac ip-address

undo protect-ac

Parameters

Parameter

Description

Value

ip-address

Specifies an IPv4 address for the standby AC.

The value is in dotted decimal notation.

Views

AP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To connect an AP to two ACs (active and standby ACs) to implement dual-link backup, you can run the protect-ac command to configure the standby AC IP address in the AP view.

Precautions

If standby AC IP addresses are configured in both the WLAN view and AP view, the standby AC IP address configured in the AP view is delivered to an AP. If no standby AC IP address is configured in the AP view, the standby AC IP address configured in the WLAN view is delivered to an AP.

Example

# Configure a standby AC IP address 10.3.3.3 in the view of AP 0.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] ap id 0
[Huawei-wlan-ap-0] protect-ac 10.3.3.3
Related Topics

wlan ac protect

Function

The wlan ac protect enable command enables dual-link backup globally and disables N+1 backup.

The wlan ac protect disable command disables dual-link backup globally and enables N+1 backup.

By default, dual-link backup is disabled globally, and N+1 backup is enabled.

Format

wlan ac protect enable

wlan ac protect disable

Parameters

Parameter

Description

Value

enable

Enables dual-link backup globally and disables N+1 backup.

-

disable

Disables dual-link backup globally and enables N+1 backup.

-

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To ensure service stability, an AP needs to establish connections with two ACs. The two ACs work in active/standby mode. The active AC provides services for APs, whereas the standby AC is a backup to the active AC.

Follow-up Procedure

After dual-link backup or N+1 backup is enabled globally, configure the AC priority and standby AC IP address to implement dual-link backup or N+1 backup.

Precautions

Ensure that active and standby ACs deliver the same WLAN service configuration to an AP that connects to the two ACs.

Example

# Enable dual-link backup globally.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] wlan ac protect enable
Warning: This operation maybe cause ap reset or client down, continue?[Y/N]:y

wlan ac protect { protect-ac | priority }

Function

The wlan ac protect { protect-ac | priority } command configures the AC priority or standby AC IP address in the WLAN view.

The undo wlan ac protect { protect-ac | priority } command deletes the AC priority or standby AC IP address configured in the WLAN view.

By default, the AC priority in the WLAN view is 0 and no standby AC IP address is configured in the WLAN view.

Format

wlan ac protect { priority priority-value | protect-ac ip-address } *

undo wlan ac protect { priority | protect-ac } *

Parameters

Parameter

Description

Value

priority priority-value

Specifies the AC priority.

The value is an integer that ranges from 0 to 7. A smaller value indicates a higher priority.

protect-ac ip-address

Specifies an IPv4 address for the standby AC.

The value is in dotted decimal notation.

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an AP goes online, ACs deliver their priorities to the AP. The AP selects the AC with a higher priority as the active AC and establishes a CAPWAP tunnel with the active AC.

To implement dual-link backup on all the APs connected to an AC, configure the AC priority and standby AC IP address in the WLAN view to reduce the configuration workload.

Precautions

If the AC priority is configured in the WLAN view and AP view before an AP goes online, the AC priority configured in the AP view is delivered to the AP. If no AC priority is configured in the AP view, the AC priority configured in the WLAN view is delivered to the AP.

If standby AC IP addresses are configured in both the WLAN view and AP view before an AP goes online, the standby AC IP address configured in the AP view is delivered to an AP. If no standby AC IP address is configured in the AP view, the standby AC IP address configured in the WLAN view is delivered to an AP. If no standby AC IP address is configured in the WLAN view, dual-link backup is disabled.

Example

# Set the AC priority to 3 and standby AC IP address to 10.33.12.56 in the WLAN view.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] wlan ac protect protect-ac 10.33.12.56 priority 3
Related Topics

wlan ac protect restore

Function

The wlan ac protect restore enable command enables global revertive switching.

The wlan ac protect restore disable command disables global revertive switching.

By default, global revertive switching is enabled.

Format

wlan ac protect restore { enable | disable }

Parameters

Parameter

Description

Value

enable

Enables global revertive switching.

-

disable

Disables global revertive switching.

-

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

AC1 is the active AC and AC2 is the standby AC. When the link between AC1 and an AP fails, AC2 takes the active role.

When the link between AC1 and the AP recovers, the AP detects that AC1 priority is higher than AC2 and instructs AC1 and AC2 to perform revertive switching. AC1 then becomes the active AC again.

Precautions

  • The wlan ac protect restore enable command must be used before an AP goes online and dual-link backup is implemented. In this way, the AC delivers the revertive switching configuration to the AP when the AP goes online.
  • If global revertive switching is disabled, traffic of an AP cannot be switched back to AC1 when the link between AC1 and the AP restores.
  • The command takes effect after an AP restart.

Example

# Enable global revertive switching.

<Huawei> system-view
[Huawei] wlan ac
[Huawei-wlan-view] wlan ac protect restore enable
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 90652

Downloads: 124

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next