MAC-BAC configuration commands -- display wlan ap-list

Use display wlan ap-list to display AP list information.

Syntax

display wlan ap-list [ ap-list-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

ap-list-name: Specifies an AP list by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this argument, the command displays information about all AP lists.

Examples

# Display information about all AP lists.

<Sysname> display wlan ap-list

AP-list name: name1

Number of APs: 2

mac-address 0000-e27c-6e80

mac-address 0000-e27c-79fa

MAC-BAC configuration commands -- display wlan bas-ac

Use display wlan bas-ac to display information about the BAS ACs managed by the master AC.

Syntax

display wlan bas-ac [ mac-address mac-address ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

mac-address mac-address: Specifies a BAS AC by its MAC address. If you do not specify this option, the command displays information about all BAS ACs.

verbose: Displays detailed information about the BAS ACs managed by the master AC. If you do not specify this keyword, the command displays brief information about the BAS ACs.

Examples

# Display brief information about the BAS AC with the specified MAC address.

<Sysname> display wlan bas-ac mac-address 000f-e212-ff01

MAC address IP address AP count/Maximum AP capacity

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

000f-e212-ff01 192.168.33.21 1/192

# Display detailed information about the BAS AC with the specified MAC address.

<Sysname> display wlan bas-ac mac-address 000f-e212-ff01 verbose

MAC address :000f-e212-ff01

IP address :192.168.33.21

CAPWAP IP address :192.168.33.22

CAPWAP IPv6 address :NA

AP count :1

Maximum AP capacity :192

Table 1 Command output

Field | Description
MAC address | MAC address of the BAS AC.
IP address | IP address of the BAS AC.
AP count/Maximum AP capacity | Number of APs that have established a tunnel with the BAS AC/Maximum number of APs that can establish a tunnel with the BAS AC.
CAPWAP IP address | CAPWAP IPv4 address obtained by the master AC from the BAS AC. NA indicates that the master AC has not obtained any CAPWAP IPv4 address from the BAS AC.
CAPWAP IPv6 address | CAPWAP IPv6 address obtained by the master AC from the BAS AC. NA indicates that the master AC has not obtained any CAPWAP IPv6 address from the BAS AC.

MAC-BAC configuration commands -- display wlan client

Use display wlan client to display client information for each BAS AC managed by the master AC.

Syntax

display wlan client [ mac-address mac-address | bas-ac mac-address mac-address ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

mac-address mac-address: Specifies a client by its MAC address.

bac-ac mac-address mac-address: Specifies a BAS AC by its MAC address.

Usage guidelines

If you do not specify any parameters, this command displays information about all clients managed by the master AC.

Examples

# Display information about the client with the specified MAC address.

<Sysname> display wlan client mac-address 001c-f08f-f804

MAC address IP address BAS-AC MAC address BAS-AC IP address

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

001c-f08f-f804 192.168.11.11 000f-e212-ff01 192.168.33.21

Table 2 Command output

Field | Description
MAC Address | MAC address of the client.
IP Address | IP address of the client.
BAS-AC MAC Address | MAC address of the BAS AC associated with the client.
BAS-AC IP Address | IP address of the BAS AC associated with the client.

MAC-BAC configuration commands -- mac-address

Use mac-address to add an AP with the specified MAC address to the AP list.

Use undo mac-address to remove the specified MAC address.

Syntax

mac-address mac-address

undo mac-address [ mac-address ]

Default

No APs exist in the AP list.

Views

AP list view

Predefined user roles

network-admin

mdc-admin

Parameters

mac-address: Specifies the MAC address of an AP.

Usage guidelines

The undo form of the command removes all MAC addresses in the AP list if you do not specify the mac-address argument.

Examples

# Add the AP with the MAC address 000f-e233-9000 to the AP list name1.

<Sysname> system-view

[Sysname] wlan ap-list name1

[Sysname-wlan-aplist-name1] mac-address 000f-e233-9000

MAC-BAC configuration commands -- wlan ap-list

Use wlan ap-list to create an AP list.

Use undo wlan ap-list to remove the AP list.

Syntax

wlan ap-list ap-list-name

undo wlan ap-list [ ap-list-name ]

Default

No AP lists exist.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ap-list-name: Specifies an AP list name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

You can add an AP to different AP lists.

The undo form of the command removes all AP lists if you do not specify the ap-list-name argument.

Examples

# Create an AP list named name1.

<Sysname> system-view

[Sysname] wlan ap-list name1

[Sysname-wlan-aplist-name1]

MAC-BAC configuration commands -- wlan bas-ac ap aging-time

Use wlan bas-ac ap aging-time to set the aging time for the AP information on the master AC when the BAS AC is disconnected from the master AC.

Use undo wlan bas-ac ap aging-time to restore the default.

Syntax

wlan bas-ac ap aging-time seconds

undo wlan bas-ac ap aging-time

Default

The AP information aging time is 30 seconds on the master AC.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

seconds: Specifies the AP information aging time in the range of 1 to 60 seconds.

Examples

# Set the AP information aging time on the master AC to 10 seconds.

<Sysname> system-view

[Sysname] wlan bas-ac ap aging-time 10

MAC-BAC configuration commands -- wlan bas-ac authentication

Use wlan bas-ac authentication to set the key for authenticating packets sent by BAS ACs.

Use undo wlan bas-ac enable to remove the configured key.

Syntax

wlan bas-ac authentication { cipher | simple } authentication-key

undo wlan bas-ac authentication

Default

No key is configured for authenticating packets sent by BAS ACs.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

cipher: Specifies a key in encrypted form.

simple: Specifies a key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.

authentication-key: Specifies the authentication key. Its plaintext form is a case-sensitive string of 1 to 16 characters. Its encrypted form is a case-sensitive string of 24 to 53 characters.

Usage guidelines

The master AC computes a digest for a packet to be sent by using the authentication key and MD5 algorithm. It saves the result in the authentication header. The BAS AC performs the same operation by using the authentication key and MD5 algorithm. It compares the result with the digest in the authentication header. If the results are the same, the packet is accepted. Otherwise, the packet is dropped.

Configure the same key on the master AC and BAS ACs.

Examples

# Configure a plaintext key of 12345 for the BAS ACs.

<Sysname> system-view

[Sysname] wlan bas-ac enable

MAC-BAC configuration commands -- wlan bas-ac client aging-time

Use wlan bas-ac client aging-time to set the aging time for the client information on the master AC when the BAS AC is disconnected from the master AC.

Use undo wlan bas-ac client aging-time to restore the default.

Syntax

wlan bas-ac client aging-time seconds

undo wlan bas-ac client aging-time

Default

The client information aging time is 30 seconds.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

seconds: Specifies the client information aging time in the range of 1 to 60 seconds.

Examples

# Set the client information aging time on the BAS AC to 10 seconds.

<Sysname> system-view

[Sysname] wlan bas-ac client aging-time 10

MAC-BAC configuration commands -- wlan load-balance ap ap-list

Use wlan load-balance ap ap-list to enable hotspot-based BAS AC assignment to assign APs in an AP list to the same BAS AC.

Use undo wlan load-balance ap ap-list to remove the configuration.

Syntax

wlan load-balance ap ap-list ap-list-name

undo wlan load-balance ap ap-list [ ap-list-name ]

Default

The hotspot-based BAS AC assignment feature is disabled. The master AC assigns BAS ACs to APs according to the load balancing algorithm.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ap-list-name: Specifies an AP list name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

You can enable hotspot-based BAS AC assignment for multiple AP lists by executing the wlan load-balance ap ap-list command multiple times.

The undo form of the command removes all the hotspot-based BAS AC assignment features that have been configured for the AP lists if you do not specify the ap-list-name argument.

Examples

# Enable hotspot-based BAS AC assignment for the AP list name1.

<Sysname> system-view

[Sysname] wlan load-balance ap ap-list name1

MAC-BAC configuration commands -- wlan master-ac enable

Use wlan master-ac enable to enable the master AC.

Use undo wlan master-ac enable to disable the master AC.

Syntax

wlan master-ac enable

undo wlan master-ac enable

Default

The master AC is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Examples

# Enable the master AC.

<Sysname> system-view

[Sysname] wlan master-ac enable

MAC-BAC configuration commands -- wlan master-ac port

Use wlan master-ac port to set a port number for the master AC.

Use undo wlan master-ac port to restore the default.

Syntax

wlan master-ac port port-number

undo wlan master-ac port port-number

Default

The port number used by the master AC is 35001.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

port-number: Specifies a port number for the master AC, in the range of 1 to 65535.

Examples

# Set the port number to 5000 for the master AC.

<Sysname> system-view

[Sysname] wlan master-ac port 5000