AC hierarchy commands -- display wlan local-ac

Use display wlan local-ac to display local AC information on the local AC.

Syntax

display wlan local-ac

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Usage guidelines

If you specify a central AC and enable the local AC feature, this command displays both local AC and central AC information.

Examples

# Display local AC information on the local AC.

<Sysname> display wlan local-ac

Local AC information:

Model : WA4320i-ACN

Serial ID : 219801A0CNC125002329

MAC address : 00EF-003C-0001

Local AC address : 1.1.1.55

Static central AC IPv4 address : 1.1.1.5

Static central AC IPv6 address : 10::1

Central AC information:

Central AC address : 1.1.1.5

State : Run

Sent control packets : 100

Received control packets : 100

Table 1 Command output

Field | Description
Local AC address | IP address of the local AC. This field displays N/A if the local AC has not established a tunnel with a central AC.
Static central AC IPv4 address | Static IPv4 address of the central AC. This field displays Not configured if it is not configured.
Static central AC IPv6 address | Static IPv6 address of the central AC. This field displays Not configured if it is not configured.
State | Tunnel state: · Idle. · Sulking—The local AC fails to discover the central AC. · Discovery—The local AC is discovering the central AC. · Join—The local AC sends a join request to the central AC to establish the tunnel. · Image Download—The local AC is downloading a version from the central AC. · Config—The local AC is downloading initial configuration from the central AC. · Data Check—The local AC is checking data. · Run—The tunnel has been established successfully. · N/A—The local AC cannot come online for specific reasons such as local AC feature disabled.
Sent control packets | Number of control packets sent by the central AC in Run state.
Received control packets | Number of control packets received by the central in Run state.

AC hierarchy commands -- display wlan local-ac all

Use display wlan local-ac all to display information about all local ACs managed by the central AC.

Syntax

display wlan local-ac all

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Examples

# Display information about all local ACs managed by the central AC.

<Sysname> display wlan local-ac all

Local AC Information

State : I = Idle, J = Join, JA = JoinAck, IL = ImageLoad

C = Config, DC = DataCheck, R = Run

Local AC name Local AC ID State Model Serial ID

--------------------------------------------------------------------------------

lac1 1 I WX5510E 210235A1BSC123000050

lac2 2 R WX5510E 210456B9CEN238400040

Table 2 Command output

Field | Description
Local AC ID | ID of the local AC. It is assigned automatically by the central AC to uniquely identify a local AC on the central AC.
State | Local AC state: · I—Idle. · J—Join. · JA—Join acknowledge. · IL—The local AC is downloading a version. · C—The local AC is downloading initial configuration. · DC—The local AC is checking data. · R—The local AC is operating. It indicates that the local AC and the central AC have established a CAPWAP tunnel successfully.
Serial ID | Serial ID of the local AC. This field displays Not configured if it is not configured.

AC hierarchy commands -- serial-id

Use serial-id to specify the serial ID for a local AC on the central AC.

Use undo serial-id to restore the default.

Syntax

serial-id serial-id

undo serial-id

Default

On the central AC, no serial ID is specified for a local AC.

Views

Local AC view

Predefined user roles

network-admin

mdc-admin

Parameters

serial-id: Specifies a serial ID that can uniquely identify a local AC, a case-insensitive string of 1 to 63 characters.

Usage guidelines

Changing or deleting the serial ID of a local AC terminates the CAPWAP tunnel if the local AC has established a CAPWAP tunnel with the central AC. The local AC must reestablish a CAPWAP tunnel with the central AC.

Examples

# Set the serial ID of local AC lac to 210235A1BSC123000050.

<Sysname> system-view

[Sysname] wlan local-ac name lac model WX5510E

[Sysname-local-ac-lac] serial-id 210235A1BSC123000050

Related commands

wlan local-ac

AC hierarchy commands -- wlan central-ac

Use wlan central-ac to specify a central AC for a local AC.

Use undo wlan central-ac to delete an IP address of a central AC.

Syntax

wlan central-ac { ip ipv4-address | ipv6 ipv6-address }

undo wlan central-ac { ip [ ipv4-address ] | ipv6 [ ipv6-address ] }

Default

No central AC is specified for a local AC.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ip ipv4-address: Specifies an IPv4 address of a central AC.

ipv6 ipv6-address: Specifies an IPv6 address of a central AC.

Usage guidelines

You can specify a maximum of three IPv4 addresses and three IPv6 addresses.

If you do not specify any keywords when executing the undo command, the command deletes all IPv4 and IPv6 addresses.

Examples

# Specify the central AC with IP address 192.168.100.11 for the local AC.

<Sysname> system-view

[Sysname] wlan central-ac ip 192.168.100.11

AC hierarchy commands -- wlan local-ac

Use wlan local-ac to create a local AC and enter its view, or enter the view of an existing local AC.

Use undo wlan local-ac to delete a local AC.

Syntax

wlan local-ac name local-ac-name [ model model-name ]

undo wlan local-ac name local-ac-name

Default

No local ACs exist.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

name local-ac-name: Specifies the local AC name, a case-insensitive string of 1 to 64 characters.

model model-name: Specifies the local AC model. You must specify this option when you create a local AC.

Usage guidelines

The undo command terminates the CAPWAP tunnel if the central AC has established a tunnel with the local AC.

Examples

# Create local AC lac and enter its view.

<Sysname> system-view

[Sysname] wlan local-ac name lac model WX3010E

[Sysname-wlan-local-ac-lac]

Related commands

serial-id

AC hierarchy commands -- wlan local-ac enable

Use wlan local-ac enable to enable the local AC feature.

Use undo wlan local-ac enable to disable the local AC feature.

Syntax

wlan local-ac enable

undo wlan local-ac enable

Default

The local AC feature is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

After you enable the local AC feature on the AC and specify a central AC, the AC acts as a local AC to establish a CAPWAP tunnel with the central AC.

The undo command terminates the CAPWAP tunnel between the local AC and the central AC.

Examples

# Enable the local AC feature.

<Sysname> system-view

[Sysname] wlan local-ac enable