06-AP Management Command Reference

HomeSupportReference GuidesCommand ReferencesH3C Anchor Command References(R5436)-6W10106-AP Management Command Reference
02-AP management commands
Title Size Download
02-AP management commands 457.66 KB

Contents

AP management commands· 1

ap· 1

ap-model 1

bridge-aggregation· 2

data-tunnel encryption· 3

delete file· 4

description (AP group view) 4

description (AP view) 5

discovery-response· 6

display wlan ap· 6

display wlan ap address· 19

display wlan ap all feature capwap· 20

display wlan ap connection-record· 21

display wlan ap description· 22

display wlan ap group· 23

display wlan ap online-time· 25

display wlan ap reboot-log· 25

display wlan ap region-code· 26

display wlan ap running-configuration· 27

display wlan ap statistics association-failure-record· 29

display wlan ap statistics image-download· 30

display wlan ap statistics online-record· 32

display wlan ap statistics tunnel-down-record· 33

display wlan ap tunnel latency· 34

display wlan ap-distribution· 35

display wlan ap-distribution ap-name· 36

display wlan ap-group· 36

display wlan ap-model 38

display wlan device role· 39

display wlan license· 39

download file· 40

echo-count 40

echo-interval 41

firmware-upgrade· 42

fragment-size· 43

gateway information report 44

gigabitethernet 45

hybrid-remote-ap· 46

if-match ip· 46

if-match ipv6· 47

keepalive-interval 48

led-mode· 49

link-aggregation mode· 49

mac-address (AP group view) 51

mac-address (AP view) 51

map-configuration· 52

poe port 53

port-isolate enable· 53

port access vlan· 55

port hybrid pvid· 56

port hybrid vlan· 58

port link-aggregation group· 60

port link-type· 61

port trunk permit vlan· 62

port trunk pvid· 64

priority· 66

qos priority· 67

qos trust 68

region-code· 69

region-code (global configuration view) 72

region-code-ie· 75

region-code-lock· 75

remote-configuration· 76

remote-configuration synchronize· 77

reset wlan ap· 78

reset wlan ap connection-record· 79

reset wlan ap reboot-log· 79

reset wlan tunnel latency ap· 80

retransmit-count 80

retransmit-interval 81

serial-id (AP group view) 82

serial-id (AP view) 83

snmp-agent trap enable wlan ap· 84

snmp-agent trap enable wlan capwap· 84

statistics-interval 85

statistics-interval fast-report 86

tunnel encryption· 87

tunnel latency-detect 88

usb· 88

vlan· 89

wlan ap· 90

wlan ap-certificate verification· 91

wlan apdb· 92

wlan apdb file· 93

wlan ap-image-deploy· 94

wlan ap-group· 94

wlan auto-ap enable· 95

wlan auto-ap persistent 95

wlan auto-persistent enable· 96

wlan capwap discovery-policy unicast 96

wlan capwap encryption· 97

wlan global-configuration· 98

wlan image-load filepath· 98

wlan re-group· 99

wlan rename-ap· 100

wlan timezone-sync enable· 100


AP management commands

ap

Use ap to create an AP grouping rule by AP names.

Use undo ap to delete an AP grouping rule by AP names.

Syntax

ap ap-name-list

undo ap ap-name-list

Default

No AP grouping rules by AP names exist.

Views

AP group view

Predefined user roles

network-admin

Parameters

ap-name-list: Specifies a maximum of 10 space-separated AP names. An AP name is a case-sensitive string of 1 to 64 characters that can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Usage guidelines

This command does not identify whether the specified AP exists.

The priorities of AP grouping rules by AP names, serial IDs, MAC addresses, and IP addresses are in descending order. If an AP does not match any grouping rules, it is added to the default AP group.

If the created AP grouping rule already exists in another AP group, this command deletes the rule from that AP group.

You cannot execute this command in the view of the default AP group.

Examples

# Create an AP grouping rule by AP names to add APs ap1, ap2, and ap3 to AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] ap ap1 ap2 ap3

Related commands

wlan ap-group

ap-model

Use ap-model to create an AP model and enter its view, or enter the view of an existing AP model.

Use undo ap-model to remove an AP model and its configuration.

Syntax

ap-model ap-model

undo ap-model ap-model

Default

No AP models exist.

Views

AP group view

Predefined user roles

network-admin

Parameters

ap-model: Specifies an AP model name.

Examples

# Create an AP model named WA536-WW and enter its view.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] ap-model WA536-WW

[Sysname-wlan-ap-group-group1-ap-model-WA536-WW]

bridge-aggregation

 

NOTE:

Support for this command depends on the AP model.

Use bridge-aggregation to create a Layer 2 aggregate interface and enter its view, or enter the view of an existing Layer 2 aggregate interface.

Use undo bridge-aggregation to delete a Layer 2 aggregate interface.

Syntax

bridge-aggregation interface-number

undo bridge-aggregation interface-number

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, no Layer 2 aggregate interfaces exist.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

interface-number: Specifies a Layer 2 aggregate interface number. The value range for this argument varies by AP model.

Usage guidelines

When you create a Layer 2 aggregate interface, the system automatically creates a Layer 2 aggregation group with the same number. The aggregation group operates in static aggregation mode by default.

Deleting a Layer 2 aggregate interface also deletes the Layer 2 aggregation group. At the same time, the member ports of the aggregation group, if any, leave the aggregation group.

The configuration will be synchronized to all online APs if remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Create Layer 2 aggregate interface 1 for AP ap1, and enter its view.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1]

# Create Layer 2 aggregate interface 1 for APs with model WA536-WW in AP group group1, and enter its view.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1]

Related commands

remote-configuration

remote-configuration synchronize

data-tunnel encryption

Use data-tunnel encryption enable to enable CAPWAP data tunnel encryption.

Use data-tunnel encryption disable to disable CAPWAP data tunnel encryption.

Use undo data-tunnel encryption to restore the default.

Syntax

data-tunnel encryption { disable | enable }

undo data-tunnel encryption

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, CAPWAP data tunnel encryption is disabled.

Views

AP view

AP group view

Predefined user roles

network-admin

Usage guidelines

When this feature is enabled, an AP exchanges encryption information including keys with the AC through the CAPWAP control tunnel upon receiving the first keepalive packet from the AC. After the exchange, the AC and the AP will encrypt data packets transmitted in a CAPWAP data tunnel. Keepalive packets are not encrypted.

This feature will cause an AP to reassociate with the AC.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Enable CAPWAP data tunnel encryption for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] data-tunnel encryption enable

This operation will reconnect the AP. Continue? [Y/N]

# Enable CAPWAP data tunnel encryption for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] data-tunnel encryption enable

This operation will reconnect member APs that are not enabled with CAPWAP data tunnel encryption. Continue? [Y/N]

Related commands

tunnel encryption

delete file

Use delete file to delete a file from an AP.

Syntax

delete file filename

Views

AP view

Predefined user roles

network-admin

Parameters

filename: Specifies a file by its file name, a string of 1 to 255 characters.

Usage guidelines

This command takes effect only after an AP establishes a CAPWAP tunnel with the master AC.

Examples

# Delete file startup.cfg from AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] delete file startup.cfg

Do want to delete the flash:/startup.cfg file? [Y/N]

Related commands

display wlan ap files

download file

description (AP group view)

Use description to configure a description for an AP group.

Use undo description to restore the default.

Syntax

description text

undo description

Default

An AP group does not have a description.

Views

AP group view

Predefined user roles

network-admin

Parameters

text: Specifies a description, a case-sensitive string of 1 to 64 characters.

Usage guidelines

Configure a description for an AP group for easy identification and management purposes.

You can use the display wlan ap-group command to view the configured description.

Examples

# Configure a description for AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-ap-group-group1] description L3-office

Related commands

display wlan ap-group

wlan ap-group

description (AP view)

Use description to configure a description for an AP.

Use undo description to restore the default.

Syntax

description text

undo description

Default

An AP does not have a description.

Views

AP view

Predefined user roles

network-admin

Parameters

text: Specifies a description, a case-sensitive string of 1 to 64 characters.

Examples

# Configure a description for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-ap-ap1] description L3-office

discovery-response

Use discovery-response wait-time to set the discovery-response timeout timer.

Use undo discovery-response wait-time to restore the default.

Syntax

discovery-response wait-time seconds

undo discovery-response wait-time

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the discovery-response timeout timer is 2 seconds.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

seconds: Specifies the discovery-response timeout timer in the range of 2 to 20 seconds.

Usage guidelines

The discovery-response timeout timer specifies the timeout time for an AP to wait for another discovery response. Whenever an AP receives a discovery response packet, the discovery-response timeout timer is created or refreshed. When the timeout timer expires, the AP sends a join request to the optimal AC.

If the network condition is poor, set a larger discovery-response timeout timer.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the discovery-response timeout timer to 3 seconds for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap3

[Sysname-wlan-ap-ap3] discovery-response wait-time 3

# Set the discovery-response timeout timer to 3 seconds for all APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] discovery-response wait-time 3

display wlan ap

Use display wlan ap to display AP information.

Syntax

display wlan ap { all | name ap-name } [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

verbose: Displays detailed information.

Examples

# Display information about all APs.

<Sysname> display wlan ap all

Total number of APs: 1

Total number of connected APs: 1

Total number of connected manual APs: 1

Total number of connected auto APs: 0

Total number of connected common APs: 1

Total number of connected WTUs: 0

Total number of inside APs: 0

Maximum supported APs: 50

Remaining APs: 49

Total AP licenses: 50

Local AP licenses: 50

Server AP licenses: 0

Remaining local AP licenses: 49

Sync AP licenses: 0 

 

                               AP information                                

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

         C = Config,     DC = DataCheck,  R  = Run   M = Master,  B = Backup

 

AP name                        APID  State Model           Serial ID

ap1                            1     R     WA536-WW        219801A1NQ8183E00007

Table 1 Command output

Field

Description

Total number of connected common APs

Total number of connected fit APs.

Total number of inside APs

Total number of connected inside APs. Inside APs are manual APs that are automatically created when anchor APs act as ACs. The name and the serial ID of an inside AP are the local MAC address and local serial ID, respectively.

Maximum supported APs

Maximum number of APs supported by the AC.

Total AP licenses

Total number of AP licenses.

Local AP licenses

Number of AP licenses installed on the AC.

Server AP licenses

This field is not supported in the current software version.

Number of AP licenses requested from the license server.

Remaining local AP licenses

Number of unused AP licenses installed on the AC.

Sync AP licenses

This field is not supported in the current software version.

Number of synchronized AP licenses.

APID

ID of the AP to uniquely identify the AP on the AC.

State

Current state of the AP:

·     I—Idle.

·     J—Join.

·     JA—Join acknowledge.

·     IL—The AP is downloading the image file.

·     C—The AP is downloading initial configurations.

·     DC—The AP is checking data.

·     R—The CAPWAP tunnel is operating. It indicates that the AP and the AC have established a CAPWAP tunnel.

·     R/M—The master CAPWAP tunnel is operating. It indicates that the AP and the master AC have established a CAPWAP tunnel.

·     R/B—The backup CAPWAP tunnel is operating. It indicates that the AP and the backup AC have established a CAPWAP tunnel.

·     M—The AP is connected to the master AC.

·     B—The AP is connected to the backup AC.

·     R/IL—The CAPWAP tunnel is operating and the AP is downloading the image file.

Serial ID

Serial ID of the AP. This field displays Not configured if the serial ID of the AP is not configured.

# Display detailed information about AP ap1.

<Sysname> display wlan ap name ap1 verbose

AP name                       : ap1

AP ID                         : 1

AP group name                 : default-group

State                         : Run

Backup type                   : Master

Online time                   : 0 days 1 hours 25 minutes 12 seconds

System uptime                 : 0 days 2 hours 22 minutes 12 seconds

Model                         : WA536-WW

Region code                   : CN

Region code lock              : Disable

Serial ID                     : 219801A1NQ8183E00007

MAC address                   : 0AFB-423B-893C

IP address                    : 192.168.1.50

UDP control port number       : 18313

UDP data port number          : N/A

H/W version                   : Ver.C

S/W version                   : E2321

Boot version                  : 1.01

USB state                     : N/A

Power level                   : N/A

Power info                    : N/A

Description                   : wtp1

Priority                      : 4

Echo interval                 : 10 seconds

Echo count                    : 3 counts

Keepalive interval            : 10 seconds

Discovery-response wait-time  : 2 seconds

Statistics report interval    : 50 seconds

Fragment size (data)          : 1500

Fragment size (control)       : 1450

MAC type                      : Local MAC & Split MAC

Tunnel mode                   : Local Bridging & 802.3 Frame & Native Frame

CWPCAP data-tunnel status     : Down

Discovery type                : Static Configuration

Retransmission count          : 3

Retransmission interval       : 5 seconds

Firmware upgrade              : Enabled

Sent control packets          : 1

Received control packets      : 1

Echo requests                 : 147

Lost echo responses           : 0

Average echo delay            : 3

Last reboot reason            : User soft reboot

Latest IP address             : 10.1.0.2

Current AC IP                 : 192.168.1.1

Tunnel down reason            : Request wait timer expired

Connection count              : 1

Backup IPv4                   : Not configured

Backup IPv6                   : Not configured

Ctrl-tunnel encryption        : Disabled

Ctrl-tunnel encryption state  : Not encrypted

Data-tunnel encryption        : Disabled

Data-tunnel encryption state  : Not encrypted

LED mode                      : Normal

Remote configuration          : Enabled

EnergySaving Level            :0

AP type                       : Unknown

Radio 1:

    Basic BSSID               : 7848-59f6-3940

    State                     : Up

    Type                      : 802.11ac

    Antenna type              : internal

    Client dot11ac-only       : Disabled

    Client dot11n-only        : Disabled

    Channel bandwidth         : 20/40/80MHz

    Operating bandwidth       : 20/40/80MHz

    Secondary channel mode    : SCA

    Short GI for 20MHz        : Supported

    Short GI for 40MHz        : Supported

    Short GI for 80MHz        : Supported

    Short GI for 160MHz       : Not supported

    MIMO                      : Not Config

    Green-Energy-Management   : Disabled

    A-MSDU                    : Enabled

    A-MPDU                    : Enabled

    LDPC                      : Not Supported

    STBC                      : Supported

    Operational VHT-MCS Set:

        Mandatory             : Not configured

        Supported             : NSS1 0,1,2,3,4,5,6,7,8,9

                                NSS2 0,1,2,3,4,5,6,7,8,9

        Multicast             : Not configured

    Operational HT MCS Set:

        Mandatory             : Not configured

        Supported             : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,

                                10, 11, 12, 13, 14, 15

        Multicast             : Not configured

    Channel                   : 36(auto)

    Channel usage(%)          : 0

    Max power                 : 16 dBm

    Operational rate:

        Mandatory             : 6, 12, 24 Mbps

        Multicast             : Auto

        Supported             : 9, 18, 36, 48, 54 Mbps

        Disabled              : Not configured

    Distance                  : 1 km

    ANI                       : Enabled

    Fragmentation threshold   : 2346 bytes

    Beacon interval           : 100 TU

    Protection threshold      : 2346 bytes

    Long retry threshold      : 4

    Short retry threshold     : 7

    Frame aging time in cache : 2000 ms

    Noise Floor               : 5 dBm

    Protection mode           : cts-to-self

    MU-TxBF                   : Enabled

    SU-TxBF                   : Enabled

    Continuous mode           : N/A

    HT protection mode        : No protection

Radio 2:

    Basic BSSID               : 7848-59f6-3950

    State                     : Up

    Type                      : 802.11ac

    Antenna type              : internal

    Client dot11aconly        : Disabled

    Client dot11n-only        : Disabled

    Channel bandwidth         : 20/40/80MHz

    Operating bandwidth       : 20/40/80MHz

    Secondary channel mode    : SCA

    Short GI for 20MHz        : Supported

    Short GI for 40MHz        : Supported

    Short GI for 80MHz        : Supported

    Short GI for 160MHz       : Not supported

    MIMO                      : Not Config

    Green-Energy-Management   : Disabled

   A-MSDU                     : Enabled

   A-MPDU                     : Enabled

    LDPC                      : Supported

    STBC                      : Supported

    Operational VHT-MCS set:

        Mandatory             : Not configured

        Supported             : NSS1 0,1,2,3,4,5,6,7,8,9

                                NSS2 0,1,2,3,4,5,6,7,8,9

        Multicast             : Not configured

    Operational HT MCS set:

        Mandatory             : Not configured

        Supported             : 0,1,2,3,4,5,6,7,8,9

                                10,11,12,13,14,15

        Multicast             : Not configured

    Channel                   : 149(auto)

    Channel usage(%)          : 0

    Max power                 : 20 dBm

    Operational rate:

        Mandatory             : 6, 12, 24 Mbps

        Multicast             : Auto

        Supported             : 9, 18, 36, 48, 54 Mbps

        Disabled              : Not configured

    Distance                  : 1 km

    ANI                       : Enabled

    Fragmentation threshold   : 2346 bytes

    Beacon interval           : 100 TU

    Protection threshold      : 2346 bytes

    Long retry threshold      : 4

    Short retry threshold     : 7

    Frame aging time in cache : 2000 ms

    Noise Floor               : 0 dBm

    MU-TxBF                   : Enabled

    SU-TxBF                   : Enabled

    Protection mode           : rts-cts

    Continuous mode           : N/A

    HT protection mode        : No protection

Radio 3:

    BSSID                     : 9ce8-95a5-7720

    State                     : Down

    Type                      : 802.11n(2.4GHz)

    Antenna type              : internal

    Client dot11n-only        : Disabled

    Channel bandwidth         : 20MHz

    Operating bandwidth       : 20MHz

    Secondary channel mode    : SCN

    Short GI for 20MHz        : Supported

    Short GI for 40MHz        : Supported

    MIMO                      : Not Config

    Green-Energy-Management   : Disabled

    A-MSDU                    : Enabled

    A-MPDU                    : Enabled

    LDPC                      : Supported

    STBC                      : Supported

    Operational HT MCS set:

        Mandatory             : Not configured

        Supported             : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,

                                10, 11, 12, 13, 14, 15

        Multicast             : Not configured

    Channel                   : 11(auto)

    Channel usage(%)          : 0

    Max power                 : 13 dBm

    Preamble type             : Short

    Operational rate:

        Mandatory             : 1, 2, 5.5, 11 Mbps

        Multicast             : Auto

        Supported             : 6, 9, 12, 18, 24, 36, 48, 54 Mbps

        Disabled              : Not configured

    Distance                  : 1 km

    ANI                       : Enabled

    Fragmentation threshold   : 2346 bytes

    Beacon interval           : 100 TU

    Protection threshold      : 2346 bytes

    Long retry threshold      : 4

    Short retry threshold     : 7

    Frame aging time in cache : 2000 ms

    Noise floor               : 0 dBm

    Protection mode           : cts-to-self

    Continuous mode           : N/A

    HT protection mode        : No protection

Table 2 Command output

Field

Description

State

Current state of the AP:

·     Idle—Idle.

·     Join—Join.

·     JoinAck—Join acknowledge.

·     Image—The AP is downloading the version.

·     Config—The AP is downloading initial configurations.

·     Data Check—The AP is checking data.

·     Run—The CAPWAP tunnel is operating. It indicates that the AP and the AC have established a CAPWAP tunnel.

·     R/M—The master CAPWAP tunnel is operating. It indicates that the AP and the master AC have established a CAPWAP tunnel.

·     R/B—The backup CAPWAP tunnel is operating. It indicates that the AP and the backup AC have established a CAPWAP tunnel.

·     M—The AP is connected to the master AC.

·     B—The AP is connected to the backup AC.

Backup type

CAPWAP tunnel type:

·     Idle—The AP has not established a CAPWAP tunnel with the AC.

·     Master—The CAPWAP tunnel established between the AP and the master AC.

·     Backup—The CAPWAP tunnel established between the AP and the backup AC.

Region code lock

·     Enabled.

·     Disabled.

Serial ID

Serial ID of the AP. If no serial ID is configured, this field displays Not configured.

MAC address

MAC address of the AP. If no MAC address is configured, this field displays Not configured.

UDP control port number

Port number used by the AP to establish the CAPWAP control tunnel.

UDP data port number

Port number used by the AP to establish the CAPWAP data tunnel.

H/W version

Hardware version of the AP.

S/W version

Software version of the AP.

USB state

USB state:

·     Enabled.

·     Disabled.

This field displays N/A if no USB state information is available.

Power level

Power level:

·     Low.

·     Middle.

·     High.

This field displays N/A if the power level is unknown.

Support for this field depends on the AP model.

Power info

Power supply information.

·     Power adapter—The AP uses local power supply.

·     PoE (port1+port2)—The AP uses PoE power supply. The port1 and port2 arguments represent the power supply status of PoE+ ports.

¡     N/A.

¡     802.3af.

¡     802.3at.

Support for this field depends on the AP model.

AP type

AP type:

·     Unknown—This field displays Unknown before the AP comes online.

·     Fat AP.

·     Normal AP.

PoE status

PoE power supply state for each PI:

·     Enabled.

·     Disabled.

Support for this field depends on the AP model.

Description

Description for the AP. If no description is configured, this field displays Not configured.

Priority

AP connection priority for the AC.

Echo interval

Interval for an AP to send echo requests to the AC.

Echo count

Maximum number of echo request transmission attempts.

Keepalive interval

Interval for an AP to send keepalive packets through the CAPWAP data tunnel.

Discovery-response wait-time

Discovery-response timeout timer.

Statistics report interval

Interval for an AP to send statistics reports to the AC.

Fragment size (data)

Maximum fragment size for CAPWAP data packets.

Fragment size (control)

Maximum fragment size for CAPWAP control packets.

MAC type

MAC type of the AP-AC connection:

·     Local MAC—The AP encapsulates frames in 802.3 format before sending them to the AC.

·     Split MAC—The AP encapsulates frames in 802.11 format before sending them to the AC.

·     Local & Split MAC—The AP can encapsulate frames in either 802.3 format or 802.11 format before sending them to the AC.

Tunnel mode

Supported tunnel mode of the AP:

·     Local Bridging—The AP supports local bridging and does not forward data to the AC.

·     802.3 Frame—The AP encapsulates the frames in 802.3 format to send them to the AC.

·     Native Frame—The AP encapsulates the frames in 802.11 format to send them to the AC.

·     Local Bridging & 802.3 Frame—The AP supports the Local Bridging mode and the 802.3 Frame mode.

·     802.3 Frame & Native Frame—The AP supports the 802.3 Frame mode and the Native Frame mode.

·     Local Bridging & Native Frame—The AP supports the Local Bridging mode and the Native Frame mode.

CWPCAP data-tunnel status

Running status of the CAPWAP data tunnel:

·     Up.

·     Down.

Discovery type

Discovery type of the AP:

·     Static Configuration—The AP uses the manually configured IPv4 or IPv6 address of the AC.

·     DHCP—The AP gets the IP address of an AC through DHCP.

·     DNS—The AP gets the IP address of an AC through DNS.

·     Unknown.

Retransmission count

Number of retransmission attempts for an AC request.

Retransmission interval

Interval at which AC requests can be retransmitted.

Firmware upgrade

AP software upgrade:

·     Enabled.

·     Disabled.

Sent control packets

Number of sent packets, including Change State Event Response packets after the AC enters Run state. .

Received control packets

Number of received packets, including Change State Event Response packets after the AC enters Run state.

Echo requests

Number of echo requests sent by the AP in RUN state.

Lost echo responses

Number of echo responses not received by the AP in RUN state.

Average echo delay

Average echo delay in milliseconds.

Last reboot reason

Last reboot reason for the AP:

·     Power on.

·     Hard reboot.

·     Watchdog reboot.

·     Unknown reboot.

·     User soft reboot.

·     Kernel exception soft reboot.

·     Kernel deadloop soft reboot.

·     Auto update soft reboot.

·     Unknown soft reboot.

·     Memory exhausted.

·     Other unknown soft reboot.

Latest IP address

IP address that was most recently used by the AP.

Current AC IP

IP address of the AC that is associated with the AP.

Tunnel down reason

CAPWAP tunnel down reason:

·     Failed to create timer.

·     Neighbor dead timer expired.

·     Request wait timer expired.

·     Data check timer expired.

·     Failed to process data channel keep-alive message.

·     Failed to process request.

·     AP was reset.

·     AP was deleted.

·     Failed to come online.

·     Serial number changed.

·     MAC address changed.

·     Number of APs exceeded the limit.

·     Processed join request in Run state.

·     Failed to create AP context.

·     Received failure result code.

·     Failed to retransmit message.

·     Failed to download image file.

·     Image file downloaded successfully.

·     File operation timer expired.

·     Failed to add tunnel.

·     Received WTP tunnel down event from AP.

·     Backup AC closed the backup tunnel.

·     Master and backup tunnel switchover.

·     Failed to inherit configuration.

·     AP authentication failed.

·     Encryption status mismatch.

·     AP was reset due to inconsistent local and reported radio statistics.

·     AP was reset due to inconsistent AP state on APMGR and lib.

·     AP was reset due to inconsistent BSS state on AC and AP.

This field displays N/A if the CAPWAP tunnel did not go down.

Connection count

Number of times that the AP connects to the AC. It is cleared in either one of the following cases:

·     The AC reboots.

·     The serial ID of the AP changes.

The reset wlan ap command does not clear the connection count.

Backup IPv4

IPv4 address of the backup AC. If no backup AC is specified, this field displays Not configured.

Backup IPv6

IPv6 address of the backup AC. If no backup AC is specified, this field displays Not configured.

Ctrl-tunnel encryption

CAPWAP control tunnel encryption:

·     Enabled.

·     Disabled.

Ctrl-tunnel encryption state

CAPWAP control tunnel encryption state:

·     Encrypted.

·     Not encrypted.

Data-tunnel encryption

CAPWAP data tunnel encryption:

·     Enabled.

·     Disabled.

Data-tunnel encryption state

CAPWAP data tunnel encryption state:

·     Encrypted.

·     Not encrypted.

LED mode

LED lighting mode:

·     quiet—All LEDs are off.

·     awake—All LEDs flash once every minute.

·     always-on—All LEDs are steady on.

·     normal—How LEDs flash in this mode varies by AP model.

Remote configuration

Remote configuration assignment:

·     Enabled.

·     Disabled.

EnergySaving Level

Energy saving level:

·     0—Energy saving disabled.

·     1—Level 1.

·     2—Level 2.

Basic BSSID

MAC address of the radio. This field displays N/A if the AP has not established a CAPWAP tunnel with the AC.

Admin state

Radio state:

·     Up.

·     Down.

Radio type

Wireless mode:

·     5 GHz:

¡     802.11a.

¡     802.11n(5GHz).

¡     802.11ac.

¡     802.11ax.

·     2.4 GHz:

¡     802.11b.

¡     802.11g.

¡     802.11n(2.4GHz).

¡     802.11gac.

Client dot11ax-only

·     Disabled—Allows 802.11a/b/g/n clients to associate with the radio.

·     Enabled—Allows only 802.11ax clients to associate with the radio.

Client dot11ac-only

·     Disabled—Allows 802.11a/b/g/n/ac clients to associate with the radio.

·     Enabled—Allows only 802.11ac clients to associate with the radio.

Client dot11n-only

·     Disabled—Allows 802.11a/b/g/n/ac clients to associate with the radio.

·     Enabled—Allows only 802.11n or 802.11ac clients to associate with the radio.

Channel bandwidth

Channel bandwidth mode:

·     20 MHz.

·     20 or 40 MHz.

·     20/40/80 MHz.

·     20/40/80/160MHz.

·     20/40/80/160/(80+80)MHz.

Operating bandwidth

Bandwidth being used by the radio.

This field displays (auto switch) if automatic bandwidth switching between 20 MHz and 40 MHz is enabled.

Secondary channel mode

Secondary channel information for the 802.11n and 802.11ac radio mode:

·     SCA (Second Channel Above)—The AP operates in 40 MHz bandwidth mode, and the secondary channel is above the primary channel.

·     SCB (Second Channel Below)—The AP operates in 40 MHz bandwidth mode, and the secondary channel is below the primary channel.

·     SCN—The AP does not operate in 40 MHz bandwidth mode.

This field is available only when the bandwidth that the radio is using is 20/40/80MHz.

Secondary channel center frequency

Center frequency information about the 80 MHz bandwidth of the secondary channel when the radio operates in 802.11ac radio mode with a channel bandwidth of 160/(80+80)MHz.

This field is available only when the bandwidth that the radio is using is 160/(80+80)MHz.

Short GI for 20MHz

Whether the radio supports short GI when it operates in 20 MHz mode.

Short GI for 40MHz

Whether the radio supports short GI when it operates in 40 MHz mode.

Short GI for 80MHz

Whether the radio supports short GI when it operates in 80 MHz mode.

Short GI for 160MHz

Whether the radio supports short GI when it operates in 160 MHz mode.

MIMO

MIMO mode:

·     1x1—The radio sends and receives signals through one spatial stream.

·     2x2—The radio sends and receives signals through two spatial streams.

·     3x3—The radio sends and receives signals through three spatial streams.

·     4x4—The radio sends and receives signals through four spatial streams.

·     Not configured—The radio sends and receives signals through the maximum number of spatial streams supported by the radio.

If this field also displays (PowerLow) after any value option to indicate low power level, the radio can send and receive signals only through one spatial stream.

Green-Energy-Management

Energy-saving:

·     Disabled.

·     Enabled.

A-MSDU

·     Disabled.

·     Enabled.

A-MPDU

·     Disabled.

·     Enabled.

LDPC

·     Supported.

·     Not supported.

STBC

·     Supported.

·     Not supported.

Operational HE-MCS Set

·     Supported—Supported HE MCS set.

·     Mandatory—Mandatory HE MCS set.

·     Multicast—Multicast HE MCS set.

Operational VHT MCS Set

·     Supported—Supported VHT MCS set.

·     Mandatory—Mandatory VHT MCS set.

·     Multicast—Multicast VHT MCS set.

Operational HT MCS Set

·     Supported—Supported HT MCS set.

·     Mandatory—Mandatory HT MCS set.

·     Multicast—Multicast HT MCS set.

Channel

This field displays Number<auto> if the current channel is the optimal channel automatically selected by the AP.

This field displays Number if the current channel is manually configured.

This field displays Number<avoid radar> if the current channel is automatically selected by the AP to avoid radar signals.

Max power

Maximum transmission power of the radio.

Preamble type

Preamble type:

·     Short.

·     Long.

Operational rate

·     Mandatory.

·     Supported.

·     Multicast.

·     Disabled.

·     Not configured.

Distance

Maximum distance that the radio signal can reach.

ANI

·     Enabled.

·     Disabled.

Protection threshold

Frame length threshold required for triggering the protection mechanism.

Long retry threshold

Maximum number of retransmission attempts for frames whose length exceeds the RTS threshold.

Short retry threshold

Maximum number of retransmission attempts for frames whose length is below the RTS threshold.

Maximum rx duration

Maximum buffer duration for frames.

Protection mode

Conflict avoidance mode:

·     cts-to-self.

·     rts-cts.

Continuous mode

Continuous mode configuration:

·     Rate.

·     MCS index.

·     NSS index.

·     VHT-MCS index.

This field displays N/A if the continuous mode is not configured.

HT protection mode

802.11n protection mode:

·     No protection.

¡     AP-associated clients and nearby wireless devices are operating in 802.11n mode and AP-associated clients are 802.11n clients with a bandwidth of 40 MHz.

¡     AP-associated clients are 802.11n clients with a bandwidth of 20 MHz.

·     Non-member protection.
In this mode, all AP-associated clients are 802.11n clients but some nearby wireless devices are non-802.11n clients.

·     20 MHz protection.
In this mode, the AP's radio has a bandwidth of 40 MHz. AP-associated clients and nearby wireless devices are operating in 802.11n mode and a minimum of one 802.11n client with a bandwidth of 20 MHz is associated with the AP's radio.

·     Non-HT mixed.
The mode applies when none of the above mentioned modes can apply.

MU-TxBF

·     Enabled.

·     Disabled.

Support for this field depends on the AP model.

SU-TxBF

·     Enabled.

·     Disabled.

Support for this field depends on the AP model.

display wlan ap address

Use display wlan ap address to display AP address information.

Syntax

display wlan ap { all | name ap-name } address

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Display address information for all APs.

<Sysname> display wlan ap all address

Total number of APs: 1

Total number of connected APs: 1

Total number of connected manual APs: 1

Total number of connected auto APs: 0

Total number of inside APs: 0

AP name                          IP address                     MAC address

ap1                              1.1.1.5                        000b-6b8f-fc6a

Table 3 Command output

Field

Description

Total number of APs

Total number of fit APs.

Total number of connected APs

Total number of connected fit APs.

Total number of connected manual APs

Total number of connected manual fit APs.

Total number of connected auto APs

Total number of connected auto fit APs.

Total number of inside APs

Total number of connected inside APs. Inside APs are manual APs that are automatically created when anchor APs act as ACs. The name and the serial ID of an inside AP are the local MAC address and local serial ID, respectively.

IP address

IP address of an AP.

This field displays N/A for an offline AP.

MAC address

MAC address of an AP.

This field displays N/A for an offline AP.

display wlan ap all feature capwap

Use display wlan ap all feature capwap to display configuration status of CAPWAP tunnel features.

Syntax

display wlan ap all feature capwap

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display configuration status of CAPWAP tunnel features.

<Sysname> display wlan ap all feature capwap

AP name                       Upgrade   Encryption  Control-address   Switch-back

ap1                           Disabled  Both        Enabled           Disabled

Table 4 Command output

Field

Description

Upgrade

AP software upgrade:

·     Enabled.

·     Disabled.

Encryption

CAPWAP tunnel encryption:

·     Control—Control tunnel encryption is enabled.

·     Data—Data tunnel encryption is enabled.

·     Both—Encryption is enabled for both control and data tunnels.

·     Disabled—Encryption is disabled for both control and data tunnels.

Control-address

This field is not supported in the current software version.

AC rediscovery:

·     Enabled.

·     Disabled.

Switch-back

This field is not supported in the current software version.

The CAPWAP tunnel switch-back feature for AC hierarchy:

·     Horizontal.

·     Vertical.

·     Disabled.

·     Both.

display wlan ap connection-record

Use display wlan ap connection-record to display AP connection records on the AC.

Syntax

display wlan ap { all | name ap-name } connection-record

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Display all AP connection records on an AC.

<Sysname> display wlan ap all connection-record

AP name                         IP address      State     Time

ap2                             192.168.100.27  Run       01-06 09:06:40

Table 5 Command output

Field

Description

State

Current state of the AP:

·     Discovery—AC discovery.

·     Join—The CAPWAP tunnel is being established.

·     Offline—Offline.

·     Run—The CAPWAP tunnel is operating. It indicates that the AP and the AC have established a CAPWAP tunnel successfully.

Time

Most recent time when the AP established a CAPWAP tunnel with the AC.

display wlan ap description

Use display wlan ap description to display AP descriptions on the AC.

Syntax

display wlan ap { all | name ap-name } description

Views

System view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Usage guidelines

This command displays descriptions only for manual APs. The description for an auto AP is Not configured.

Examples

# Display AP descriptions on the AC.

<Sysname> display wlan ap all description

AP information

AP name                       AP ID  Description

ap1                            1      Not configured

Table 6 Command description

Field

Description

AP ID

AP ID, a unique identifier of an AP on the AC.

Description

AP description.

This field displays Not configured for auto APs or manual APs that are not configured with any description.

display wlan ap group

Use display wlan ap group to display AP groups to which the specified APs belong.

Syntax

display wlan ap { all | name ap-name } group

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Display AP groups for all APs.

<Sysname> display wlan ap all group

Total number of APs: 1

Total number of connected APs: 1

Total number of connected manual APs: 0

Total number of connected auto APs: 0

Total number of connected common APs: 0

Total number of connected WTUs: 0

Total number of inside APs: 1

Maximum supported APs: 50

Remaining APs: 50

Total AP licenses: 50

Local AP licenses: 50

Server AP licenses: 0

Remaining local AP licenses: 50

Sync AP licenses: 0

 

                                 AP information

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

         C= Config,     DC= DataCheck,  R= Run   M= Master,  B= Backup

 

AP name                        APID  State Model           AP group name

ap1                            1     R     WA536-WW     default-group

Table 7 Command output

Field

Description

Total number of APs

Total number of fit APs.

Total number of connected APs

Total number of connected fit APs.

Total number of connected manual APs

Total number of connected manual fit APs.

Total number of connected auto APs

Total number of connected auto fit APs.

Total number of connected common APs

Total number of connected fit APs.

Total number of inside APs

Total number of connected inside APs. Inside APs are manual APs that are automatically created when anchor APs act as ACs. The name and the serial ID of an inside AP are the local MAC address and local serial ID, respectively.

Maximum supported APs

Maximum number of fit APs supported by the AC.

Total AP licenses

Total number of AP licenses.

local AP licenses

Number of AP licenses installed on the AC.

Server AP licenses

This field is not supported in the current software version.

Number of AP licenses requested from the license server.

Remaining local AP licenses

Number of unused AP licenses installed on the AC.

Sync AP licenses

This field is not supported in the current software version.

Number of synchronized AP licenses.

APID

ID of the AP to uniquely identify the AP on the AC.

State

Current state of the AP:

·     I—Idle.

·     J—Join.

·     JA—Join acknowledge.

·     IL—The AP is downloading the version.

·     C—The AP is downloading initial configurations.

·     DC—The AP is checking data.

·     R—The CAPWAP tunnel is operating. It indicates that the AP and the AC have established a CAPWAP tunnel.

·     R/M—The master CAPWAP tunnel is operating. It indicates that the AP and the master AC have established a CAPWAP tunnel.

·     R/B—The backup CAPWAP tunnel is operating. It indicates that the AP and the backup AC have established a CAPWAP tunnel.

·     M—The AP is connected to the master AC.

·     B—The AP is connected to the backup AC.

Model

AP model

AP group name

Name of the AP group to which the AP belongs.

display wlan ap online-time

Use display wlan ap online-time to display the online duration for APs.

Syntax

display wlan ap { all | name ap-name } online-time

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Display online duration for all APs.

<Sysname> display wlan ap all online-time

AP name            IP address               Time

ap1                1.1.1.2                  0 days 0 hours 2 minutes 6 seconds

ap2                1.1.1.1                  0 days 0 hours 5 minutes 6 seconds

ap3                1.1.1.6                  0 days 0 hours 2 minutes 1 seconds

Table 8 Command output

Field

Description

IP address

IP address of an AP.

Time

Realtime association duration of an AP since the AP came online.

display wlan ap reboot-log

Use display wlan ap reboot-log to display reboot logs for an AP.

Syntax

display wlan ap name ap-name reboot-log

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Usage guidelines

If the AP has suffered a system crash, you can use this command to view detailed information about the crash.

To use this command, make sure the specified AP is in Run state.

Examples

# Display reboot logs for AP ap1.

<Sysname> display wlan ap name ap1 reboot-log

Debugging information is not available on the AC.

Downloading debugging data from AP. Continue? [Y/N]:y

Downloading debugging data. Please wait...

Please enter the same command again to view the log messages.

 

<Sysname>dis wlan ap name ap1 reboot-log

--------------------- Reboot record 1 ---------------------

Recorded at           : 2018-07-20  03:29:43.324529

Occurred at           : 2018-07-20  03:29:43.324529

Reason                : 0x8

Thread                : devd (TID: 50)

Context               : thread context

Cpu                   : 0

Kernel module info    : module name (system) module address (0xd145a000)

                        module name (addon) module address (0xd00d5000)

Last 5 thread switches : WDRVFwdKthread (3:29:43.323999)-->

                         swapper (3:29:43.324011)-->

                         WDRVFwdKthread (3:29:43.324467)-->

                         swapper (3:29:43.324478)-->

                         devd (3:29:43.324502)-->

Related commands

reset wlan ap reboot-log

display wlan ap region-code

Use display wlan ap region-code to display region code information for all APs or the specified AP.

Syntax

display wlan ap { all | name ap-name } region-code

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Display region code information for all APs.

<Sysname> display wlan ap all region-code

Region Code

AP name                         Region Code

ap1                             CN  CHINA

ap2                             CN  CHINA

ap3                             CN  CHINA

Table 9 Command output

Field

Description

Region Code

Region code. For more information about region codes, see Table 19.

display wlan ap running-configuration

Use display wlan ap running-configuration to display running configuration for the specified AP or all APs.

Syntax

display wlan ap { all | name ap-name } running-configuration [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

verbose: Displays detailed running configuration.

Examples

# Display detailed running configuration for all APs.

<Sysname> display wlan ap all running-configuration verbose

(i) -- Inherited from AP group

(g) -- Inherited from AP global-configuration

 

#

wlan ap ap1 model WA536-WW id 5

  ap group name 1

  serial-id 219801A1NQ8183E00007

  region code CN (g)

  echo interval 10 (i)

  echo count 3 (i)

  keepalive interval 10 (i)

  retransmission count 3 (i)

  retransmission interval 5 (i)

  statistics interval 50 (i)

  fragment-size data 1500 (i)

  fragment-size control 1450 (i)

  tunnel-preempt disable (g)

  firmware-upgrade disable (g)

  priority 4 (i)

 

  radio 1

    radio type 802.11ac (i)

    radio disable (i)

    channel auto<64> (i)

    channel unlock (i)

    fragment-threshold 2346 (i)

    max-power 20 (i)

    power unlock (i)

    distance 1 kilometer (i)

    ANI Enabled (i)

 

  radio 2

    radio type 802.11n(2.4GHz) (i)

    radio disable (i)

    channel auto<11> (i)

    channel unlock (i)

    fragment-threshold 2346 (i)

    max-power 20 (i)

    power unlock (i)

    distance 1 kilometer (i)

    ANI Enabled (i)

 

#

wlan ap ap2 model WA536-WW id 6

  ap group name 2

  serial-id 219801A1NQ8183E00008

  region code CN (g)

  echo interval 10 (i)

  echo count 3 (i)

  keepalive interval 10 (i)

  retransmission count 3 (i)

  retransmission interval 5 (i)

  statistics interval 50 (i)

  fragment-size data 1500 (i)

  fragment-size control 1450 (i)

  tunnel-preempt disable (g)

  firmware-upgrade disable (g)

  priority 4 (i)

 

  radio 1

    radio type 802.11ac (i)

    radio disable (i)

    channel auto<60> (i)

    channel unlock (i)

    fragment-threshold 2346 (i)

    max-power 20 (i)

    power unlock (i)

    distance 1 kilometer (i)

    ANI Enabled (i)

 

  radio 2

    radio type 802.11n(2.4GHz) (i)

    radio disable (i)

    channel auto<13> (i)

    channel unlock (i)

    fragment-threshold 2346 (i)

    max-power 20 (i)

    power unlock (i)

    distance 1 kilometer (i)

    ANI Enabled (i)

display wlan ap statistics association-failure-record

Use display wlan ap statistics association-failure-record to display association failure records for APs.

Syntax

display wlan ap statistics association-failure-record

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display association failure records for APs.

<Sysname> display wlan ap statistics association-failure-record

MAC address    AP ID Last failed at   Reason

9a48-45ed-0300 12312 07-07/15:56:25   AP authentication failed

Table 10 Command output

Field

Description

MAC address

MAC address of an AP.

AP ID

ID of an AP, which uniquely identifies the AP on the AC.

Last failed at

Last time an AP associated with the AC. The format is date/hh:mm:ss.

Reason

Association failure reason:

·     Failed to create data check timer.

·     Memory is not enough.

·     The AP model doesn't exist.

·     Lack of AP license.

·     MAC address conflict.

·     Failed to add APLB.

·     AP chose another AC.

·     Reached AC max capability.

·     Received join request in Run state.

·     APLB check failed.

·     Rejected AP access in HA smooth.

·     AP authentication failed.

·     Failed to create auto AP.

·     The AP information has already existed.

·     Failed to download AP image file.

·     Timer for waiting change state event request expired.

·     Time for waiting  image data request or configuration request expired.

·     Received failure result code in change state event request.

·     Failed to add tunnel.

·     AP configuration was not found.

·     Inconsistent AP IDs.

·     Failed to send query message.

·     Open image file timer expired.

display wlan ap statistics image-download

Use display wlan ap statistics image-download to display AP image downloading information.

Syntax

display wlan ap statistics image-download [ failed | in-progress | succeeded ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

failed: Displays APs that have failed to download the images.

in-progress: Displays APs that are downloading images.

succeeded: Displays APs that have successfully downloaded images.

Usage guidelines

If you do not specify any keyword, the command displays brief information about AP image downloading.

Examples

# Display brief information about AP image downloading.

<Sysname> display wlan ap statistics image-download

Completed : 50%

Time consumed : xxd hh:mm:ss

AP count:

 Total to download : 300

 Succeeded : 152

 In-progress : 140

 Failed : 8

Table 11 Command output

Field

Description

Completed

Percentage of APs that have completed image downloading.

Time consumed

Time that has been consumed for image downloading.

Total to download

Total number of APs that need to be updated.

Succeeded

Number of APs that have successfully downloaded images.

In-progress

Number of APs that are downloading images.

Failed

Number of APs that have failed to download images.

# Display APs that are downloading images.

<Sysname> display wlan ap statistics image-download in-progress

AP name                       Time consumed

ap6                                xxd 00:45:11

ap7                                N/A

ap8                                xxd 00:14:05

ap9                                xxd 01:16:09

....

------More----

Table 12 Command output

Field

Description

Time consumed

Time that has been consumed for image downloading. This field displays N/A if the AP has not started image downloading.

# Display APs that have failed to download images.

<Sysname> display wlan ap statistics image-download failed

AP name                     Failure reason

ap1                         Tunnel down

ap2                         AP memory not enough

ap3                         Image file does not exist

ap5                         Others

....

------More----

Table 13 Command output

Field

Description

Time consumed

Failure reason:

·     Tunnel down.

·     AP memory not enough.

·     Image file does not exist.

·     Retransmission failed.

·     Others.

# Display APs that have downloaded images successfully.

<Sysname> display wlan ap statistics image-download succeeded

AP name                     Version

ap1                         R5220

ap2                         R5220

ap3                         R5220

ap5                         R5220

....

------More----

display wlan ap statistics online-record

Use display wlan ap statistics online-record to display online AP quantity records.

Syntax

display wlan ap statistics online-record [ datetime date time [ count count ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

datetime date time: Specifies the start time to display online AP quantity records. The date argument represents the date in the YYYY/MM/DD or the MM/DD/YYYY format. The value range for YYYY is 2000 to 2035. The value range for MM is 1 to 12. The value range for DD varies by month. The time argument represents the time in the hh:mm format. The value range for hh is 0 to 23. The value range for mm is 0 to 59. If you do not specify this option, the command displays all statistics about online AP quantity over the past 7 days in descending order of time.

count count: Specifies the number of online AP quantity records to be displayed, in the range of 1 to 256. If you do not specify this option, 10 online AP quantity records are displayed.

Usage guidelines

The online AP quantity records are displayed one by one at intervals of 1 minute. This command supports displaying records generated only over the past 7 days. If a time is specified, this command displays the specified number of online AP quantity records generated after the specified time point.

Examples

# Display 11 online AP quantity records generated after 2017/10/11 10:16.

<Sysname> display wlan ap statistics online-record datetime 2017/10/11 10:16 count 11

Time                    Manual APs       Auto APs        Total        Total delta

2017-10-11 10:16:00     20               10              30           -2

2017-10-11 10:17:00     22               10              32           +6

2017-10-11 10:18:00     16               10              26           0

2017-10-11 10:19:00     16               10              26           0

2017-10-11 10:20:00     16               10              26           0

2017-10-11 10:21:00     16               10              26           0

2017-10-11 10:22:00     16               10              26           0

2017-10-11 10:23:00     16               10              26           0

2017-10-11 10:24:00     16               10              26           0

2017-10-11 10:25:00     16               10              26           0

2017-10-11 10:26:00     16               10              26           0

Table 14 Command output

Field

Description

Time

Date and time when the record was generated.

Manual APs

Number of online manual APs.

Auto APs

Number of online auto APs.

Total

Total number of online APs.

Total delta

Quantity change in comparison with the last minute.

display wlan ap statistics tunnel-down-record

Use display wlan ap statistics tunnel-down-record to display CAPWAP tunnel down records.

Syntax

display wlan ap statistics tunnel-down-record

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display CAPWAP tunnel down records.

<Sysname> display wlan ap statistics tunnel-down-record

AP name                             AP ID  Tunnel down at        Tunnel down reason

9a48-45ed-0300                      123    07-07/15:56:25        Processed join request

                                                                in Run state

Table 15 Command output

Field

Description

AP name

Name of an AP.

AP ID

ID of an AP, which uniquely identifies the AP on the AC.

Tunnel down at

Time when the CAPWAP tunnel between an AP and the AC went down. The format is date/hh:mm:ss.

Tunnel down reason

CAPWAP tunnel down reason:

·     Failed to create data check timer.

·     Neighbor dead timer expired.

·     Request wait timer expired.

·     Data check timer expired.

·     Failed to process data channel keep-alive message.

·     Failed to process request.

·     AP was reset by admin

·     AP was reset by Web.

·     AP was reset from OASIS.

·     Manual AP was deleted.

·     Failed to come online.

·     Serial ID changed.

·     MAC address changed.

·     Exceeded AC max capability.

·     Processed join request in Run state.

·     Unauthenticated AP tunnel down.

·     Failed to create AP context.

·     Received failure result code in change state event request.

·     Failed to retransmit message.

·     Failed to download image file.

·     Image file downloaded successfully.

·     File operation timer expired.

·     Failed to add tunnel.

·     Received WTP tunnel down event from AP.

·     Backup AC closed the backup tunnel.

·     Master and backup tunnel switchover.

·     Failed to inherit configuration.

·     AP authentication failed.

·     Backup AP upgrade failed.

·     Board is inactive.

·     WT went offline.

·     Lack of AP license.

·     Encryption status mismatch.

display wlan ap tunnel latency

Use display wlan ap tunnel latency to display tunnel latency information for an AP.

Syntax

display wlan ap name ap-name tunnel latency

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Usage guidelines

Make sure CAPWAP tunnel latency detection is enabled before you execute this command.

Examples

# Display tunnel latency information for AP ap1.

<Sysname> display wlan ap name ap1 tunnel latency

AP name                              : ap1

Tunnel Latency                       : Enabled

Control Link Delay:

  Current Delay                      : 1ms

  Maximum Delay                      : 1ms

  Minimum Delay                      : 1ms

Data Link Delay:

  Current Delay                      : 1ms

  Maximum Delay                      : 1ms

  Minimum Delay                      : 1ms

Table 16 Command output

Field

Description

Tunnel Latency

·     Disabled.

·     Enabled.

Current Delay

The most recent delay.

Related commands

reset wlan tunnel latency ap

tunnel latency-detect

display wlan ap-distribution

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

Syntax

display wlan ap-distribution all

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display distribution information for all APs.

<Sysname> display wlan ap-distribution all

Slot               : 1

Total number of APs: 1

AP name            : 722a-d561-0301

display wlan ap-distribution ap-name

Use display wlan ap-distribution ap-name to display the attachment location of an AP.

Syntax

display wlan ap-distribution ap-name ap-name

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Display the attachment location of AP ap1.

<Sysname> display wlan ap-distribution ap-name ap1

The AP is attached to slot 0.

display wlan ap-group

Use display wlan ap-group to display information about all AP groups or the specified AP group.

Syntax

display wlan ap-group [ brief | name group-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

brief: Displays brief information about all AP groups.

name group-name: Displays detailed information about the specified AP group. The group-name argument represents the name of an AP group, a case-insensitive string of 1 to 31 characters.

Usage guidelines

If you do not specify any parameter, this command displays detailed information about all AP groups.

Examples

# Display detailed information about all AP groups.

[Sysname] display wlan ap-group

Total number of AP groups: 2

AP group name       : default-group

Description         : Not configured

AP model            : Not configured

APs                 : Not configured

 

AP group name       : group1

Description         : abcd

AP model            : WA536-WW

AP grouping rules:

  AP name           : ap1, ap2

  Serial ID         : 219801A1NQ8183E00007

  MAC address       : 0AFB-423B-893C

  IPv4 address      : Not configured

  IPv6 address      : Not configured

APs                 : ap1 (AP name)

# Display detailed information about AP group group1.

[Sysname] display wlan ap-group group1

AP group name       : group1

Description         : Not configured

AP model            : WA536-WW

AP grouping rules:

  AP name           : ap1, ap2

  Serial ID         : 219801A1NQ8183E00007

  MAC address       : 0AFB-423B-893C

  IPv4 address      : Not configured

  IPv6 address      : Not configured

APs                 : ap1 (AP name)

# Display brief information about all AP groups.

<Sysname> display wlan ap-group brief

Total number of AP groups: 4

AP group name                  Group ID  Member APs   Online APs

default-group                  1         1            0

group1                         2         2006         1986

group2                         3         10           10

group3                         4         4            4

Related commands

wlan ap-group

display wlan ap-model

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

Syntax

display wlan ap-model { all | name model-name }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Specifies all AP models.

name model-name: Specifies an AP model by its name.

Examples

# Display information about AP model WA536-WW.

<Sysname> display wlan ap-model name WA536-WW

AP model        : WA536-WW

Alias           : WA536-WW

Vendor name     : H3C

Vendor ID       : 25506

License weight  : 100

License type    : 1

Radio count     : 2

Radio 1:

  Mode         : 802.11a, 802.11an, 802.11ac

  Default mode : 802.11ac

  BSS count    : 16

 Radio 2:

  Mode         : 802.11a, 802.11an, 802.11ac

  Default mode : 802.11ac

  BSS count    : 16

 Radio 3:

  Mode         : 802.11b, 802.11g, 802.11gn, 802.11gac

  Default mode : 802.11gn

  BSS count    :16

Version Support List :

Hardware Version Ver.A:

  Software Version         : R2206P02

  Default Software Version : R2206P02

  Image Name               : wa5300.ipe

 Hardware Version Ver.B:

  Software Version         : R2206P02

  Default Software Version : R2206P02

  Image Name               : wa5300.ipe

 Hardware Version Ver.C:

  Software Version         : R2206P02

  Default Software Version : R2206P02

  Image Name               : wa5300.ipe

 Hardware Version Ver.D:

  Software Version         : R2206P02

  Default Software Version : R2206P02

  Image Name               : wa5300.ipe

 Hardware Version Ver.E:

  Software Version         : R2206P02

  Default Software Version : R2206P02

  Image Name               : wa5300.ipe

 Hardware Version Ver.F:

  Software Version         : R2206P02

  Default Software Version : R2206P02

  Image Name               : wa5300.ipe

display wlan device role

Use display wlan device role to display the WLAN device role.

Syntax

display wlan device role

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the role of the WLAN device.

<Sysname> display wlan device role

Current device role: Local AC.

Table 17 Command output

Field

Description

Current device role

Current device role. Options include:

·     AC.

·     Anchor AC.

·     FIT AP.

·     Anchor AP.

display wlan license

Use display wlan license to display the number of installed WLAN licenses.

Syntax

display wlan license

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the number of installed WLAN licenses.

<Sysname> display wlan license

Installed common AP licenses : 50

Installed WTU licenses       : 0

Table 18 Command output

Field

Description

Installed common AP licenses

Number of installed common AP licenses.

Installed WTU licenses

This field is not supported in the current software version.

Number of installed WTU licenses.

download file

Use download file to download an image file to an AP.

Syntax

download file filename

Views

AP view

Predefined user roles

network-admin

Parameters

filename: Specifies an image file by its name, a string of 1 to 255 characters.

Usage guidelines

This feature takes effect only on the master AC after a CAPWAP tunnel is established in WLAN high availability networking. For more information about WLAN high availability, see "Configuring WLAN high availability."

Examples

# Download image file main.ipe to AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan–ap-ap1] download file main.ipe

echo-count

Use echo-count to set the maximum number of echo request transmission attempts.

Use undo echo-interval to restore the default.

Syntax

echo-count count

undo echo-count

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the maximum number of echo request transmission attempts is 3.

 Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

count: Specifies the maximum number of echo request transmission attempts in the range of 3 to 255.

Usage guidelines

An AP sends echo requests to the AC at the specified echo intervals to identify whether the CAPWAP control tunnel is operating correctly. The AC responds by sending echo responses. If the AP does not receive any echo responses before the keepalive timer expires, the AP terminates the connection. If the AC does not receive any echo requests before the keepalive timer expires, the AC terminates the connection. The keepalive timer is the echo interval multiplied by the maximum number of echo request transmission attempts.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the maximum number of echo request transmission attempts to 5 for AP ap3.

<Sysname> system-view

[Sysname] wlan ap ap3 model WA536-WW

[Sysname-wlan-ap-ap3] echo-count 5

# Set the maximum number of echo request transmission attempts to 5 for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] echo-count 5

echo-interval

Use echo-interval to set the interval for an AP to send echo requests to the AC.

Use undo echo-interval to restore the default.

Syntax

echo-interval interval

undo echo-interval

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the interval for an AP to send echo requests is 10 seconds.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

interval: Specifies the interval for sending echo requests, in seconds. The value can be 0 or in the range of 5 to 255.

Usage guidelines

CAUTION

CAUTION:

Setting the echo interval to 0 seconds disables an AP from sending echo requests. This setting is for test use only. For correct AC and AP communication, do not set the echo interval to 0 seconds.

An AP sends echo requests to the AC at the specified echo intervals to identify whether the CAPWAP control tunnel is operating correctly. If the AP does not receive any echo responses from the AC before the keepalive timer expires, the AP terminates the connection. If the AC does not receive any echo requests before the keepalive times expires, the AC terminates the connection. The keepalive timer is the echo interval multiplied by the maximum number of echo request transmission attempts set by using the echo-count count command.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the echo interval for AP ap3 to 15 seconds.

<Sysname> system-view

[Sysname] wlan ap ap3 model WA536-WW

[Sysname-wlan-ap-ap3] echo-interval 15

# Set the echo interval for APs in AP group group1 to 15 seconds.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] echo-interval 15

firmware-upgrade

Use firmware-upgrade enable to enable the software upgrade feature.

Use firmware-upgrade disable to disable the software upgrade feature.

Use undo firmware-upgrade to restore the default.

Syntax

firmware-upgrade { disable | enable }

undo firmware-upgrade

Default

In AP view, an AP uses the configuration in AP group view. If no software upgrade configuration exists in AP group view, the AP uses the configuration in global configuration view.

In AP group view, an AP uses the configuration in global configuration view.

In global configuration view, the software upgrade feature is enabled.

Views

AP view

AP group view

Global configuration view

Predefined user roles

network-admin

Usage guidelines

This feature enables the AC to examine whether an AP's software version matches the hardware version and software version mappings stored on the AC during CAPWAP tunnel establishment.

·     If a match is found, the AC establishes a CAPWAP tunnel with the AP.

·     If no match is found, the CAPWAP tunnel establishment proceeds as follows:

a.     The AC notifies the AP of software version inconsistency.

b.     After receiving the notification, the AP requests the software version from the AC, upgrades the software, and then establishes a CAPWAP tunnel with the AC.

When this feature is disabled, the AC does not examine the software version of an AP and establishes a CAPWAP tunnel with the AP.

The configuration in AP view takes precedence over the configuration in AP group view. The configuration in AP group view takes precedence over the configuration in global configuration view.

Examples

# Enable the software upgrade feature for AP ap3.

<Sysname> system-view

[Sysname] wlan ap ap3 model WA536-WW

[Sysname-wlan-ap-ap3] firmware-upgrade enable

# Enable the software upgrade feature for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] firmware-upgrade enable

# Enable the software upgrade feature globally.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration] firmware-upgrade enable

Related commands

wlan apdb

fragment-size

Use fragment-size to set the maximum fragment size for CAPWAP control or data packets.

Use undo fragment-size to remove the configuration.

Syntax

fragment-size { control control-size | data data-size }

undo fragment-size { control | data }

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the maximum fragment size for CAPWAP control packets and data packets is 1450 bytes and 1500 bytes, respectively.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

control control-size: Specifies the maximum fragment size for CAPWAP control packets in bytes. The value range for the control-size argument is 1000 to 1450.

data data-size: Specifies the maximum fragment size for CAPWAP data packets in bytes. The value range for the control-size argument is 1000 to 1748.

Usage guidelines

This command prevents packets between AC and AP from being dropped by intermediate devices if the AP connects to the AC across the Internet.

Any maximum fragment size modification takes effect immediately on online APs.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the maximum fragment size for CAPWAP data packets to 1500 bytes for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-ap-ap1] fragment-size data 1500

# Set the maximum fragment size for CAPWAP data packets to 1500 bytes for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] fragment-size data 1500

gateway information report

Use gateway information report enable to enable APs to report gateway information to the AC.

Use gateway information report disable to disable APs from reporting gateway information to the AC.

Use undo gateway information report to restore the default.

Syntax

gateway information report { disable | enable }

undo gateway information report

Default

APs do not report gateway information to the AC.

Views

Global configuration view

Predefined user roles

network-admin

Usage guidelines

When you perform dynamic-static IP address conversion for APs from IMC, the system converts IP addresses of APs obtained through DHCP to static IP addresses. However, the default gateway and AC addresses are not retained for the APs. If such an AP goes offline, it cannot come online again.

To solve this issue, enable gateway information reporting to enable APs to report their gateway information to the AC.

Examples

# Enable APs to report gateway information to the AC.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration] gateway information report enable

gigabitethernet

 

NOTE:

Support for this command depends on the AP model.

Use gigabitethernet to enter the GigabitEthernet interface view of an AP.

Syntax

gigabitethernet interface-number

Views

AP view

AP group's AP model view

Predefined user roles

network-admin

Parameters

interface-number: Specifies an interface number.

Examples

# Enter the interface view of GigabitEthernet 1 from AP view.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1]

# Enter the interface view of GigabitEthernet 1 from the AP model view of AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] ap-model WA536-WW

[Sysname-wlan-ap-group-group1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-group1-ap-model-WA536-WW-gigabitethernet-1]

hybrid-remote-ap

Use hybrid-remote-ap enable to enable remote AP.

Use hybrid-remote-ap disable to disable remote AP.

Use undo hybrid-remote-ap to restore the default.

Syntax

hybrid-remote-ap { disable | enable }

undo hybrid-remote-ap

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, remote AP is disabled.

Views

AP view

AP group view

Predefined user roles

network-admin

Usage guidelines

By default, an AP stops providing services after the tunnel between the AP and the associated AC is disconnected. This command enables the AP to act as a remote AP to still provide services.

This command takes effect only on an AP that operates in local forwarding mode.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Enable remote AP for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] hybrid-remote-ap enable

# Enable remote AP for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] hybrid-remote-ap enable

if-match ip

Use if-match ip to create an AP grouping rule by IPv4 addresses.

Use undo if-match ip to delete AP grouping rules by IPv4 addresses.

Syntax

if-match ip ip-address { mask-length | mask }

undo if-match ip [ ip-address { mask-length | mask } ]

Default

No AP grouping rules by IPv4 addresses exist.

Views

AP group view

Predefined user roles

network-admin

Parameters

ip-address: Specifies an IPv4 address in dotted decimal notation.

mask-length: Specifies the mask length in the range of 1 to 31.

mask: Specifies the mask in dotted decimal notation.

Usage guidelines

You cannot execute this command in the view of the default AP group.

AP grouping rules by IPv4 addresses for an AP group or for different AP groups cannot overlap with each other.

An AP group supports a maximum of 32 AP grouping rules by IPv4 addresses.

The priorities of AP grouping rules by AP names, serial IDs, MAC addresses, and IP addresses are in descending order. If an AP does not match any grouping rules, it is added to the default AP group.

You can create AP grouping rules by both IPv4 addresses and IPv6 addresses for an AP group.

If you do not specify any argument in the undo form of the command, the command deletes all AP grouping rules by IPv4 addresses.

Examples

# Add APs whose IP address belongs to 192.168.0.0/16 to AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-ap-group-group1] if-match ip 192.168.0.0 16

if-match ipv6

Use if-match ipv6 to create an AP grouping rule by IPv6 addresses.

Use undo if-match ipv6 to delete AP grouping rules by IPv6 addresses.

Syntax

if-match ipv6 { ipv6-address prefix-length | ipv6-address/prefix-length }

undo if-match ip [ ipv6-address prefix-length | ipv6-address/prefix-length ]

Default

No AP grouping rules by IPv6 addresses exist.

Views

AP group view

Predefined user roles

network-admin

Parameters

ipv6-address: Specifies an IPv6 address.

prefix-length: Specifies the IPv6 address prefix length in the range of 1 to 128.

Usage guidelines

You cannot execute this command in the view of the default AP group.

AP grouping rules by IPv6 addresses for an AP group or for different AP groups cannot overlap with each other.

An AP group supports a maximum of 32 AP grouping rules by IPv6 addresses.

The priorities of AP grouping rules by AP names, serial IDs, MAC addresses, and IP addresses are in descending order. If an AP does not match any grouping rules, it is added to the default AP group.

You can create AP grouping rules by both IPv4 addresses and IPv6 addresses for an AP group.

If you do not specify any argument in the undo form of the command, the command deletes all AP grouping rules by IPv6 addresses.

Examples

# Add APs whose IPv6 address belongs to 2001:DB0::/28 to AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-ap-group-group1] if-match ipv6 2001:DB8:: 28

keepalive-interval

Use keepalive-interval to set the data tunnel keepalive interval.

Use undo keepalive-interval to restore the default.

Syntax

keepalive-interval interval

undo keepalive-interval

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the data tunnel keepalive interval is 10 seconds.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

interval: Specifies the interval for an AP to send keepalive packets over the CAPWAP data tunnel. The value range is 1 to 255 seconds.

Examples

# Set the data tunnel keepalive interval for AP ap1 to 15 seconds.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] keepalive-interval 15

# Set the data tunnel keepalive interval for APs in AP group 1 to 15 seconds.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-ap-group-1] keepalive-interval 15

led-mode

Use led-mode to set a LED lighting mode.

Use undo led-mode to restore the default.

Syntax

led-mode { always-on | awake | normal | quiet }

undo led-mode

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the LED lighting mode is normal.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

always-on: Specifies the always-on mode. Support for this keyword depends on the AP model.

awake: Specifies the awake mode. Support for this keyword depends on the AP model.

normal: Specifies the normal mode. How LEDs flash in this mode varies by AP model.

quiet: Specifies the quiet mode.

Usage guidelines

If you set the LED lighting mode to awake or always-on in AP group view, the setting takes effect only on member APs that support the specified LED lighting mode.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the LED lighting mode to normal for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] led-mode normal

# Set the LED lighting mode to awake for APs in AP group ap1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] led-mode awake

link-aggregation mode

 

NOTE:

Support for this command depends on the AP model.

Use link-aggregation mode to set the aggregation mode of an aggregation group and set the LACP state.

Use undo link-aggregation mode to restore the default.

Syntax

link-aggregation mode { dynamic | static }

undo link-aggregation mode

Default

In an AP's Layer 2 aggregate interface view, the AP uses the configuration in an AP group's Layer 2 aggregate interface view.

In an AP group's Layer 2 aggregate interface view, an aggregation group operates in static aggregation mode.

Views

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

dynamic: Specifies the dynamic aggregation mode and enables LACP.

static: Specifies the static aggregation mode and disables LACP.

Usage guidelines

Aggregation mode change might cause Selected member ports to become Unselected. When you change the aggregation mode, make sure you understand the impact of the change on services.

The configuration will be synchronized to all online APs if remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Configure Layer 2 aggregation group 1 on AP ap1 to operate in dynamic aggregation mode.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1] link-aggregation mode dynamic

# Configure Layer 2 aggregation group 1 on APs in AP group group1 to operate in dynamic aggregation mode.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] link-aggregation mode dynamic

Related commands

remote-configuration

remote-configuration synchronize

mac-address (AP group view)

Use mac-address to create an AP grouping rule by MAC addresses.

Use undo mac-address to delete an AP grouping rule by MAC addresses.

Syntax

mac-address mac-address

undo mac-address mac-address

Default

No AP grouping rules by MAC addresses exist.

Views

AP group view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

This command does not identify whether the specified AP exists.

You can configure multiple AP grouping rules by MAC addresses.

The priorities of AP grouping rules by AP names, serial IDs, MAC addresses, and IP addresses are in descending order. If an AP does not match any grouping rules, it is added to the default AP group.

If the created AP grouping rule already exists in another AP group, this command deletes the rule from that AP group.

You cannot execute this command in the view of the default AP group.

Examples

# Create an AP grouping rule by MAC addresses for AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] mac-address 0AC1-F9B2-B1C2

Related commands

wlan ap-group

mac-address (AP view)

Use mac-address to assign a MAC address to an AP.

Use undo mac-address to restore the default.

Syntax

mac-address mac-address

undo mac-address

Default

No MAC address is assigned to an AP.

Views

AP view

Predefined user roles

network-admin

Parameters

mac-address: Specifies the MAC address in H-H-H format.

Usage guidelines

Changing or deleting the MAC address of an AP terminates the CAPWAP tunnel if the AP has established a CAPWAP tunnel with the AC. Then the AP will reestablish a CAPWAP tunnel with the AC.

Examples

# Assign the MAC address 0001-0000-0000 to AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] mac-address 0001-0000-0000

map-configuration

Use map-configuration to deploy a configuration file to an AP.

Use undo map-configuration to restore the default.

Syntax

map-configuration filename

undo map-configuration

Default

No configuration file is deployed to an AP.

Views

AP view

AP group's AP model view

Predefined user roles

network-admin

Parameters

filename: Specifies a configuration file by its name, a case-insensitive string of 1 to 63 characters.

Examples

# Deploy configuration file downconfig.txt to AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] map-configuration downconfig.txt

# Deploy configuration file downconfig.txt to APs with model WA536-WW in AP group apgroup1.

<Sysname> system-view

[Sysname] wlan ap-group apgroup1

[Sysname-wlan-ap-group-apgroup1] ap-model WA536-WW

[Sysname-wlan-ap-group-apgroup1-ap-model-WA536-WW] map-configuration downconfig.txt

poe port

 

NOTE:

Support for this command depends on the AP model.

Use poe port enable to enable PoE for power interfaces (PIs).

Use poe port disable to disable PoE for PIs.

Use undo poe port to restore the default.

Syntax

poe port port-number1 [ to port-number2 ] { disable | enable }

undo poe port port-number1 [ to port-number2 ]

Default

In AP view, an AP uses the configuration in an AP group's AP model view.

In an AP group's AP model view, PoE is disabled for PIs.

Views

AP view

AP group's AP model view

Predefined user roles

network-admin

Parameters

port-number1: Specifies a PI by its port number. The value range varies by AP model.

port-number1 to port-number2: Specifies a port range. The port-number1 argument represents the start port number, and the port-number2 argument represents the end port number. The end port number cannot be smaller than the start port number. The value range for a port number varies by AP model.

Examples

# Disable PoE for PI 3 of AP ap1 with AP model WA5330.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA5330

[Sysname-wlan-ap-ap1] poe port 3 disable

# Disable PoE for PI 3 of all APs with AP model WA5330 in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA5330

[Sysname-wlan-ap-group-1-ap-model-WA5330] poe port 3 disable

port-isolate enable

 

NOTE:

Support for this command depends on the AP model.

Use port-isolate enable to enable port isolation.

Use port-isolate disable to disable port isolation.

Use undo port-isolate to restore the default.

Syntax

port-isolate { enable | disable }

undo port-isolate

Default

In an AP's Layer 2 Ethernet interface view, the AP uses the configuration in an AP group's Layer 2 Ethernet interface view.

In an AP group's Layer 2 Ethernet interface view, port isolation is enabled.

In an AP's Layer 2 aggregate interface view, the AP uses the configuration in an AP group's Layer 2 aggregate interface view.

In an AP group's Layer 2 aggregate interface view, port isolation is enabled.

Views

AP's Layer 2 Ethernet interface view

AP group's Layer 2 Ethernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Usage guidelines

The configuration in Layer 2 Ethernet interface view applies only to the interface.

The configuration in Layer 2 aggregate interface view applies to the Layer 2 aggregate interface and its aggregation member ports. If the device fails to apply the configuration to the aggregate interface, it does not assign any aggregation member port to the isolation group. If the failure occurs on an aggregation member port, the device skips the port and continues to assign other aggregation member ports to the isolation group.

The configuration will be synchronized to all online APs if remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Enable port isolation for GigabitEthernet 1 of AP ap1.

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] port-isolate enable

# Enable port isolation for GigabitEthernet 1 of APs in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port-isolate enable

# Enable port isolation for Layer 2 aggregate interface Bridge-Aggregation 1 of AP ap1.

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port-isolate enable

# Enable port isolation for Layer 2 aggregate interface Bridge-Aggregation 1 of APs in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port-isolate enable

Related commands

remote-configuration

remote-configuration synchronize

port access vlan

 

NOTE:

Support for this command depends on the AP model.

Use port access vlan to assign an access port on an AP to the specified VLAN.

Use undo port access vlan to restore the default.

Syntax

port access vlan vlan-id

undo port access vlan

Default

In an AP's Layer 2 Ethernet interface view, an access port uses the configuration in an AP group's Layer 2 Ethernet interface view.

In an AP group's Layer 2 Ethernet interface view, all access ports on an AP belong to VLAN 1.

In an AP's Layer 2 aggregate interface view, an access port uses the configuration in an AP group's Layer 2 aggregate interface view.

In an AP group's Layer 2 aggregate interface view, all access ports on an AP belong to VLAN 1.

Views

AP's Layer 2 Ethernet interface view

AP group's Layer 2 Ethernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.

Usage guidelines

Before assigning an access port to a VLAN, make sure the VLAN has been created.

For this command to take effect on an AP, make sure the remote configuration assignment feature is enabled and remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Assign GigabitEthernet 1 to VLAN 3 in the Layer 2 Ethernet interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] port access vlan 3

# Assign GigabitEthernet 1 to VLAN 3 in the Layer 2 Ethernet interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port access vlan 3

# Assign aggregate interface 1 to VLAN 3 in the Layer 2 aggregate interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port access vlan 3

# Assign aggregate interface 1 to VLAN 3 in the Layer 2 aggregate interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port access vlan 3

Related commands

remote-configuration

remote-configuration synchronize

port hybrid pvid

 

NOTE:

Support for this command depends on the AP model.

Use port hybrid pvid to set the PVID of a hybrid port on an AP.

Use undo port hybrid pvid to set the PVID of a hybrid port on an AP to 1.

Syntax

port hybrid pvid vlan vlan-id

undo port hybrid pvid

Default

In an AP's Layer 2 Ethernet interface view, a hybrid port uses the configuration in an AP group's Layer 2 Ethernet interface view.

In an AP group's Layer 2 Ethernet interface view, the PVID of a hybrid port is the ID of the VLAN to which the port belongs when its link type is access.

In an AP's Layer 2 aggregate interface view, a hybrid port uses the configuration in an AP group's Layer 2 aggregate interface view.

In an AP group's Layer 2 aggregate interface view, the PVID of a hybrid port is 1.

Views

AP's Layer 2 Ethernet interface view

AP group's Layer 2 Ethernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.

Usage guidelines

You can use a nonexistent VLAN as the PVID of a hybrid port. When you delete the PVID of a hybrid port by using the undo vlan command, the PVID setting of the port does not change.

For correct packet transmission, set the same PVID for a hybrid port on an AP and the hybrid port on the switch connected to the AP.

To enable a hybrid port to transmit packets from its PVID, you must assign the hybrid port to the PVID by using the port hybrid vlan command.

For this command to take effect on an AP, make sure the remote configuration assignment feature is enabled and remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Configure GigabitEthernet 1 as a hybrid port, and set its PVID to 100 in Layer 2 Ethernet interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] port link-type hybrid

[Sysname-wlan-ap-ap1-gigabitethernet-1] port hybrid pvid vlan 100

# Configure GigabitEthernet 1 as a hybrid port, and set its PVID to 100 in Layer 2 Ethernet interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port link-type hybrid

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port hybrid pvid vlan 100

# Configure aggregate interface 1 as a hybrid port, and set its PVID to 100 in Layer 2 aggregate interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port link-type hybrid

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port hybrid pvid vlan 100

# Configure aggregate interface 1 as a hybrid port, and set its PVID to 100 in Layer 2 aggregate interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port link-type hybrid

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port hybrid pvid vlan 100

Related commands

port hybrid vlan

port link-type

remote-configuration

remote-configuration synchronize

port hybrid vlan

 

NOTE:

Support for this command depends on the AP model.

Use port hybrid vlan to assign a hybrid port to the specified VLANs.

Use undo port hybrid vlan to remove a hybrid port from the specified VLANs

Syntax

port hybrid vlan vlan-id-list { tagged | untagged }

undo port hybrid vlan vlan-id-list

Default

In an AP's Layer 2 Ethernet interface view, a hybrid port uses the configuration in an AP group's Layer 2 Ethernet interface view.

In an AP group's Layer 2 Ethernet interface view, a hybrid port does not allow packets from any VLAN to pass through.

In an AP's Layer 2 aggregate interface view, a hybrid port uses the configuration in an AP group's Layer 2 aggregate interface view.

In an AP group's Layer 2 aggregate interface view, a hybrid port does not allow packets from any VLAN to pass through.

Views

AP's Layer 2 Ethernet interface view

AP group's Layer 2 Ethernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN ID or a range of VLAN IDs in the form of vlan-id1 to vlan-id2. The value range for VLAN IDs is 1 to 4094. The value for the vlan-id2 argument cannot be lower than the value for the vlan-id1 argument. The specified VLANs must already exist on the device.

tagged: Configures the port as a tagged member of the specified VLANs. A tagged member of a VLAN sends packets from the VLAN without removing VLAN tags.

untagged: Configures the port as an untagged member of the specified VLANs. An untagged member of a VLAN sends packets from the VLAN after removing VLAN tags.

 Usage guidelines

A hybrid port can allow multiple VLANs. If you execute this command multiple times on a hybrid port, the hybrid port allows all the specified VLANs.

For this command to take effect on an AP, make sure the remote configuration assignment feature is enabled and remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Configure GigabitEthernet 1 as a hybrid port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 as a tagged member in Layer 2 Ethernet interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] port link-type hybrid

[Sysname-wlan-ap-ap1-gigabitethernet-1] port hybrid vlan 2 4 50 to 100 tagged

# Configure GigabitEthernet 1 as a hybrid port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 as a tagged member in Layer 2 Ethernet interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port link-type hybrid

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port hybrid vlan 2 4 50 to 100 tagged

# Configure aggregate interface 1 as a hybrid port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 as a tagged member in Layer 2 aggregate interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port link-type hybrid

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port hybrid vlan 2 4 50 to 100 tagged

# Configure aggregate interface 1 as a hybrid port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 as a tagged member in Layer 2 aggregate interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port link-type hybrid

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port hybrid vlan 2 4 50 to 100 tagged

Related commands

port link-type

remote-configuration

remote-configuration synchronize

port link-aggregation group

 

NOTE:

Support for this command depends on the AP model.

Use port link-aggregation group to assign an interface to an aggregation group.

Use undo port link-aggregation group to remove an interface from the aggregation group to which it belongs.

Syntax

port link-aggregation group group-id

undo port link-aggregation

Default

In an AP's Layer 2 Ethernet interface view, the AP uses the configuration in an AP group's Layer 2 Ethernet interface view.

In an AP group's Layer 2 Ethernet interface view, an interface does not belong to an aggregation group.

Views

AP's Layer 2 Ethernet interface view

AP group's Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

group-id: Specifies an aggregation group by its aggregate interface number. The value range for the argument varies by AP model.

Usage guidelines

A Layer 2 Ethernet interface can be assigned only to a Layer 2 aggregation group and an Ethernet interface can belong to only one aggregation group.

After joining an aggregation group, an interface inherits the settings configured for the group.

Before you execute this command, make sure the specified aggregation group already exists and the AP supports Layer 2 aggregate interfaces.

The configuration will be synchronized to all online APs if remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Assign interface GigabitEthernet 1 of AP ap1 to Layer 2 aggregation group 1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] port link-aggregation group 1

# Assign interface GigabitEthernet 1 of APs in AP group 1 to Layer 2 aggregation group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port link-aggregation group 1

Related commands

remote-configuration

remote-configuration synchronize

port link-type

 

NOTE:

Support for this command depends on the AP model.

Use port link-type to set the link type of an Ethernet port on an AP.

Use undo port link-type to restore the default.

Syntax

port link-type { access | hybrid | trunk }

undo port link-type

Default

In an AP's Layer 2 Ethernet interface view, a port uses the configuration in an AP group's Layer 2 Ethernet interface view.

In an AP group's Layer 2 Ethernet interface view, all ports are access ports.

In an AP's Layer 2 aggregate interface view, a port uses the configuration in an AP group's Layer 2 aggregate interface view.

In an AP group's Layer 2 aggregate interface view, all ports are access ports.

Views

AP's Layer 2 Ethernet interface view

AP group's Layer 2 Ethernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

access: Sets the port link type to access.

hybrid: Sets the port link type to hybrid.

trunk: Sets the port link type to trunk.

Usage guidelines

For this command to take effect on an AP, make sure the remote configuration assignment feature is enabled and remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Configure GigabitEthernet 1 as a trunk port in Layer 2 Ethernet interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] port link-type trunk

# Configure GigabitEthernet 1 as a trunk port in Layer 2 Ethernet interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port link-type trunk

# Configure aggregate interface 1 as a trunk port in Layer 2 aggregate interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port link-type trunk

# Configure aggregate interface 1 as a trunk port in Layer 2 aggregate interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port link-type trunk

Related commands

remote-configuration

port trunk permit vlan

 

NOTE:

Support for this command depends on the AP model.

Use port trunk permit vlan to assign a trunk port to the specified VLANs.

Use undo port trunk permit vlan to remove a trunk port from the specified VLANs.

Syntax

port trunk permit vlan { vlan-id-list | all }

undo port trunk permit vlan { vlan-id-list | all }

Default

In an AP's Layer 2 Ethernet interface view, a trunk port uses the configuration in an AP group's Layer 2 Ethernet interface view.

In an AP group's Layer 2 Ethernet interface view, a trunk port does not allow packets from any VLAN to pass through.

In an AP's Layer 2 aggregate interface view, a trunk port uses the configuration in an AP group's Layer 2 aggregate interface view.

In an AP group's Layer 2 aggregate interface view, a trunk port does not allow packets from any VLAN to pass through.

Views

AP's Layer 2 Ethernet interface view

AP group's Layer 2 Ethernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN ID or a range of VLAN IDs in the form of vlan-id1 to vlan-id2. The value range for VLAN IDs is 1 to 4094. The value for the vlan-id2 argument cannot be lower than the value for the vlan-id1 argument.

all: Specifies all VLANs.

Usage guidelines

A trunk port can allow multiple VLANs. If you execute this command multiple times on a trunk port, the trunk port allows all the specified VLANs.

On a trunk port, packets only from the PVID can pass through untagged.

To prevent unauthorized VLAN users from accessing restricted resources through the port, use the port trunk permit vlan all command with caution.

For this command to take effect on an AP, make sure the remote configuration assignment feature is enabled and remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Configure GigabitEthernet 1 as a trunk port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 in Layer 2 Ethernet interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] port link-type trunk

[Sysname-wlan-ap-ap1-gigabitethernet-1] port trunk permit vlan 2 4 50 to 100

# Configure GigabitEthernet 1 as a trunk port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 in Layer 2 Ethernet interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port link-type trunk

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port trunk permit vlan 2 4 50 to 100

# Configure aggregate interface 1 as a trunk port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 in Layer 2 aggregate interface view of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1]port link-type trunk

[Sysname-wlan-ap-ap1-bridge-aggregation-1]port trunk permit vlan 2 4 50 to 100

# Configure aggregate interface 1 as a trunk port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 in Layer 2 aggregate interface view of APs with model WA536-WW in AP group 1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port link-type trunk

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port trunk permit vlan 2 4 50 to 100

Related commands

port link-type

remote-configuration

remote-configuration synchronize

port trunk pvid

 

NOTE:

Support for this command depends on the AP model.

Use port trunk pvid to set the PVID for a trunk port on an AP.

Use undo port trunk pvid to restore the default.

Syntax

port trunk pvid vlan vlan-id

undo port trunk pvid

Default

In an AP's Layer 2 Ethernet interface view, a trunk port uses the configuration in an AP group's Layer 2 Ethernet interface view.

In an AP group's Layer 2 Ethernet interface view, the PVID of a trunk port is 1.

In an AP's Layer 2 aggregate interface view, a trunk port uses the configuration in an AP group's Layer 2 aggregate interface view.

In an AP group's Layer 2 aggregate interface view, the PVID of a trunk port is 1.

Views

AP's Layer 2 Ethernet interface view

AP group's Layer 2 Ethernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.

Usage guidelines

You can use a nonexistent VLAN as the PVID for a trunk port. When you delete the PVID of a trunk port by using the undo vlan command, the PVID setting of the port does not change.

For correct packet transmission, set the same PVID for a hybrid port on an AP and the hybrid port on the switch connected to the AP.

To enable a trunk port to transmit packets from its PVID, you must assign the trunk port to the PVID by using the port trunk permit vlan command.

For this command to take effect on an AP, make sure the remote configuration assignment feature is enabled and remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# In Layer 2 Ethernet interface view of AP ap1, configure GigabitEthernet 1 as a trunk port, set its PVID to 100, and assign it to VLAN 100.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] port link-type trunk

[Sysname-wlan-ap-ap1-gigabitethernet-1] port trunk pvid vlan 100

[Sysname-wlan-ap-ap1-gigabitethernet-1] port trunk permit vlan 100

# In an AP group's Layer 2 Ethernet interface view, configure GigabitEthernet 1 as a trunk port, set its PVID to 100, and assign it to VLAN 100.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port link-type trunk

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port trunk pvid vlan 100

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] port trunk permit vlan 100

# In Layer 2 aggregate interface view of AP ap1, configure aggregate interface 1 as a trunk port, set its PVID to 100, and assign it to VLAN 100.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] bridge-aggregation 1

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port link-type trunk

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port trunk pvid vlan 100

[Sysname-wlan-ap-ap1-bridge-aggregation-1] port trunk permit vlan 100

# In an AP group's Layer 2 aggregate interface view, configure aggregate interface 1 as a trunk port, set its PVID to 100, and assign it to VLAN 100.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port link-type trunk

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port trunk pvid vlan 100

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-bridge-aggregation-1] port trunk permit vlan 100

Related commands

port link-type

port trunk permit vlan

remote-configuration

remote-configuration synchronize

priority

Use priority to set the AP connection priority for the AC.

Use undo priority to restore the default.

Syntax

priority priority

undo priority

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the AP connection priority for the AC is 4.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

priority: Specifies the AP connection priority for the AC, in the range of 0 to 7. A larger value represents a higher connection priority.

Usage guidelines

The AP prefers to establish a CAPWAP tunnel with an AC that has higher connection priority.

The AP connection priority only takes effect during AC discovery.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the AP connection priority for the AC to 7 for AP ap3.

<Sysname> system-view

[Sysname] wlan ap ap3 model WA536-WW

[Sysname-wlan-ap-ap3] priority 7

# Set the AP connection priority for the AC to 7 for AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] priority 7

qos priority

 

NOTE:

Support for this command depends on the AP model.

Use qos priority to set the port priority.

Use undo qos priority to restore the default.

Syntax

qos priority priority-value

undo qos priority

Default

In an AP's GigabitEthernet interface view, the AP uses the configuration in AP group view.

In an AP group's GigabitEthernet interface view, the port priority is 0.

In an AP's Layer 2 aggregate interface view, the AP uses the configuration in AP group view.

In an AP group's Layer 2 aggregate interface view, the port priority is 0.

Views

AP's GigabitEthernet interface view

AP group's GigabitEthernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

priority-value: Specifies the port priority in the range of 0 to 7.

Usage guidelines

The configuration will be synchronized to all online APs only if remote configuration synchronization is activated. You can activate remote configuration synchronization by using the remote-configuration synchronize command.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the port priority to 2 in an AP's GigabitEthernet interface view.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] qos priority 2

# Set the port priority to 2 in an AP group's GigabitEthernet interface view.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] qos priority 2

# Set the port priority to 2 in an AP's Layer 2 aggregate interface view.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] interface bridge-aggregation 1 [Sysname-wlan-ap-ap1-Bridge-Aggregation1] qos priority 2

# Set the port priority to 2 in an AP group's Layer 2 aggregate interface view.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] interface bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-Bridge-Aggregation1] qos priority 2

Related commands

remote-configuration enable

remote-configuration synchronize

qos trust

 

NOTE:

Support for this command depends on the AP model.

Use qos trust to set the trusted packet priority type.

Use undo qos trust to restore the default.

Syntax

qos trust { dot1p | dscp }

undo qos trust

Default

In an AP's GigabitEthernet interface view, the AP uses the configuration in AP group view.

In an AP group's GigabitEthernet interface view, no trusted packet priority type is set.

In an AP's Layer 2 aggregate interface view, the AP uses the configuration in AP group view.

In an AP group's Layer 2 aggregate interface view, no trusted packet priority type is set.

Views

AP's GigabitEthernet interface view

AP group's GigabitEthernet interface view

AP's Layer 2 aggregate interface view

AP group's Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

dot1p: Uses the 802.1e priority carried in packets for priority mapping.

dscp: Uses the DSCP priority carried in packets for priority mapping.

Usage guidelines

The configuration will be synchronized to all online APs only if remote configuration synchronization is activated. You can activate remote configuration synchronization by using the remote-configuration synchronize command.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the trusted packet priority type to dot1p in an AP's GigabitEthernet interface view.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] gigabitethernet 1

[Sysname-wlan-ap-ap1-gigabitethernet-1] qos trust dot1p

# Set the trusted packet priority type to dot1p in an AP group's GigabitEthernet interface view.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] gigabitethernet 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-gigabitethernet-1] qos trust dot1p

# Set the trusted packet priority type to dot1p in an AP's Layer 2 aggregate interface view.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] interface bridge-aggregation 1 [Sysname-wlan-ap-ap1-Bridge-Aggregation1] qos trust dot1p

# Set the trusted packet priority type to dot1p in an AP group's Layer 2 aggregate interface view.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-1] ap-model WA536-WW

[Sysname-wlan-ap-group-1-ap-model-WA536-WW] interface bridge-aggregation 1

[Sysname-wlan-ap-group-1-ap-model-WA536-WW-Bridge-Aggregation1] qos trust dot1p

Related commands

remote-configuration enable

remote-configuration synchronize

region-code

Use region-code to specify a region code.

Use undo region-code to restore the default.

Syntax

region-code code

undo region-code

Default

In AP view, an AP uses the configuration in AP group view. If no region code is specified in AP group view, the AP uses the configuration in global configuration view.

In AP group view, an AP uses the configuration in global configuration view.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

code: Specifies a region code. For more information about region codes, see Table 19.

Table 19 Region code information

Country

Code

Country

Code

Andorra

AD

Korea, Republic of Korea

KR

United Arab Emirates

AE

Kenya

KE

Albania

AL

Kuwait

KW

Armenia

AM

Kazakhstan

KZ

Australia

AU

Lebanon

LB

Argentina

AR

Liechtenstein

LI

Australia

AT

Sri Lanka

LK

Azerbaijan

AZ

Lithuania

LT

Bosnia and Herzegovina

BA

Luxembourg

LU

Belgium

BE

Latvia

LV

Bulgaria

BG

Libyan

LY

Bahrain

BH

Morocco

MA

Brunei Darussalam

BN

Monaco

MC

Bolivia

BO

Moldova

MD

Brazil

BR

Macedonia

MK

Bahamas

BS

Macau

MO

Belarus

BY

Martinique

MQ

Belize

BZ

Malta

MT

Canada

CA

Mauritius

MU

Switzerland

CH

Mexico

MX

Cote d'ivoire

CI

Malay Archipelago

MY

Chile

CL

Namibia

NA

China

CN

Nigeria

NG

Colombia

CO

Nicaragua

NI

Costarica

CR

Netherlands

NL

Serbia

RS

Norway

NO

Cyprus

CY

New Zealand

NZ

Czech Republic

CZ

Oman

OM

Germany

DE

Panama

PA

Denmark

DK

Peru

PE

Dominica

DO

Poland

PL

Algeria

DZ

Philippines

PH

Ecuador

EC

Pakistan

PK

Estonia

EE

Puerto Rico

PR

Egypt

EG

Portugal

PT

Spain

ES

Paraguay

PY

Faroe Islands

FO

Qatar

QA

Finland

FI

Romania

RO

France

FR

Russian Federation

RU

Britain

GB

Saudi Arabia

SA

Georgia

GE

Sweden

SE

Gibraltar

GI

Singapore

SG

Greenland

GL

Slovenia

SI

Guadeloupe

GP

Slovak

SK

Greece

GR

San Marino

SM

Guatemala

GT

Salvador

SV

Guyana

GY

Syrian

SY

Honduras

HN

Thailand

TH

Hong Kong

HK

Tunisia

TN

Croatia

HR

Turkey

TR

Hungary

HU

Trinidad and Tobago

TT

Iceland

IS

, Province of China

TW

India

IN

Ukraine

UA

Indonesia

ID

United States of America

US

Ireland

IE

Uruguay

UY

Israel

IL

Uzbekistan

UZ

Iraq

IQ

The Vatican City State

VA

Italy

IT

Venezuela

VE

Iran

IR

Virgin Islands

VI

Jamaica

JM

Vietnam

VN

Jordan

JO

Yemen

YE

Japan

JP

South Africa

ZA

Democratic People's Republic of Korea

KP

Zimbabwe

ZW

Usage guidelines

A region code determines characteristics such as available frequencies, available channels, and transmit power level. Set a valid region code before configuring an AP.

The priorities for the configuration in AP view, AP group view, and global configuration view are in descending order.

Examples

# Specify US as the region code for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] region-code US

# Specify US as the region code for AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] region-code US

Related commands

region-code-lock

region-code (global configuration view)

Use region-code to specify a region code.

Syntax

region-code code

Default

The region code is CN.

Views

Global configuration view

Predefined user roles

network-admin

Parameters

code: Specifies a region code.

For more information about region codes, see Table 20.

Table 20 Region code information

Country

Code

Country

Code

Andorra

AD

Korea, Republic of Korea

KR

United Arab Emirates

AE

Kenya

KE

Albania

AL

Kuwait

KW

Armenia

AM

Kazakhstan

KZ

Australia

AU

Lebanon

LB

Argentina

AR

Liechtenstein

LI

Australia

AT

Sri Lanka

LK

Azerbaijan

AZ

Lithuania

LT

Bosnia and Herzegovina

BA

Luxembourg

LU

Belgium

BE

Latvia

LV

Bulgaria

BG

Libyan

LY

Bahrain

BH

Morocco

MA

Brunei Darussalam

BN

Monaco

MC

Bolivia

BO

Moldova

MD

Brazil

BR

Macedonia

MK

Bahamas

BS

Macau

MO

Belarus

BY

Martinique

MQ

Belize

BZ

Malta

MT

Canada

CA

Mauritius

MU

Switzerland

CH

Mexico

MX

Cote d'ivoire

CI

Malay Archipelago

MY

Chile

CL

Namibia

NA

China

CN

Nigeria

NG

Colombia

CO

Nicaragua

NI

Costarica

CR

Netherlands

NL

Serbia

RS

Norway

NO

Cyprus

CY

New Zealand

NZ

Czech Republic

CZ

Oman

OM

Germany

DE

Panama

PA

Denmark

DK

Peru

PE

Dominica

DO

Poland

PL

Algeria

DZ

Philippines

PH

Ecuador

EC

Pakistan

PK

Estonia

EE

Puerto Rico

PR

Egypt

EG

Portugal

PT

Spain

ES

Paraguay

PY

Faroe Islands

FO

Qatar

QA

Finland

FI

Romania

RO

France

FR

Russian Federation

RU

Britain

GB

Saudi Arabia

SA

Georgia

GE

Sweden

SE

Gibraltar

GI

Singapore

SG

Greenland

GL

Slovenia

SI

Guadeloupe

GP

Slovak

SK

Greece

GR

San Marino

SM

Guatemala

GT

Salvador

SV

Guyana

GY

Syrian

SY

Honduras

HN

Thailand

TH

Hong Kong

HK

Tunisia

TN

Croatia

HR

Turkey

TR

Hungary

HU

Trinidad and Tobago

TT

Iceland

IS

, Province of China

TW

India

IN

Ukraine

UA

Indonesia

ID

United States of America

US

Ireland

IE

Uruguay

UY

Israel

IL

Uzbekistan

UZ

Iraq

IQ

The Vatican City State

VA

Italy

IT

Venezuela

VE

Iran

IR

Virgin Islands

VI

Jamaica

JM

Vietnam

VN

Jordan

JO

Yemen

YE

Japan

JP

South Africa

ZA

Democratic People's Republic of Korea

KP

Zimbabwe

ZW

Usage guidelines

A region code determines characteristics such as available frequencies, available channels, and transmit power level. Set a valid region code before configuring an AP.

Examples

# Specify the global region code.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration] region-code US

Related commands

region-code-lock

region-code-ie

Use region-code-ie to include or exclude region codes in beacon frames and probe responses and specify the installation environment type.

Use undo region-code-ie to restore the default.

Syntax

region-code-ie { disable | enable { any | indoor | outdoor } }

undo region-code-ie

Default

Beacon frames and probe responses contain region codes and the installation environment type is any.

Views

Service template view

Predefined user roles

network-admin

Parameters

disable: Excludes region codes in beacon frames and probe responses.

enable: Includes region codes in beacon frames and probe responses.

any: Specifies APs that can be installed both indoors and outdoors.

indoor: Specifies APs that can only be installed indoors.

outdoor: Specifies APs that can only be installed outdoors.

Usage guidelines

If you bind different service templates to radios of an AP, make sure the service templates are specified with the same installation environment type.

Examples

# Include region codes in beacon frames and probe responses and specify the type of installation environment as indoor.

<Sysname> system-view

[Sysname] wlan service-template service1

[Sysname-wlan-st-service1] region-code-ie enable indoor

Related commands

region-code

region-code-lock

Use region-code-lock enable to lock the region code.

Use region-code-lock disable to unlock the region code.

Use undo region-code-lock to restore the default.

Syntax

region-code-lock { disable | enable }

undo region-code-lock

Default

In AP view, an AP uses the configuration in AP group view. If no configuration exists in AP group view, the AP uses the configuration in global configuration view.

In AP group view, an AP uses the configuration in global configuration view.

In global configuration view, the region code is not locked.

Views

AP view

AP group view

Global configuration view

Predefined user roles

network-admin

Parameters

A locked region code cannot be changed.

The region-code-lock enable command does not take effect on an AP if you execute this command without specifying a region code first in AP view. The AP's region code is determined by the region code configuration for the AP group to which the AP belongs, or by the global configuration. The same rule applies to an AP group in the same situation.

The priorities for the configuration in AP view, AP group view, and global configuration view are in descending order.

Examples

# Lock the region code for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] region-code-lock enable

# Lock the region code for AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] region-code-lock enable

# Lock the global region code.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration] region-code-lock enable

Related commands

region-code

remote-configuration

 

NOTE:

Support for this command depends on the AP model.

Use remote-configuration enable to enable the remote configuration assignment feature.

Use remote-configuration disable to disable the remote configuration assignment feature.

Use undo remote-configuration to restore the default.

Syntax

remote-configuration { disable | enable }

undo remote-configuration enable

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, remote configuration assignment is disabled.

Views

AP view

AP group view

Predefined user roles

network-admin

Usage guidelines

The AC will assign related VLAN settings to APs only when the remote configuration assignment feature is enabled.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Enable the remote configuration assignment feature for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] remote-configuration enable

# Enable the remote configuration assignment feature for AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] remote-configuration enable

remote-configuration synchronize

 

NOTE:

Support for this command depends on the AP model.

Use remote-configuration synchronize to activate remote configuration synchronization.

Syntax

remote-configuration synchronize

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, remote configuration synchronization is not activated.

Views

AP view

AP group view

Predefined user roles

network-admin

Usage guidelines

 

CAUTION

CAUTION:

This command clears all VLAN, link aggregation, and port settings (except for port isolation settings) on online APs and issues the settings on the AC to the APs. Please use it with caution.

This feature enables the AC to synchronize AP settings such as VLAN, link aggregation, and port isolation changes to online APs.

To update APs' configuration file or configure features that require a configuration file, you can use the map-configuration command to deploy a configuration file to APs. However, you must write related commands to the configuration file before deployment. This is time-consuming and is not applicable to a network with a large number of APs to deploy.

Make sure remote configuration assignment is enabled before you execute this command.

As a best practice, do not execute both this command and the map-configuration command on the AC. If you must use both of them on the AC, make sure the VLAN, link aggregation, and port isolation settings in the configuration file to be deployed do not conflict with the settings on the AC.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Activate remote configuration synchronization for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] remote-configuration synchronize

# Activate remote configuration synchronization for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] remote-configuration synchronize

Related commands

remote-configuration

reset wlan ap

Use reset wlan ap to reset all APs or the specified APs.

Syntax

reset wlan ap { all | ap-group group-name | model model-name | name ap-name | native }

Views

User view

Predefined user roles

network-admin

Parameters

all: Specifies all APs connected to the AC.

ap-group group-name: Specifies an AP group by its name, a case-insensitive string of 1 to 31 characters.

model model-name: Specifies an AP model by model name.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

native: Specifies all APs that have established CAPWAP tunnels with the AC.

Usage guidelines

This command terminates the CAPWAP tunnel between an AP and the AC and deletes all connection information about the AP.

Examples

# Reset the AP ap1.

<Sysname> reset wlan ap name ap1

Resetting the APs will terminate the CAPWAP tunnels with the AC. Continue? [Y/N]:

reset wlan ap connection-record

Use reset wlan ap connection-record to clear AP connection records on the AC.

Syntax

reset wlan ap { all | name ap-name } connection-record

Views

User view

Predefined user roles

network-admin

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Clear all the AP connection records on the AC.

<Sysname> reset wlan ap all connection-record

reset wlan ap reboot-log

Use reset wlan ap reboot-log to clear the reboot logs of all APs or the specified AP.

Syntax

reset wlan ap reboot-log { all | name ap-name }

Views

User view

Predefined user roles

network-admin

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Clear the reboot logs of AP ap1.

<Sysname> reset wlan ap reboot-log name ap1

Related commands

display wlan ap reboot-log

reset wlan tunnel latency ap

Use reset wlan tunnel latency ap to clear tunnel latency information for all APs or the specified AP.

Syntax

reset wlan tunnel latency ap { all | name ap-name }

Views

User view

Predefined user roles

network-admin

Parameters

all: Specifies all APs.

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Usage guidelines

This command takes effect only on APs that have established tunnels with the master AC and are in Run state.

Examples

# Clear tunnel latency information for AP ap1.

<Sysname> reset wlan tunnel latency ap name ap1

Related commands

display wlan ap tunnel latency

tunnel latency-detect

retransmit-count

Use retransmit-count to set the maximum number of AC request retransmission attempts.

Use undo retransmit-count to restore the default.

Syntax

retransmit-count value

undo retransmit-count

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the maximum number of AC request retransmission attempts is 3.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

value: Specifies the maximum number of AC request retransmission attempts, in the range of 2 to 5.

Usage guidelines

The AC sends a request to an AP at the retransmission interval until the maximum number of request retransmission attempts is reached or a response is received.

Requests sent by the AC to an AP include the following types:

·     Image Data Request.

·     Configuration Update Request.

·     Reset Request.

·     Data Transfer Request.

·     IEEE 802.11 WLAN Configuration Request.

·     Station Configuration Request.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the maximum number of AC request retransmission attempts to 4 for AP ap3.

<Sysname> system-view

[Sysname] wlan ap ap3 model WA536-WW

[Sysname-wlan-ap-ap3] retransmit-count 4

# Set the maximum number of AC request retransmission attempts to 4 for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] retransmit-count 4

Related commands

retransmit-interval

retransmit-interval

Use retransmit-interval to set the request retransmission interval for the AC to retransmit requests to an AP.

Use undo retransmit-interval to restore the default.

Syntax

retransmit-interval interval

undo retransmit-interval

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the request retransmission interval is 5 seconds.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

interval: Specifies the request retransmission interval in the range of 3 to 8 seconds.

Usage guidelines

The AC sends a request to an AP at the retransmission interval until the maximum number of request retransmission attempts is reached or a response is received.

Requests sent by the AC to an AP include the following types:

·     Image Data Request.

·     Configuration Update Request.

·     Reset Request.

·     Data Transfer Request.

·     IEEE 802.11 WLAN Configuration Request.

·     Station Configuration Request.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Set the request retransmission interval to 6 seconds for the AC to send requests to AP ap3.

<Sysname> system-view

[Sysname] wlan ap ap3 model WA536-WW

[Sysname-wlan-ap-ap3] retransmit-interval 6

# Set the request retransmission interval to 6 seconds for the AC to send requests to APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] retransmit-interval 6

Related commands

retransmit-count

serial-id (AP group view)

Use serial-id to create an AP grouping rule by serial IDs.

Use undo serial-id to delete an AP grouping rule by serial IDs.

Syntax

serial-id serial-id

undo serial-id serial-id

Default

No AP grouping rules by serial IDs exist.

Views

AP group view

Predefined user roles

network-admin

Parameters

serial-id: Specifies an AP serial ID, a case-insensitive string of 1 to 63 characters.

Usage guidelines

This command does not identify whether the specified AP exists.

You can configure multiple AP grouping rules by serial IDs.

The priorities of AP grouping rules by AP names, serial IDs, MAC addresses, and IP addresses are in descending order. If an AP does not match any grouping rules, it is added to the default AP group.

If the created AP grouping rule already exists in another AP group, this command deletes the rule from that AP group.

You cannot execute this command in the view of the default AP group.

Examples

# Create an AP grouping rule by serial IDs for AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] serial-id 210235A1BSC123000037

Related commands

wlan ap-group

serial-id (AP view)

Use serial-id to specify the serial ID for an AP.

Use undo serial-id to restore the default.

Syntax

serial-id serial-id

undo serial-id

Default

No serial ID is specified for an AP.

Views

AP view

Predefined user roles

network-admin

Parameters

serial-id: Specifies the serial ID for an AP, a case-insensitive string of 1 to 63 characters.

Usage guidelines

Changing or deleting the serial ID of an AP terminates the CAPWAP tunnel if the AP has established a CAPWAP tunnel with an AC. Then the AP will reestablish a CAPWAP tunnel with the AC.

Examples

# Set the serial ID of AP ap1 to 210235A1BSC123000050.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-ap-ap1] serial-id 210235A1BSC123000050

snmp-agent trap enable wlan ap

Use snmp-agent trap enable wlan ap to enable SNMP notifications for AP management.

Use undo snmp-agent trap enable wlan ap to disable SNMP notifications for AP management.

Syntax

snmp-agent trap enable wlan ap

undo snmp-agent trap enable wlan ap

Default

SNMP notifications are disabled for AP management.

Views

System view

Predefined user roles

network-admin

Usage guidelines

To report critical AP management events to an NMS, enable SNMP notifications for AP management. For AP management event notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see Network Management and Monitoring Configuration Guide.

Examples

# Enable SNMP notifications for AP management.

<Sysname> system-view

[Sysname] snmp-agent trap enable wlan ap

snmp-agent trap enable wlan capwap

Use snmp-agent trap enable wlan capwap to enable SNMP notifications for CAPWAP.

Use undo snmp-agent trap enable wlan capwap to disable SNMP notifications for CAPWAP.

Syntax

snmp-agent trap enable wlan capwap

undo snmp-agent trap enable wlan capwap

Default

SNMP notifications are disabled for CAPWAP.

Views

System view

Predefined user roles

network-admin

Usage guidelines

To report critical CAPWAP events to an NMS, enable SNMP notifications for CAPWAP. For CAPWAP event notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see Network Management and Monitoring Configuration Guide.

Examples

# Enable SNMP notifications for CAPWAP.

<Sysname> system-view

[Sysname] snmp-agent trap enable wlan capwap

statistics-interval

Use statistics-interval to set the statistics report interval for an AP to send statistics reports to the AC.

Use undo statistics-interval to restore the default.

Syntax

statistics-interval interval

undo statistics-interval

Default

In AP view, an AP uses the configuration in AP group view. If no configuration exists in AP group view, the AP uses the configuration in global configuration view.

In AP group view, an AP uses the configuration in global configuration view.

In global configuration view, the statistics report interval is 50 seconds.

Views

AP view

AP group view

Global configuration view

Predefined user roles

network-admin

Parameters

interval: Specifies the statistics report interval in the range of 0 to 240 seconds.

Usage guidelines

Execute this command to change the interval for an AP to report its statistics. You can use these statistics to monitor the operating status of radios on the AP.

To disable an AP from reporting radio statistics to the AC, set the statistics report interval to 0.

The configuration in AP view takes precedence over the configuration in AP group view. The configuration in AP group view takes precedence over the configuration in global configuration view

Examples

# Set the statistics reports interval to 10 seconds for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] statistics-interval 10

# Set the statistics reports interval to 10 seconds for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] statistics-interval 10

# Set the global statistics reports interval to 10 seconds.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration] statistics-interval 10

statistics-interval fast-report

Use statistics-interval fast-report to set the interval at which an AP fast reports specific statistics to the AC.

Use undo statistics-interval fast-report to restore the default.

Syntax

statistics-interval fast-report fast-report-interval

undo statistics-interval fast-report

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, the fast report interval is 0 seconds. An AP does not fast report statistics to the AC.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

fast-report-interval: Specifies the fast report interval in the range of 0 to 120 seconds.

Usage guidelines

Setting the interval to 0 disables an AP from fast reporting statistics to the AC.

APs can fast report only channel usage statistics to the AC.

Examples

# Set the fast report interval to 10 seconds for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] statistics-interval fast-report 10

# Set the fast report interval to 10 seconds for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] statistics-interval fast-report 10

Related commands

statistics-interval

tunnel encryption

Use tunnel encryption enable to enable CAPWAP control tunnel encryption.

Use tunnel encryption disable to disable CAPWAP control tunnel encryption.

Use undo tunnel encryption enable to restore the default.

Syntax

tunnel encryption { disable | enable }

undo tunnel encryption enable

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, CAPWAP control tunnel encryption is disabled.

Views

AP view

AP group view

Predefined user roles

network-admin

Usage guidelines

This feature will cause an AP to reassociate with the AC.

With this feature enabled, an AP performs a DTLS handshake and establishes a CAPWAP tunnel with the AC after receiving a discovery response with the encryption flag from the AC. Then, the AC and the AP encrypt control packets transmitted in the CAPWAP control tunnel after the DTLS handshake.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Enable CAPWAP control tunnel encryption for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] tunnel encryption enable

This operation will reconnect the AP. Continue? [Y/N]

# Enable CAPWAP control tunnel encryption for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] tunnel encryption enable

This operation will reconnect member APs that are not enabled with CAPWAP control tunnel encryption. Continue? [Y/N]

tunnel latency-detect

Use tunnel latency-detect to configure CAPWAP tunnel latency detection.

Syntax

tunnel latency-detect { start | stop }

Default

CAPWAP tunnel latency detection is not started.

Views

AP view

Predefined user roles

network-admin

Parameters

start: Starts CAPWAP tunnel latency detection.

stop: Stops CAPWAP tunnel latency detection.

Usage guidelines

CAPWAP tunnel latency detection enables the AC to detect the transmission latency of CAPWAP control frames or data frames from an AP to the AC and back.

When an AP goes offline, CAPWAP tunnel latency detection automatically stops. To restart CAPWAP tunnel latency detection when the AP comes online again, execute the tunnel latency-detect start command again.

The tunnel latency-detect start command takes effect only on APs that have established CAPWAP tunnels with the master AC and are in Run state.

Examples

# Start CAPWAP tunnel latency detection for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] tunnel latency-detect start

Related commands

display wlan ap tunnel latency

reset wlan tunnel latency ap

usb

 

NOTE:

Support for this command depends on the AP model.

Use usb enable to enable USB interfaces on APs.

Use usb disable to disable USB interfaces on APs.

Use undo usb to restore the default.

Syntax

usb { disable | enable }

undo usb

Default

In AP view, an AP uses the configuration in an AP group's AP model view.

In an AP group's AP model view, USB interfaces are disabled.

Views

AP view

AP group's AP model view

Predefined user roles

network-admin

Usage guidelines

This command takes effect on an AP only when either of the following requirements is met:

·     The power level of the AP is high.

·     The power level of the AP is middle and the MIMO mode is 1×1 or 2×2.

For information about MIMO modes, see radio management in WLAN Configuration Guide.

The configuration in AP view takes precedence over the configuration in AP group' AP model view.

Examples

# Enable USB interfaces in AP view.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA538-JP

[Sysname-wlan-ap-ap1] usb enable

# Enable USB interfaces in AP model view of AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] ap-model WA538-JP

[Sysname-wlan-ap-group-g1-ap-model-WA538-JP] usb enable

Related commands

power-level default

vlan

 

NOTE:

Support for this command depends on the AP model.

Use vlan vlan-id to create a VLAN for an AP and enter the VLAN view of the AP, or enter the view of an existing VLAN of an AP.

Use vlan vlan-id1 to vlan-id2 to create VLANs vlan-id1 through vlan-id2 for an AP, except for reserved VLANs.

Use undo vlan to delete the specified VLANs of an AP.

Syntax

vlan { vlan-id1 [ to vlan-id2 ] }

undo vlan { vlan-id1 [ to vlan-id2 ] }

Default

In AP view, an AP uses the configuration in AP group view.

In AP group view, VLAN 1 (the default VLAN) exists on an AP.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

vlan-id1: Specifies a VLAN ID in the range of 1 to 4094.

vlan-id1 to vlan-id2: Specifies a VLAN range. The vlan-id1 and vlan-id2 arguments specify VLAN IDs. The value range for each of the two arguments is 1 to 4094. The value for the vlan-id2 argument cannot be lower than the value for the vlan-id1 argument.

Usage guidelines

You cannot create or delete VLAN 1 (the default VLAN) or reserved VLANs.

For this command to take effect on an AP, make sure the remote configuration assignment feature is enabled and remote configuration synchronization is activated.

The configuration in AP view takes precedence over the configuration in AP group view.

Examples

# Create VLAN 2 for AP ap1 and enter the VLAN view of the VLAN.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1] vlan 2

[Sysname-wlan-ap-ap1-vlan2]

# Create VLAN 2 for AP group group1 and enter the VLAN view of the VLAN.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] vlan 2

[Sysname-wlan-ap-group-1-vlan2]

Related commands

remote-configuration

remote-configuration synchronize

wlan ap

Use wlan ap to create a manual AP and enter its view, or enter the view of an existing manual AP.

Use undo wlan ap to delete an AP.

Syntax

wlan ap ap-name [ model model-name ]

undo wlan ap ap-name

Default

No manual APs exist.

Views

System view

Predefined user roles

network-admin

Parameters

ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

model model-name: Specifies the model name of the AP. You must specify the model name when you create an AP.

Usage guidelines

If the specified AP has established a CAPWAP tunnel, the undo wlan ap command also terminates the tunnel.

Examples

# Create an AP named ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA536-WW

[Sysname-wlan-ap-ap1]

wlan ap-certificate verification

Use wlan ap-certificate verification to enable AP certificate verification.

Use undo wlan ap-certificate verification to restore the default.

Syntax

wlan ap-certificate verification

undo wlan ap-certificate verification

Default

AP certificate verification is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This feature takes effect at AP associations subsequent to feature enabling.

With this feature enabled, when an AP attempts to come online, the AC identifies whether any of its saved AP certificates uses the AP's MAC address as its CN. If a match is found, the AC permits the AP to come online. If no match is found, the AC denies the association request from the AP.

To use AP certificate verification, you must perform the following tasks:

·     Generate AP certificates with APs' MAC addresses as certificate CNs. The MAC addresses must be in the aa:bb:cc:dd:ee:ff format.

·     Upload the certificates to the AC through FTP or TFTP.

·     Execute the download file command to download the certificates to the corresponding APs.

Examples

# Enable AP certificate verification.

<Sysname> system-view

[Sysname] wlan ap-certificate verification

Related commands

tunnel encryption

wlan capwap encryption

wlan apdb

Use wlan apdb to configure the mapping between a software version and a hardware version of an AP model.

Use undo wlan apdb to restore the default.

Syntax

wlan apdb model-name hardware-version software-version

undo wlan apdb model-name hardware-version

Default

The software version for a hardware version of an AP model is the software version that is stored in APDB user scripts.

Views

System view

Predefined user roles

network-admin

Parameters

model-name: Specifies an AP model name.

hardware-version: Specifies an AP hardware version.

software-version: Specifies an AP software version, a case-insensitive string of 1 to 31 characters.

Usage guidelines

CAUTION

CAUTION:

For fit APs, to avoid CAPWAP tunnel establishment failure, use this command under the guidance of H3C Support.

This command is used together with the software upgrade feature for software version consistency check during software upgrade. If an AP uses a software version inconsistent with the version in the configured mapping, the AP downloads the corresponding software image from the AC and then upgrades its software automatically.

Use this command only when the software version you expect for an AP is inconsistent with the software version specified for the AP model stored in the APDB.

Examples

# Configure the mapping between software version E2108 and hardware version Ver.C of fit AP model WA536-WW.

<Sysname> system-view

[Sysname] wlan apdb WA536-WW Ver.C E2108

Related commands

firmware-upgrade

wlan apdb file

Use wlan apdb file to load an APDB user script.

Use undo wlan apdb file to delete an APDB user script.

Syntax

wlan apdb file user.apdb

undo wlan apdb file

Default

No APDB user script is loaded.

Views

System view

Predefined user roles

network-admin

Parameters

user.apdb: Specifies an APDB user profile by its name, a case-sensitive string of 1 to 63 characters. apdb is the filename extension.

Usage guidelines

When you load an APDB user script, follow these restrictions and guidelines:

·     If you load multiple user scripts on the AC, the most recently loaded user script overwrites the old user scripts.

·     Make sure the user script is valid. Invalid scripts can cause loading failure.

·     The AP models in the user script must be different from the AP models in the system script.

·     If you rename the user script in the file system, reload the user script to prevent AP model configuration in the user script from being lost after an AC reboot.

·     If you replace the user script with a new user script in the file system, reload the new user script. If the new user script does not include AP model information saved in the replaced user script, the AP model information will be lost after an AC reboot.

·     If you delete a user script in the file system, reload a new user script. If you do not reload a new user script, the AP model configuration in the user script will be lost after an AC reboot.

If an old user script already exists, follow these restrictions and guidelines when you load an APDB user script:

·     If a manual AP or an online auto AP whose model is listed in the old user script exists ,you can load a new user script only when you delete the corresponding AP model information on the AC.

·     If APs of an AP model listed in the old user script have been added to an AP group, you can load a new user script only when you remove the APs from the AP group.

·     If the old user script includes an AP model whose software version was already configured, you can load a new user script only when you use the wlan apdb command to restore the original software version.

Examples

# Load user script user.apdb.

<Sysname> system-view

[Sysname] wlan apdb file user.apdb

Related commands

wlan apdb

wlan ap-image-deploy

Use wlan ap-image-deploy to deploy an image file to all the online APs.

Syntax

wlan ap-image-deploy

Views

System view

Predefined user roles

network-admin

Usage guidelines

This feature enables you to upgrade the image of all the online APs. For the upgrade to take effect, reboot the APs after upgrade.

Before executing this command, you must upload the image file to the storage media of the AC. You can execute the wlan image-load filepath command to specify the storage media.

Examples

# Deploy an image file to all the online APs.

<Sysname> system-view

[Sysname] wlan ap-image-deploy

Related commands

wlan image-load filepath

wlan ap-group

Use wlan ap-group to create an AP group and enter its view, or enter the view of an existing AP group.

Use undo wlan ap-group to delete an AP group.

Syntax

wlan ap-group group-name

undo wlan ap-group group-name

Default

The default AP group default-group exists, and it cannot be deleted.

Views

System view

Predefined user roles

network-admin

Parameters

group-name: Specifies an AP group by its name, a case-insensitive string of 1 to 31 characters.

Examples

# Create an AP group named group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1]

Related commands

display wlan ap-group

wlan auto-ap enable

Use wlan auto-ap enable to enable the auto AP feature.

Use undo wlan auto-ap enable to disable the auto AP feature.

Syntax

wlan auto-ap enable

undo wlan auto-ap enable

Default

The auto AP feature is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This command enables an AP to connect to an AC without manual AP configuration. It simplifies configuration when you deploy a large number of APs in a WLAN.

To configure an auto AP, you must use auto-AP persistence to convert the auto AP to a manual AP or configure it through an AP group.

Examples

# Enable the auto AP feature.

<Sysname> system-view

[Sysname] wlan auto-ap enable

wlan auto-ap persistent

Use wlan auto-ap persistent to convert online auto APs to manual APs.

Syntax

wlan auto-ap persistent { all | name auto-ap-name [ new-ap-name ] }

Views

System view

Predefined user roles

network-admin

Parameters

all: Specifies all online auto APs. If you specify this keyword, the command converts all online auto APs to manual APs with AP names unchanged.

name auto-ap-name: Specifies an online auto AP.

new-ap-name: Specifies a new name for the AP, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-). If you do not specify this argument, the converted manual AP uses the name of the auto AP.

Examples

# Convert the auto AP whose MAC address is 0001-ab12-cd36 to manual AP ap2.

<Sysname> system-view

[Sysname] wlan auto-ap persistent name 0001-ab12-cd36 ap2

wlan auto-persistent enable

Use wlan auto-persistent enable to convert auto APs to manual APs after they come online.

Use undo wlan auto-persistent enable to restore the default.

Syntax

wlan auto-persistent enable

undo wlan auto-persistent enable

Default

Auto AP conversion is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This command takes effect only on auto APs that come online after you execute this command. For auto APs that are already online, use the wlan auto-ap persistent command to convert them to manual APs.

Examples

# Enable auto AP conversion.

<Sysname> system-view

[Sysname] wlan auto-persistent enable

wlan capwap discovery-policy unicast

Use wlan capwap discovery-policy unicast to enable an AC to respond only to unicast discovery requests.

Use undo wlan capwap discovery-policy to disable an AC to respond only to unicast discovery requests.

Syntax

wlan capwap discovery-policy unicast

undo wlan capwap discovery-policy

Default

An AC can respond to unicast, multicast, and broadcast discovery requests.

Views

System view

Predefined user roles

network-admin

Examples

# Enable the AC to respond only to unicast discovery requests.

<Sysname> system-view

[Sysname] wlan capwap discovery-policy unicast

wlan capwap encryption

Use wlan capwap encryption to specify the certificate used by CAPWAP control tunnel encryption.

Use undo wlan capwap encryption to restore the default.

Syntax

wlan capwap encryption certificate cer-name key key-name ca ca-name

undo wlan capwap encryption

Default

CAPWAP control tunnel encryption uses the built-in certificate.

Views

System view

Predefined user roles

network-admin

Parameters

certificate cer-name: Specifies the certificate name with the file suffix attached, cer-name.pem for example. The certificate must be in the .pem or .cer format.

key key-name: Specifies the key file name with the file suffix attached, key-name.pem for example. The key file must be in the .pem or .cer format.

ca ca-name: Specifies the CA certificate name with the file suffix attached, ca-name.pem for example. The CA certificate must be in the .pem or .cer format.

Usage guidelines

Before specifying a certificate, you must first save the certificate, key, and CA certificate to the file system of the AC.

For the configuration to take effect, perform this task before you enable CAPWAP control tunnel encryption.

Examples

# Specify a certificate for CAPWAP control tunnel encryption.

<Sysname> system-view

[Sysname] wlan capwap encryption certificate server.cer key server.key ca cacert.cer

Related commands

tunnel encryption

wlan ap-certificate verification

wlan global-configuration

Use wlan global-configuration to enter global configuration view.

Syntax

wlan global-configuration

Views

System view

Predefined user roles

network-admin

Usage guidelines

The configuration priorities for an AP in AP view, AP group view, and global configuration view are in descending order. If no settings are configured in one view, the settings in the view with a lower priority are used. If no settings are configured in any one of the three views, the AP uses the default configuration in the view that has the lowest priority.

Examples

# Enter global configuration view.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration]

wlan image-load filepath

Use wlan image-load filepath to specify the preferred location for the AC to obtain an AP image file for software version assignment.

Use undo wlan image-load filepath to restore the default.

Syntax

wlan image-load filepath { local | ram }

undo wlan image-load filepath

Default

The AC prefers the AP image file stored in the RAM when assigning a software version to APs.

Views

System view

Predefined user roles

network-admin

Parameters

local: Specifies the local folder as the preferred location to obtain an AP image file. If the local folder does not contain an AP image file, the AC obtains the AP image file from the RAM. If the RAM does not contain an AP image file, the AC fails to obtain an AP image file.

ram: Specifies the RAM as the preferred location to obtain an AP image file. If the RAM does not contain an AP image file, the AC obtains the AP image file from the local folder. If the local folder does not contain an AP image file, the AC fails to obtain an AP image file.

Usage guidelines

The AC image file contains AP image files. The AC reads the AP image files into the RAM when it starts.

Specify the local keyword only when the following conditions are met:

·     The required AP image file is not contained in the AC's image file.

·     The software version an AP uses when it comes online has been specified using the wlan apdb command.

When you specify the local keyword, make sure the AC uses a CF or flash card as the default file system and the AP image file is stored in the root directory of the file system on the AC.

The AC can assign only .ipe AP image files to APs.

Examples

# Specify the local folder as the preferred location to obtain an AP image file for AP software version assignment.

<Sysname> system-view

[Sysname] wlan image-load filepath local

wlan re-group

Use wlan re-group to move an AP grouping rule or a list of AP grouping rules to the specified AP group.

Syntax

wlan re-group { ap ap-name | ap-group source-group-name | mac-address mac-address | serial-id serial-id } group-name

Views

System view

Predefined user roles

network-admin

Parameters

ap ap-name: Specifies an AP grouping rule by AP names.

ap-group source-group-name: Specifies the source AP group. The source AP group cannot be the default AP group.

mac-address mac-address: Specifies an AP grouping rule by MAC addresses.

serial-id serial-id: Specifies an AP grouping rule by serial IDs.

group-name: Specifies the target AP group. The target AP group cannot be the default AP group.

Examples

# Create an AP group named group1, and create AP grouping rules by AP names to add APs ap1, ap2, and ap3 to AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] ap ap1 ap2 ap3

[Sysname-wlan-ap-group-group1] quit

# Create an AP group named group2, and move an AP grouping rule by AP names to AP group group2.

[Sysname] wlan ap-group group2

[Sysname-wlan-ap-group-group2] quit

[Sysname] wlan re-group ap ap1 group2

wlan rename-ap

Use wlan rename-ap to rename a manual AP.

Syntax

wlan rename-ap ap-name new-ap-name

Views

System view

Predefined user roles

network-admin

Parameters

ap-name: Specifies a manual AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

new-ap-name: Specifies a new AP name, a case-sensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), dots (.), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-). The new AP name cannot be the same as the old AP name.

Examples

# Change the name of AP ap1 to ap1-office.

<Sysname> system-view

[Sysname] wlan rename-ap ap1 ap1-office

wlan timezone-sync enable

Use wlan timezone-sync enable to enable time zone synchronization.

Use undo wlan timezone-sync enable to restore the default.

Syntax

wlan timezone-sync enable

undo wlan timezone-sync enable

Default

Time zone synchronization is disabled.

Views

System view

Predefined user roles

network-admin

Examples

# Enable time zone synchronization.

<Sysname> system-view

[Sysname] wlan timezone-sync enable

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网