06-AP Management Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C Anchor Configuration Guide(R5436)-6W10106-AP Management Configuration Guide
02-AP management configuration
Title Size Download
02-AP management configuration 435.88 KB

Contents

Managing APs· 1

About AP management 1

CAPWAP tunnel 1

APDB· 3

Protocols and standards· 3

Restrictions and guidelines: AP management configuration· 3

AP management tasks at a glance· 4

Configuring CAPWAP tunnel establishment 5

Prerequisites for configuring CAPWAP tunnel establishment 5

Creating a manual AP· 5

Managing auto APs· 5

Setting the discovery-response timeout timer 6

Setting the AP connection priority for the AC· 7

Enabling the AC to respond only to unicast discovery requests· 7

Configuring an AP group· 7

Upgrading APs' software· 8

About software upgrade· 8

Configuring software upgrade· 9

Configuring the mapping between a software version and a hardware version of an AP model 9

Specifying the preferred location for the AC to obtain an AP image file· 10

Deploying an image file to online APs· 10

Configuring remote configuration synchronization· 10

About remote configuration synchronization· 11

Tasks at a glance· 11

Creating a Layer 2 aggregate interface· 11

Assigning an interface to a Layer 2 aggregation group· 12

Configuring port isolation· 12

Configuring basic VLAN settings· 13

Assigning an access port to a VLAN· 14

Assigning a trunk port to VLANs· 15

Assigning a hybrid port to VLANs· 16

Setting the trusted packet priority type· 18

Setting the port priority· 19

Synchronizing settings to online APs· 19

Configuring a CAPWAP tunnel 20

Configuring CAPWAP tunnel encryption· 20

Configuring CAPWAP tunnel latency detection· 22

Setting the control tunnel keepalive timer for an AP· 22

Setting the data tunnel keepalive interval for an AP· 23

Setting the maximum fragment size for CAPWAP packets· 23

Configuring region code settings· 24

Specifying a region code· 24

Including or excluding region codes in beacon frames and probe responses· 24

Configuring AC request retransmission· 25

Enabling SNMP notifications· 25

Maintaining APs· 26

Resetting APs· 26

Renaming a manual AP· 26

Managing the file system of an AP· 26

Setting the statistics report interval 27

Setting the statistics fast report interval 27

Setting a LED lighting mode· 28

Deploying a configuration file to an AP· 28

Configuring APs to report gateway information to the AC· 29

Configuring remote AP· 29

Configuring AP power management 30

Enabling or disabling USB interfaces for APs· 30

Enabling or disabling PoE for PIs· 30

Maintaining ACs· 31

Enabling time zone synchronization· 31

Loading an APDB user script 31

Display and maintenance commands for AP management 32

AP management configuration examples· 33

Example: Establishing a CAPWAP tunnel through DHCP· 33

Example: Establishing a CAPWAP tunnel through DHCPv6· 39

Example: Establishing a CAPWAP tunnel through DNS· 44

Example: Configuring the auto AP feature· 50

Example: Configuring AP groups· 55


Managing APs

About AP management

Managing a large number of APs is both time consuming and costly. The fit AP+AC network architecture enables an AC to implement centralized AP management and maintenance.

CAPWAP tunnel

Control And Provisioning of Wireless Access Points (CAPWAP) defines how an AP communicates with an AC. It provides a generic encapsulation and transport mechanism between AP and AC. CAPWAP uses UDP and supports both IPv4 and IPv6.

As shown in Figure 1, an AC and an AP establish a data tunnel to forward data packets and a control tunnel to forward control packets.

Figure 1 CAPWAP tunnel

AC discovery

After starting up with zero configurations, an AP automatically creates VLAN-interface 1 and enables the DHCP client, DHCPv6 client, and DNS features on the interface. Then it obtains its own IP address from the DHCP server and discovers ACs by using the following methods:

·     Static IP address.

If AC IP addresses have been manually configured for the AP, the AP sends a unicast discovery request to each AC IP address to discover ACs.

·     DHCP options.

The AP obtains AC IPv4 addresses from Option 138, Option 43, and IPv6 addresses from Option 52 sent from the DHCP server. It uses these addresses in descending order.

For more information about DHCP options, see Network Connectivity Configuration Guide.

·     DNS.

a.     The AP obtains the domain name suffix from the DHCP server.

b.     The AP adds the suffix to the host name.

c.     The DNS server translates the domain name into IP addresses.

For more information about DNS, see Layer 3—IP Services Configuration Guide.

·     Broadcast.

The AP broadcasts discovery requests to IP address 255.255.255.255 to discover ACs.

·     IPv4 multicast:

The AP sends multicast discovery requests to IPv4 address 224.0.1.140 to discover ACs.

·     IPv6 multicast.

The AP sends multicast discovery requests to IPv6 address FF0E::18C to discover ACs.

The methods of static IP address, DHCPv4 options, broadcast/IPv4 multicast, IPv4 DNS, IPv6 multicast, DHCPv6 option, and IPv6 DNS are used in descending order.

The AP does not stop AC discovery until it establishes a CAPWAP tunnel with one of the discovered ACs.

CAPWAP tunnel establishment

Figure 2 Establishing a CAPWAP tunnel

As shown in Figure 2, the AP and an AC establish a CAPWAP tunnel by using the following procedure:

1.     The AP sends a discovery request to each AC to discover ACs.

2.     Upon receiving a discovery request, an AC determines whether to send a discovery response by performing the following steps:

a.     Identifies whether the discovery request is a unicast packet.

-     Unicast packet—The AC proceeds to step b.

-     Broadcast or multicast packet—The AC proceeds to step b if it is disabled with the feature of responding only to unicast discovery requests. If this feature is enabled, the AC does not send a discovery response.

b.     Identifies whether it has manual AP configuration for the AP model specified in the discovery request.

-     If manual AP configuration exists, the AC sends a discovery response to the AP. The discovery response contains information about whether the AC has the manual configuration for the AP, the AP connection priority, and the AC's load status.

-     If no manual AP configuration exists, the AC proceeds to step c.

c.     Identifies whether auto AP is enabled.

-     If auto AP is enabled, the AC sends a discovery response to the AP. The discovery response contains the enabling status of auto AP, AP connection priority, and AC's load information.

-     If auto AP is disabled, the AP does not send a discovery response.

3.     Upon receiving the discovery responses, the AP selects the optimal AC in descending order.

¡     AC that saves information about the AP.

¡     AC where the auto AP feature is enabled.

¡     AC with higher AP connection priority.

¡     AC with the lighter load.

¡     AC that is the earliest to respond.

4.     The AP sends a join request to the optimal AC.

5.     After receiving the join request, the AC examines the information in the request to determine whether to provide access services to the AP and sends a join response.

6.     The AP examines the result code in the response upon receiving the join response:

¡     If the result code represents failure, the AP does not establish a CAPWAP tunnel with the AC.

¡     If the result code represents success, the AP establishes a CAPWAP tunnel with the AC.

APDB

The Access Point Information Database (APDB) on an AC stores the following AP information:

·     AP models.

·     Hardware version and software version mappings.

·     Information about radios supported by AP models:

¡     Number of radios.

¡     Radio type.

¡     Valid region code.

¡     Valid antenna type.

¡     Maximum transmission power.

The AC can establish a CAPWAP tunnel with an AP only when the APDB contains the corresponding AP model information.

You can use the system script and user scripts to manage data in the APDB. The system script is released with the AC software version, and it is automatically loaded each time the AC starts. If you need to add new AP models, upgrade the AC software version (see Fundamentals Configuration Guide) or create a user script and load it on the AC (see "Loading an APDB user script").

Protocols and standards

·     RFC 5415, Control And Provisioning of Wireless Access Points (CAPWAP) Protocol Specification

·     RFC 5416, Control and Provisioning of Wireless Access Points (CAPWAP) Protocol Binding for IEEE 802.11

·     RFC 5417, Control And Provisioning of Wireless Access Points (CAPWAP) Access Controller DHCP Option

Restrictions and guidelines: AP management configuration

You can configure APs by using the following methods:

·     Configure APs one by one in AP view.

·     Assign APs to an AP group and configure the AP group in AP group view.

·     Configure all APs in global configuration view.

For an AP, the settings made in these views for the same parameter take effect in descending order of AP view, AP group view, and global configuration view.

AP management tasks at a glance

To configure AP management, perform the following tasks:

1.     Configuring CAPWAP tunnel establishment

Choose one of the tasks of creating a manual AP and managing auto APs.

¡     Creating a manual AP

¡     Managing auto APs

¡     (Optional.) Setting the discovery-response timeout timer

¡     (Optional.) Setting the AP connection priority for the AC

¡     (Optional.) Enabling the AC to respond only to unicast discovery requests

2.     (Optional.) Configuring an AP group

3.     (Optional.) Upgrading APs' software

4.     (Optional.) Configuring remote configuration synchronization

5.     (Optional.) Configuring a CAPWAP tunnel

¡     Configuring CAPWAP tunnel encryption

¡     Configuring CAPWAP tunnel latency detection

¡     Setting the control tunnel keepalive timer for an AP

¡     Setting the data tunnel keepalive interval for an AP

¡     Setting the maximum fragment size for CAPWAP packets

6.     (Optional.) Configuring region code settings

¡     Specifying a region code

¡     Including or excluding region codes in beacon frames and probe responses

7.     (Optional.) Configuring AC request retransmission

8.     (Optional.) Enabling SNMP notifications

9.     (Optional.) Maintaining APs

¡     Resetting APs

¡     Renaming a manual AP

¡     Managing the file system of an AP

¡     Setting the statistics report interval

¡     Setting a LED lighting mode

¡     Deploying a configuration file to an AP

¡     Configuring APs to report gateway information to the AC

10.     (Optional.) Configuring remote AP

11.     (Optional.) Configuring AP power management

¡     Enabling or disabling USB interfaces for APs

¡     Enabling or disabling PoE for PIs

12.     (Optional.) Maintaining ACs

¡     Enabling time zone synchronization

¡     Loading an APDB user script

Configuring CAPWAP tunnel establishment

Prerequisites for configuring CAPWAP tunnel establishment

Before you manage APs, complete the following tasks:

·     Create a DHCP address pool on the DHCP server to assign IP addresses to APs.

·     If DHCP options are used for AC discovery, configure Option 138, Option 43, or Option 52 in the specified DHCP address pool on the DHCP server.

·     If DNS is used for AC discovery, configure the IP address of the DNS server and the AC domain name suffix in the specified DHCP address pool on the DHCP server. Then configure the mapping between the domain name and the AC IP address on the DNS server.

·     Make sure the APs and the AC can reach each other.

For more information about DHCP and DNS, see Network Connectivity Configuration Guide.

Creating a manual AP

About this task

You can create a manual AP on the AC based on the AP model, serial ID, and MAC address of the AP you are using. An AP prefers to establish a CAPWAP tunnel with an AC that saves the manual AP configuration.

Procedure

1.     Enter system view.

system-view

2.     Create a manual AP and enter its view.

wlan ap ap-name [ model model-name ]

You must specify the model name when you create an AP.

3.     Specify the serial ID or the MAC address for the AP.

¡     Specify the serial ID for the AP.

serial-id serial-id

¡     Specify the MAC address for the AP.

mac-address mac-address

By default, neither the serial ID nor the MAC address is specified for an AP.

4.     (Optional.) Configure a description for the AP.

description text

By default, an AP does not have a description.

Managing auto APs

About this task

The auto AP feature enables APs to connect to an AC without manual AP configuration. This feature simplifies configuration when you deploy a large number of APs in a WLAN.

Restrictions and guidelines

To prevent illegal APs from associating with the AC, disable the auto AP feature after all required APs are associated with the AC.

You must convert auto APs to manual APs after they come online because of the following reasons:

·     Auto APs can re-associate with the AC upon an AC reboot or CAPWAP tunnel termination only when they are converted to manual APs.

·     You can individually configure auto APs only when they are converted to manual APs.

Tasks at a glance

To configure auto APs, perform the following tasks:

1.     Enabling the auto AP feature

2.     (Optional.) Converting auto APs to manual APs

Enabling the auto AP feature

1.     Enter system view.

system-view

2.     Enable the auto AP feature.

wlan auto-ap enable

By default, the auto AP feature is disabled.

Converting auto APs to manual APs

1.     Enter system view.

system-view

2.     Convert auto APs to manual APs. Choose the options to configure as needed:

¡     Convert online auto APs to manual APs.

wlan auto-ap persistent { all | name auto-ap-name [ new-ap-name ] }

¡     Enable the auto AP conversion feature.

wlan auto-persistent enable

By default, the auto AP conversion feature is disabled.

The wlan auto-persistent enable command does not take effect on auto APs that are already online.

Setting the discovery-response timeout timer

About this task

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.

Restrictions and guidelines

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

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Set the discovery-response timeout timer.

discovery-response wait-time seconds

By 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.

Setting the AP connection priority for the AC

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Set the AP connection priority for the AC.

priority priority

By default:

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

¡     In AP group view, the AP connection priority is 4.

Enabling the AC to respond only to unicast discovery requests

About this task

An AP can send unicast, multicast, and broadcast discovery requests to discover ACs. This feature enables an AC to respond only to unicast discovery requests.

Procedure

1.     Enter system view.

system-view

2.     Enable the AC to respond only to unicast discovery requests.

wlan capwap discovery-policy unicast

By default, the AC can respond to unicast, multicast, and broadcast discovery requests.

Configuring an AP group

About this task

This feature enables you to configure multiple APs in a batch to reduce configuration workload.

APs in an AP group use the configuration of the group. By default, all APs belong to system-defined AP group default-group. The system-defined AP group cannot be deleted.

You can configure AP grouping rules by AP name, serial ID, MAC address, and IP address to add APs to the specified AP group. Priorities of these grouping rules are in descending order. If an AP does not match any grouping rules, it is added to the default AP group.

Restrictions and guidelines

An AP can be added to only one AP group.

You cannot delete an AP group that contains an AP. An AP group that has grouping rules but does not contain any APs can be deleted.

When you configure an AP grouping rule, follow these restrictions and guidelines:

·     You cannot create the same grouping rule for different AP groups. If you do so, the most recent configuration takes effect.

·     You cannot create grouping rules for the default AP group.

·     AP grouping rules by IPv4 or 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 IPv4 or IPv6 addresses.

Procedure

1.     Enter system view.

system-view

2.     Create an AP group and enter its view.

wlan ap-group group-name

By default, a default AP group exists.

3.     (Optional.) Configure a description for the AP group.

description text

By default, an AP group does not have a description.

4.     Create an AP grouping rule. Choose the options to configure as needed:

¡     Create an AP grouping rule by AP names.

ap ap-name-list

¡     Create an AP grouping rule by serial IDs.

serial-id serial-id

¡     Create an AP grouping rule by MAC addresses.

mac-address mac-address

¡     Create an AP grouping rule by IPv4 addresses.

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

¡     Create an AP grouping rule by IPv6 addresses.

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

5.     (Optional.) Create an AP regrouping rule.

wlan re-group { ap ap-name | ap-group old-group-name | mac-address mac-address | serial-id serial-id } group-name

Upgrading APs' software

About software upgrade

With software upgrade enabled, the AC examines the AP software version while establishing a CAPWAP tunnel with an AP. If this feature is disabled, the AC does not examine the software version of the AP and directly establishes a CAPWAP tunnel with the AP.

Software upgrade for an AP proceeds as follows:

1.     The AP reports the software version and AP model information to the AC.

2.     The AC examines the received AP software version.

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

¡     If no match is found, the AC sends a message that notifies the AP of the AP software version inconsistency.

3.     Upon receiving the inconsistency message, the AP requests a software version from the AC.

4.     The AC assigns the software version to the AP after receiving the request.

5.     The AP upgrades the software version, restarts, and establishes a CAPWAP tunnel with the AC.

Configuring software upgrade

1.     Enter system view.

system-view

2.     Enter AP view, AP group view, or global configuration view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

¡     Enter global configuration view.

wlan global-configuration

3.     Configure software upgrade.

firmware-upgrade { disable | enable }

By 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.

Configuring the mapping between a software version and a hardware version of an AP model

About this task

Perform this task to configure the mapping between a software version and a hardware version of an AP model for software upgrade.

Perform this task only when the AP software version for an AP model stored in the APDB is inconsistent with the software version you expect for the AP model. To display the AP software version for each AP model in the APDB, use the display wlan ap-model command.

Restrictions and guidelines

To avoid CAPWAP tunnel establishment failure, use this feature under the guidance of H3C Support.

Procedure

1.     Enter system view.

system-view

2.     Configure the mapping between a software version and a hardware version of an AP model.

wlan apdb model-name hardware-version software-version

By default, the software version for a hardware version of an AP model is the software version that is stored in APDB user scripts.

Specifying the preferred location for the AC to obtain an AP image file

About this task

The AC assigns an AP image file to an AP if the AP requests a software version during CAPWAP tunnel establishment. You can specify the preferred location as the AC's RAM or local folder for the AC to obtain an AP image file. If the AC cannot obtain an AP image file from the preferred location, it obtains an AP image file from the other location. If no AP image file exists, the AC fails to obtain an image file and cannot assign a software version to the AP.

Restrictions and guidelines

The AC can assign only .ipe AP image files to APs.

If you specify the local folder, 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.

Procedure

1.     Enter system view.

system-view

2.     Specify the preferred location for the AC to obtain an AP image file.

wlan image-load filepath { local | ram }

By default, the AC prefers the AP image file stored in the RAM when assigning a software version to an AP.

Deploying an image file to online APs

About this task

This feature enables you to upgrade the image of all the online APs. For the upgrade to take effect, reboot the APs after upgrade.

Procedure

1.     Enter system view.

system-view

2.     Deploy an image file to all the online APs.

wlan ap-image-deploy

Configuring remote configuration synchronization

 

NOTE:

Support for this feature depends on the AP model.

About remote configuration synchronization

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.

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

Tasks at a glance

To configure remote configuration synchronization, perform the following tasks:

1.     Creating a Layer 2 aggregate interface

2.     Assigning an interface to a Layer 2 aggregation group

3.     Configuring port isolation

4.     Configuring basic VLAN settings

5.     Assigning a port to a VLAN

¡     Assigning an access port to a VLAN

¡     Assigning a trunk port to VLANs

¡     Assigning a hybrid port to VLANs

¡     Setting the trusted packet priority type

¡     Setting the port priority

6.     Synchronizing settings to online APs

Creating a Layer 2 aggregate interface

Restrictions and 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.

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 after remote configuration synchronization is activated.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Create a Layer 2 aggregate interface and enter its view.

bridge-aggregation interface-number

4.     Set the aggregation mode of an aggregation group and set the LACP state.

link-aggregation mode { dynamic | static }

By 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.

Assigning an interface to a Layer 2 aggregation group

Restrictions and 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 perform this task, 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 after remote configuration synchronization is activated.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Enter Layer 2 Ethernet interface view.

gigabitethernet interface-number

4.     Assign an interface to an aggregation group.

port link-aggregation group group-id

By 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.

Configuring port isolation

Restrictions and 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 after remote configuration synchronization is activated.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Enter Layer 2 Ethernet interface view, 2.5G Ethernet interface view, or Layer 2 aggregate interface view.

¡     Enter Layer 2 Ethernet interface view.

gigabitethernet interface-number

¡     Enter Layer 2 aggregate interface view.

bridge-aggregation interface-number

¡     Enter 2.5G Ethernet interface view.

smartrate-ethernet interface-number

4.     Configure port isolation.

port-isolate { enable | disable }

By 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, port isolation is enabled.

¡     In an AP's 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G Ethernet aggregate interface view, port isolation is enabled.

¡     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, port isolation is enabled.

Configuring basic VLAN settings

Restrictions and guidelines

You cannot create or delete VLAN 1 (the default VLAN) or reserved VLANs.

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

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     (Optional.) Create a VLAN and enter its view, or create a list of VLANs.

vlan { vlan-id1 [ to vlan-id2 ] }

By default, only VLAN 1 (the system default VLAN) exists.

4.     Enter VLAN view.

vlan vlan-id

To configure a VLAN after bulk VLAN creation, perform this step.

Assigning an access port to a VLAN

Restrictions and guidelines

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

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view.

¡     Enter GigabitEthernet interface view.

gigabitethernet interface-number

¡     Enter Layer 2 aggregate interface view.

bridge-aggregation interface-number

¡     Enter 2.5G Ethernet interface view.

smartrate-ethernet interface-number

Use a command according to the AP model and network requirements.

4.     Set the link type to access.

port link-type access

By 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 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G 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.

5.     Assign the access port to a VLAN.

port access vlan vlan-id

By 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, an access port belongs to VLAN 1.

¡     In an AP's 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G Ethernet interface view, an access port belongs to VLAN 1.

¡     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, an access port belongs to VLAN 1.

Make sure the VLAN has been created.

Assigning a trunk port to VLANs

Restrictions and 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 from only 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.

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

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view.

¡     Enter GigabitEthernet interface view.

gigabitethernet interface-number

¡     Enter Layer 2 aggregate interface view.

bridge-aggregation interface-number

¡     Enter 2.5G Ethernet interface view.

smartrate-ethernet interface-number

Use a command according to the AP model and network requirements.

4.     Set the link type to trunk.

port link-type trunk

By 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 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G 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.

5.     Assign the trunk port to the specified VLANs.

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

By 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 permit packets from any VLAN to pass through.

¡     In an AP's 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G Ethernet interface view, a trunk port does not permit 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 permit packets from any VLAN to pass through.

6.     (Optional.) Set the PVID for the trunk port.

port trunk pvid vlan vlan-id

By 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 VLAN 1.

¡     In an AP's 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G Ethernet interface view, the PVID of a trunk port is VLAN 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 VLAN 1.

Assigning a hybrid port to VLANs

Restrictions and 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.

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

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view.

¡     Enter GigabitEthernet interface view.

gigabitethernet interface-number

¡     Enter Layer 2 aggregate interface view.

bridge-aggregation interface-number

¡     Enter 2.5G Ethernet interface view.

smartrate-ethernet interface-number

Use a command according to the AP model and network requirements.

4.     Set the link type to hybrid.

port link-type hybrid

By 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 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G 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.

5.     Assign the hybrid port to the specified VLANs.

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

By 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 permit packets from any VLAN to pass through.

¡     In an AP's 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G Ethernet interface view, a hybrid port does not permit 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 permit packets from any VLAN to pass through.

6.     (Optional.) Set the PVID for the hybrid port.

port hybrid pvid vlan vlan-id

By 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 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G 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.

Setting the trusted packet priority type

About this task

With a priority type and a port priority value specified for an interface, an AP assigns the priority of the specified type to all packets received on the interface.

The system supports the following trusted packet priority types:

·     dot11e—Uses the 802.1e priority carried in packets for priority mapping.

·     dscp—Uses the DSCP priority carried in packets for priority mapping.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group's AP model view.

wlan ap-group group-name

ap-model ap-model

3.     Enter GigabitEthernet interface view, 2.5G Ethernet interface view, or Layer 2 aggregate interface view.

¡     Enter GigabitEthernet interface view.

gigabitethernet interface-number

¡     Enter Layer 2 aggregate interface view.

bridge-aggregation interface-number

¡     Enter 2.5G Ethernet interface view.

smartrate-ethernet interface-number

4.     Set the trusted packet priority type.

qos trust { dot1p | dscp }

By 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 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G Ethernet 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.

Setting the port priority

About this task

With a priority type and a port priority value specified for an interface, an AP assigns the priority of the specified type to all packets received on the interface.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group's AP model view.

wlan ap-group group-name

ap-model ap-model

3.     Enter GigabitEthernet interface view or Layer 2 aggregate interface view.

¡     Enter GigabitEthernet interface view.

gigabitethernet interface-number

¡     Enter Layer 2 aggregate interface view.

bridge-aggregation interface-number

4.     Set the port priority.

qos priority priority-value

By 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 2.5G Ethernet interface view, a port uses the configuration in an AP group's 2.5G Ethernet interface view.

¡     In an AP group's 2.5G Ethernet 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.

Synchronizing settings to online APs

About this task

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

Restrictions and guidelines

CAUTION

CAUTION:

The remote configuration synchronization feature 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 takes effect only when both remote configuration assignment and remote configuration synchronization are configured. If only remote configuration assignment is configured, the AC assigns only VLAN settings to the specified AP or AP group.

With remote configuration assignment enabled, APs request VLAN, link aggregation, and port settings from the AC automatically after coming online.

Remote configuration synchronization takes effect only when remote configuration assignment is enabled.

As a best practice, do not use both remote configuration synchronization 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.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Enable remote configuration assignment.

remote-configuration enable

By default:

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

¡     In AP group view, remote configuration assignment is disabled.

4.     Activate remote configuration synchronization.

remote-configuration synchronize

By default:

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

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

Configuring a CAPWAP tunnel

Configuring CAPWAP tunnel encryption

About this task

CAPWAP tunnel encryption uses the Datagram Transport Layer Security (DTLS) protocol to encrypt control and data packets transmitted over a CAPWAP tunnel.

When CAPWAP control tunnel encryption is enabled for an AP, the AC and the AP communicate as follows:

1.     The AC sends a discovery response with the encryption flag to the AC.

2.     The AP performs a DTLS handshake with the AC and then establishes a CAPWAP tunnel with the AC.

3.     The AC and the AP encrypt control packets transmitted in the CAPWAP control tunnel after the DTLS handshake.

When CAPWAP data tunnel encryption is enabled for an AP, the 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 encrypt data packets transmitted in the CAPWAP data tunnel. Keepalive packets are not encrypted.

Restrictions and guidelines

After you enable CAPWAP control tunnel encryption, APs go offline and then come online again from the AC to re-establish CAPWAP tunnels.

CAPWAP control tunnel encryption requires a certificate. You can use the built-in certificate or specify a certificate for the AC. For the specified certificate to take effect, specify the certificate before enabling CAPWAP control tunnel encryption.

CAPWAP control tunnel encryption supports AP certificate verification to allow only APs with a matching certificate to come online. To use AP certificate verification, you must generate AP certificates, upload them to the AC, and execute the download file command to download the certificates to the corresponding APs. With the verification feature enabled, an AP can come online only when a certificate that uses the AP's MAC address as its CN exists on the AC.

Prerequisites

To use a non-built-in certificate, save the certificate, key, and CA certificate to the file system of the AC. These files can be in the .pem or .cer format.

Procedure

1.     Enter system view.

system-view

2.     Specify the certificate used for CAPWAP tunnel encryption.

wlan capwap encryption certificate cer-name key key-name ca ca-name

By default, the system uses the built-in certificate for CAPWAP tunnel encryption.

3.     (Optional.) Enable AP certificate verification.

wlan ap-certificate verification

By default, AP certificate verification is disabled.

4.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

5.     Configure CAPWAP control tunnel encryption.

tunnel encryption { disable | enable }

By default:

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

¡     In AP group view, CAPWAP control tunnel encryption is disabled.

6.     Configure CAPWAP data tunnel encryption.

data-tunnel encryption { disable | enable }

By default:

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

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

Configuring CAPWAP tunnel latency detection

About this task

This feature enables an AC to detect the transmission latency of CAPWAP control frames or data frames from an AP to the AC and back.

This feature takes effect only on the master AC after a CAPWAP tunnel is established.

When an AP goes offline, CAPWAP tunnel latency detection automatically stops. To restart CAPWAP tunnel latency detection when the AP comes online, execute the tunnel latency-detect start command again.

To display CAPWAP tunnel latency information, use the display wlan tunnel latency ap name command.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view.

wlan ap ap-name

3.     Configure CAPWAP tunnel latency detection.

tunnel latency-detect { start | stop }

By default, CAPWAP tunnel latency detection is not started.

Setting the control tunnel keepalive timer for an AP

About this task

An AP sends echo requests to the AC at the specified echo interval 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 specified by using the echo-count command.

Restrictions and guidelines

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.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Set the interval for the AP to send echo requests.

echo-interval interval

By default:

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

¡     In AP group view, the echo interval is 10 seconds.

4.     Set the maximum number of echo request transmission attempts.

echo-count count

By 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.

Setting the data tunnel keepalive interval for an AP

About this task

An AP sends data channel keepalive packets to the AC at the specified keepalive intervals after a CAPWAP tunnel is established between the AP and the AC.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Set the data tunnel keepalive interval.

keepalive-interval interval

By 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.

Setting the maximum fragment size for CAPWAP packets

About this task

Perform this task to prevent intermediate devices from dropping packets between AC and AP if the AP connects to the AC across the Internet.

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

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Set the maximum fragment size for CAPWAP control or data packets.

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

By 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.

Configuring region code settings

Specifying a region code

About this task

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

To prevent regulation violation caused by region code modification, lock the region code.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view, AP group view, or global configuration view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

¡     Enter global configuration view.

wlan global-configuration

3.     Specify a region code.

region-code code

By default:

¡     In AP view, an AP uses the configuration in AP group view. If no region code 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 CN.

4.     (Optional.) Lock the region code.

region-code-lock enable

By default:

¡     In AP view, an AP uses the configuration in AP group view. If no region code 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.

Including or excluding region codes in beacon frames and probe responses

Restrictions and guidelines

If you enable an AP to include its region code in beacon frames and probe responses, you must also specify the AP installation environment. If you bind different service templates to radios of an AP, make sure the service templates are specified with the same installation environment type.

Procedure

1.     Enter system view.

system-view

2.     Enter service template view.

wlan service-template service-template-name

3.     Include or exclude region codes in beacon frames and probe responses and specify the installation environment type.

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

By default, beacon frames and probe responses contain region codes and the installation environment type is any.

Configuring AC request retransmission

About this task

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

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Set the maximum number of request retransmission attempts.

retransmit-count value

By default:

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

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

4.     Set the interval at which an AC request is retransmitted.

retransmit-interval interval

By default:

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

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

Enabling SNMP notifications

About this task

To report critical WLAN events to an NMS, enable SNMP notifications. For WLAN event notifications to be sent correctly, you must also configure SNMP as described in Network Management and Monitoring Configuration Guide.

Procedure

1.     Enter system view.

system-view

2.     Enable SNMP notifications.

¡     Enable SNMP notifications for AP management.

snmp-agent trap enable wlan ap

By default, SNMP notifications for AP management are disabled.

¡     Enable SNMP notifications for CAPWAP.

snmp-agent trap enable wlan capwap

By default, SNMP notifications for CAPWAP are disabled.

Maintaining APs

Resetting APs

To reset all APs or the specified AP, execute the following command in user view:

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

Renaming a manual AP

1.     Enter system view.

system-view

2.     Rename a manual AP.

wlan rename-ap ap-name new-ap-name

Managing the file system of an AP

About this task

You can perform the following tasks on an AC to manage files for an AP after the AP establishes a CAPWAP tunnel with the AC:

·     View file information for the AP.

·     Delete a file from the AP.

·     Download an image file from the AC to the AP.

Restrictions and guidelines

This feature takes effect only on master ACs.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view.

wlan ap ap-name

3.     Manage files on the AP.

¡     Delete a file from the AP.

delete file filename

¡     Download an image file to the AP.

download file file-name

Setting the statistics report interval

About this task

Perform this task to change the interval for an AP to report its statistics. You can use the statistics to monitor the operating status of radios on the AP.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view, AP group view, or global configuration view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

¡     Enter global configuration view.

wlan global-configuration

3.     Set the statistics report interval.

statistics-interval interval

By 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.

Setting the statistics fast report interval

About setting the fast statistics report interval

This task enables an AP to fast report specific statistics to the AC. APs can fast report only channel usage statistics to the AC.

Setting the interval to 0 disables an AP from fast reporting statistics to the AC.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Set the interval at which an AP fast reports statistics to the AC.

statistics-interval fast-report fast-report-interval

By 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.

Setting a LED lighting mode

About this task

You can configure LEDs on an AP to flash in the following modes:

·     quiet—All LEDs are off.

·     awake—All LEDs flash once every minute. Support for this mode depends on the AP model.

·     always-on—All LEDs are steady on. Support for this mode depends on the AP model.

·     normal—How LEDs flash in this mode varies by AP model. This mode can identify the running status of an AP.

Restrictions and 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.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Set a LED lighting mode.

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

By default:

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

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

Deploying a configuration file to an AP

About this task

Deploy a configuration file to an AP if you want to update its configuration file or configure features that require a configuration file. For example, to configure a user profile for an AP in local forwarding mode, you must write related commands to a configuration file and then deploy the configuration file to the AP. The configuration file takes effect when the CAPWAP tunnel to the AC is in Run state. It does not survive an AP reboot.

Restrictions and guidelines

Make sure the configuration file is stored in the storage medium of the AC. Contents in the configuration file must be complete commands.

This feature takes effect every time the specified AP comes online.

An AP can only use its main IP address to establish a CAPWAP tunnel to the AC if the AP is configured by using a configuration file.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Deploy a configuration file to the AP.

map-configuration filename

By default, no configuration file is deployed to an AP.

Configuring APs to report gateway information to the AC

About this task

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.

Procedure

1.     Enter system view.

system-view

2.     Enter global configuration view.

wlan global-configuration

3.     Configure APs to report gateway information to the AC.

gateway information report { disable | enable }

By default, gateway information reporting is disabled.

Configuring remote AP

About this task

Remote AP enables an AP to automatically perform the following operations when the CAPWAP tunnel to the AC is disconnected:

·     Forward client traffic.

·     Provide client access services if local authentication is enabled and association is enabled at the AP.

Remote AP is applicable to telecommuting, small branches, and SOHO solutions.

Restrictions and guidelines

Remote AP takes effect only on APs that operate in local forwarding mode.

When the tunnel between the AC and AP is recovered, clients that use the AC as the authenticator need reauthentication. Clients that use the AP as the authenticator remain online.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or AP group view.

¡     Enter AP view.

wlan ap ap-name

¡     Enter AP group view.

wlan ap-group group-name

3.     Configure remote AP.

hybrid-remote-ap { disable | enable }

By default:

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

¡     In AP group view, remote AP is disabled.

Configuring AP power management

Enabling or disabling USB interfaces for APs

 

NOTE:

Support for this feature depends on the AP model.

About this task

After you enable USB interfaces for an AP, the USB interfaces become active only when either of the following requirements is met:

·     The input power level of the AP is high.

·     The input power level of the AP is middle and the MIMO mode is 1×1 or 2×2.

To view the current input power level, execute the display wlan ap command. For information about MIMO modes, see configuring radio management in Radio Resources Management Configuration Guide.

Procedure

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Enable or disable USB interfaces.

usb { enable | disable }

By 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.

Enabling or disabling PoE for PIs

 

NOTE:

Support for this feature depends on the AP model.

1.     Enter system view.

system-view

2.     Enter AP view or an AP group's AP model view.

¡     Enter AP view.

wlan ap ap-name

¡     Execute the following commands in sequence to enter an AP group's AP model view:

wlan ap-group group-name

ap-model ap-model

3.     Enable or disable PoE for PIs.

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

By 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 on PIs.

Maintaining ACs

Enabling time zone synchronization

About this task

This feature enables APs to synchronize time and time zone information from the AC at association and at specific intervals after association.

Procedure

1.     Enter system view.

system-view

2.     Enable time zone synchronization.

wlan timezone-sync enable

By default, time zone synchronization is disabled.

Loading an APDB user script

About this task

This task allows you to add new AP models to the APDB without upgrading AC software.

Restrictions and guidelines

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 load multiple user scripts on the AC, the most recently loaded user script overwrites the old user scripts.

To reload a user script when the following conditions exist, you must delete the related AP models or use the wlan apdb command to restore the original software version:

·     A manual AP or an online auto AP whose model is listed in the old user script exists.

·     APs of an AP model listed in the old user script have been added to an AP group.

·     The old user script includes an AP model whose software version was already configured.

For more information about the wlan apdb command, see AP management commands in AP and WT Management Command Reference.

To prevent AP model configuration lost after an AC reboot, you must reload a user script when you rename, or delete the user script in the file system.

When you replace a user script, the AP model configuration in the old user script will be lost upon an AC reboot if the new user script does not contain AP model configuration of the old script. In this case, you must reload the new user script.

Procedure

1.     Enter system view.

system-view

2.     Load an APDB user script.

wlan apdb file user.apdb

By default, no user script is loaded on the AC.

Display and maintenance commands for AP management

Execute display commands in any view and reset commands in user view.

 

Task

Command

Display information about all APs or the specified AP.

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

Display address information for all APs or the specified AP.

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

Display configuration status of CAPWAP features.

display wlan ap all feature capwap

Display AP connection records on the AC.

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

Display AP descriptions on the AC.

display wlan ap description

Display AP group information for all APs or the specified AP.

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

Display AP online duration.

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

Display the reboot logs of the specified AP.

display wlan ap name ap-name reboot-log

Display region code information for APs.

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

Display running configuration for all APs or the specified AP.

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

Display tunnel latency information for the specified CAPWAP tunnel.

display wlan ap name ap-name tunnel latency

Display association failure records for APs.

display wlan ap statistics association-failure-record

Display information about AP image downloading.

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

Display online AP quantity records.

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

Display CAPWAP tunnel down records.

display wlan ap statistics tunnel-down-record

Display information about distribution of attached APs for ACs.

display wlan ap-distribution all

Display the attachment location of an AP.

display wlan ap-distribution ap-name ap-name

Display information about all AP groups or the specified AP group.

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

Display AP model information.

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

Display the WLAN device role.

display wlan device role

Display the number of installed WLAN licenses.

display wlan license

Clear AP connection records on the AC.

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

Clear the reboot logs of all APs or the specified AP.

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

Clear tunnel latency information for all CAPWAP tunnels or the specified CAPWAP tunnel.

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

AP management configuration examples

Example: Establishing a CAPWAP tunnel through DHCP

Network configuration

As shown in Figure 3, configure the AP to obtain its IP address and AC IP address from the DHCP server through DHCP Option 43. The AP uses the IP address of the AC to establish a CAPWAP tunnel with the AC.

Figure 3 Network diagram

Procedure

1.     Configure the DHCP server:

# Enable the DHCP service.

<DHCP server> system-view

[DHCP server] dhcp enable

# Configure DHCP address pool 1.

[DHCP server] dhcp server ip-pool 1

[DHCP server-dhcp-pool-1] network 1.1.1.0 mask 255.255.255.0

# Configure Option 43 to specify the IP address of the AC in address pool 0. The right-most bytes 01010103 (1.1.1.3) represent the IP address of the AC.

[DHCP server-dhcp-pool-1] option 43 hex 800700000101010103

[DHCP Server-dhcp-pool-1] quit

[DHCP Server] quit

2.     Configure the AC:

# Set the IP address of VLAN-interface 1 on the AC to 1.1.1.3/24.

<AC> system-view

[AC] interface vlan-interface 1

[AC-Vlan-interface1] ip address 1.1.1.3 24

[AC-Vlan-interface1] quit

# Create an AP named ap1, and set its serial ID to 219801A1NQ8183E00007.

[AC] wlan ap ap1 model WA536-WW

[AC-wlan-ap-ap1] serial-id 219801A1NQ8183E00007

[AC-wlan-ap-ap1] quit

# Start up the AP. The AP performs the following operations:

¡     Obtains its IP address 1.1.1.2 from the DHCP server.

¡     Obtains the IP address of the AC through Option 43.

¡     Establishes a CAPWAP tunnel with the AC.

Verifying the configuration

# Verify that you can see the following information:

·     The AP obtains the IP address of the AC through DHCP.

·     The AP and the AC have established a CAPWAP tunnel.

·     The AP is in Run state.

[AC] 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 up time                : 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                    : 1.1.1.2

UDP control port number       : 26147

UDP data port number          : 26147

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     : Up

Discovery type                : DHCP

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                 : N/A

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

Tunnel encryption             : Disabled

Data-tunnel encryption        : Disabled

Data-tunnel encryption state  : Not encrypted

LED mode                      : Normal

Remote configuration          : Enabled

AP type                       : Unknown

Radio 1:                                                                       

    BSSID                     : 9ce8-95a5-7700                                 

    State                     : Down                                           

    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                      : 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               : 0 dBm                                           

    Protection mode           : cts-to-self                                    

    MU-TxBF                   : Enabled                                        

    SU-TxBF                   : Enabled                                         

    Continuous mode           : N/A                                            

    HT protection mode        : No protection                                  

Radio 2:                                                                        

    BSSID                     : 9ce8-95a5-7710                                 

    State                     : Down                                           

    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                      : 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                 : 21 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                                          

    Protection mode           : cts-to-self                                    

    MU-TxBF                   : Enabled                                        

    SU-TxBF                   : Enabled                                        

    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

Example: Establishing a CAPWAP tunnel through DHCPv6

Network configuration

As shown in Figure 4, configure the AP to obtain its IP address and AC IP address from the DHCPv6 server through DHCP Option 52. The AP uses the IP address of the AC to establish a CAPWAP tunnel with the AC.

Figure 4 Network diagram

Procedure

1.     Configure the DHCPv6 server:

# Assign an IPv6 address to GigabitEthernet 1/0/1.

<DHCPv6 Server> system-view

[DHCPv6 Server] interface gigabitethernet 1/0/1

[DHCPv6 Server-GigabitEthernet1/0/1] ipv6 address 1::1/64

# Disable RA message advertising suppression.

[DHCPv6 Server-GigabitEthernet1/0/1] undo ipv6 nd ra halt

# Set the managed address configuration flag (M) to 1 in RA advertisements to be sent.

[DHCPv6 Server-GigabitEthernet1/0/1] ipv6 nd autoconfig managed-address-flag

# Set the other stateful configuration flag (O) to 1 in RA advertisements to be sent.

[DHCPv6 Server-GigabitEthernet1/0/1] ipv6 nd autoconfig other-flag

# Enable the DHCPv6 service on GigabitEthernet 1/0/1.

[DHCPv6 Server-GigabitEthernet1/0/1] ipv6 dhcp select server

[DHCPv6 Server-GigabitEthernet1/0/1] quit

# Create a DHCPv6 address pool, and specify an IPv6 subnet for dynamic allocation in the DHCPv6 address pool.

[DHCPv6 Server] ipv6 dhcp pool 1

[DHCPv6 Server-dhcp6-pool-1] network 1::0/64

# Configure Option 52 that specifies an AC address 1::3 in DHCPv6 address pool 1.

[DHCPv6 Server-dhcp-pool-1] option 52 hex 00010000000000000000000000000003

[DHCPv6 Server-dhcp-pool-1] quit

[DHCPv6 Server] quit

2.     Configure the AC:

# Set the IP address of VLAN-interface 1 to 1::3/64.

<AC> system-view

[AC] interface vlan-interface 1

[AC-Vlan-interface1] ipv6 address 1::3 64

# Create an AP named ap1, and set its serial ID to 219801A1NQ8183E00007.

[AC] wlan ap ap1 model WA536-WW

[AC-wlan-ap-ap1] serial-id 219801A1NQ8183E00007

[AC-wlan-ap-ap1] quit

# Start up the AP. The AP performs the following operations:

¡     Obtains its IPv6 address 1::2 from the DHCP server.

¡     Obtains the IPv6 address of the AC through Option 52.

¡     Establishes a CAPWAP tunnel with the AC.

Verifying the configuration

# Verify that you can view the following information:

·     The AP obtains the IP address of the AC through DHCP.

·     The AP and the AC have established a CAPWAP tunnel.

·     The AP is in Run state.

[AC] 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 up time                : 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                    : 1::2

UDP control port number       : 26147

UDP data port number          : 26147

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     : Up

Discovery type                : DHCP

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                 : N/A

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

Tunnel encryption             : Disabled

Data-tunnel encryption        : Disabled

Data-tunnel encryption state  : Not encrypted

LED mode                      : Normal

Remote configuration          : Enabled

AP type                       : Unknown

Radio 1:                                                                        

    BSSID                     : 9ce8-95a5-7700                                 

    State                     : Down                                           

    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                      : 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               : 0 dBm                                           

    Protection mode           : cts-to-self                                    

    MU-TxBF                   : Enabled                                        

    SU-TxBF                   : Enabled                                         

    Continuous mode           : N/A                                            

    HT protection mode        : No protection                                  

Radio 2:                                                                        

    BSSID                     : 9ce8-95a5-7710                                 

    State                     : Down                                           

    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                      : 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                 : 21 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                                          

    Protection mode           : cts-to-self                                    

    MU-TxBF                   : Enabled                                        

    SU-TxBF                   : Enabled                                        

    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

Example: Establishing a CAPWAP tunnel through DNS

Network configuration

As shown in Figure 5, configure the AP to obtain the IP address of the AC through DNS to establish a CAPWAP tunnel with the AC.

Figure 5 Network diagram

Procedure

1.     Configure the DHCP server:

# Enable the DHCP service, configure DHCP address pool 1, and set the domain name suffix of the AC to abc.

<DHCP server> system-view

[DHCP server] dhcp enable

[DHCP server] dhcp server ip-pool 1

[DHCP server-dhcp-pool-1] network 1.1.1.0 mask 255.255.255.0

[DHCP server-dhcp-pool-1] domain-name abc

[DHCP server-dhcp-pool-1] dns-list 1.1.1.4

[DHCP server-dhcp-pool-1] gateway-list 1.1.1.2

[DHCP server-dhcp-pool-1] quit

[DHCP server] quit

2.     Configure a mapping between domain name h3c.abc and IP address 2.1.1.1/24. For more information, see Layer 3—IP Services Configuration Guide. (Details not shown.)

3.     Configure the AC:

# Set the IP address of VLAN-interface 1 to 2.1.1.1/24.

<AC> system-view

[AC] interface vlan-interface 1

[AC-Vlan-interface1] ip address 2.1.1.1 24

[AC-Vlan-interface1] quit

# Configure a default route with next hop address 2.1.1.2.

[AC] ip route-static 0.0.0.0 0 2.1.1.2

# Create an AP named ap1, and set its serial ID to 219801A1NQ8183E00007.

[AC] wlan ap ap1 model WA536-WW

[AC-wlan-ap-ap1] serial-id 219801A1NQ8183E00007

# Start up the AP.

[AC-wlan-ap-ap1] quit

The AP performs the following operations:

¡     Obtains its IP address 1.1.1.1, the domain name suffix of the AC, and the IP address of the DNS server from the DHCP server.

¡     Adds the domain name suffix to the hostname.

¡     Informs the DNS client to translate the domain name into an IP address.

¡     Uses the IP address of the AC to establish a CAPWAP tunnel with the AC.

Verifying the configuration

# Verify that you can see the following information:

·     The AP and the AC have established a CAPWAP tunnel.

·     The AP is in Run state.

·     The AP obtains the IP address of the AC through DNS.

[AC] 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 up time                : 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                    : 1.1.1.1

UDP control port number       : 26147

UDP data port number          : 26147

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     : Up

Discovery type                : DNS

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                 : N/A

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

Tunnel encryption             : Disabled

Data-tunnel encryption        : Disabled

Data-tunnel encryption state  : Not encrypted

LED mode                      : Normal

Remote configuration          : Enabled

AP type                       : Unknown

Radio 1:                                                                        

    BSSID                     : 9ce8-95a5-7700                                 

    State                     : Down                                           

    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                      : 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               : 0 dBm                                           

    Protection mode           : cts-to-self                                    

    MU-TxBF                   : Enabled                                        

    SU-TxBF                   : Enabled                                         

    Continuous mode           : N/A                                            

    HT protection mode        : No protection                                  

Radio 2:                                                                        

    BSSID                     : 9ce8-95a5-7710                                 

    State                     : Down                                           

    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                      : 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                 : 21 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                                          

    Protection mode           : cts-to-self                                    

    MU-TxBF                   : Enabled                                        

    SU-TxBF                   : Enabled                                        

    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

Example: Configuring the auto AP feature

Network configuration

As shown in Figure 6, enable the auto AP feature on the AC. The AP obtains the AC IP address through DHCP Option 43 and establishes a CAPWAP tunnel with the AC.

Figure 6 Network diagram

Procedure

1.     Configure the DHCP server:

# Enable the DHCP service.

<DHCP server> system-view

[DHCP server] dhcp enable

# Configure DHCP address pool 1.

[DHCP server] dhcp server ip-pool 1

[DHCP server-dhcp-pool-1] network 1.1.1.0 mask 255.255.255.0

# Configure Option 43 to specify the IP address of the AC in address pool 0. The right-most bytes 02010102 (2.1.1.2) represent the IP address of the AC.

[DHCP server-dhcp-pool-1] option 43 ip-address hex 800700000102010102

[DHCP Server-dhcp-pool-1] gateway-list 1.1.1.3

[DHCP Server-dhcp-pool-1] quit

[DHCP Server] quit

2.     Configure the AC:

# Set the IP address of VLAN-interface 1 on the AC to 2.1.1.2/24.

<AC> system-view

[AC] interface vlan-interface 1

[AC-Vlan-interface1] ip address 2.1.1.2 24

[AC-Vlan-interface1] quit

# Configure a default route with next hop address 2.1.1.1.

[AC] ip route-static 0.0.0.0 0 2.1.1.1

# Enable auto AP.

[AC] wlan auto-ap enable

Verifying the configuration

# Verify that the AP has established a CAPWAP tunnel with the AC.

[AC] display wlan ap name 0011-2200-0101 verbose

AP name                       : 0011-2200-0101

AP ID                         : 1

AP group name                 : default-group

State                         : Run

Backup type                   : Master

Online time                   : 0 days 1 hours 25 minutes 12 seconds

System up time                : 0 days 2 hours 22 minutes 12 seconds

Model                         : WA536-WW

Region code                   : CN

Region code lock              : Disable

Serial ID                     : 219801A1NQ8183E00007

MAC address                   : 0011-2200-0101

IP address                    : 1.1.1.2

UDP control port number       : 26147

UDP data port number          : 26147

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     : Up

Discovery type                : DHCP

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                 : N/A

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

AP type                       : Unknown

Radio 1:                                                                       

    BSSID                     : 9ce8-95a5-7700                                 

    State                     : Down                                           

    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                      : 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               : 0 dBm                                          

    Protection mode           : cts-to-self                                    

    MU-TxBF                   : Enabled                                        

    SU-TxBF                   : Enabled                                        

    Continuous mode           : N/A                                            

    HT protection mode        : No protection                                  

Radio 2:                                                                       

    BSSID                     : 9ce8-95a5-7710                                 

    State                     : Down                                           

    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                      : 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                 : 21 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                                          

    Protection mode           : cts-to-self                                    

    MU-TxBF                   : Enabled                                        

    SU-TxBF                   : Enabled                                        

    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

Example: Configuring AP groups

Network configuration

As shown in Figure 7, configure AP groups and add AP 1 to AP group group1, and AP 2, AP 3, and AP 4 to AP group group2.

Figure 7 Network diagram

Procedure

1.     Configure APs to obtain their IP addresses and the AC IP address from the DHCP server. (Details not shown.)

2.     Configure manual APs. (Details not shown.)

3.     Configure AP groups:

# Create an AP group named group1.

<AC> system-view

[AC] wlan ap-group group1

# Add AP 1 to AP group group1.

[AC-wlan-ap-group-group1] ap ap1

[AC-wlan-ap-group-group1] quit

# Create an AP group named group2.

[AC] wlan ap-group group2

# Add AP 2, AP 3, and AP 4 to AP group group2.

[AC-wlan-ap-group-group2] ap ap2 ap3 ap4

[AC-wlan-ap-group-group2] quit

[AC] quit

Verifying the configuration

# Verify that AP 1 is in AP group group1, and AP 2, AP 3, and AP 4 are in AP group group2.

[AC-wlan-ap-group-group2] display wlan ap-group

Total number of AP groups: 3

AP group name       : default-group

Description         : Not configured

AP model            : Not configured

APs                 : Not configured

 

AP group name       : group1

Description         : Not configured

AP model            : WA536-WW

AP grouping rules:

  AP name           : ap1

  Serial ID         : Not configured

  MAC address       : Not configured

  IPv4 address      : Not configured

  IPv6 address      : Not configured

APs                 : ap1 (AP name)

 

AP group name       : group2

Description         : Not configured

AP model            : WA536-WW

AP grouping rules:

  AP name           : ap2, ap3, ap4

  Serial ID         : Not configured

  MAC address       : Not configured

  IPv4 address      : Not configured

  IPv6 address      : Not configured

APs                 : ap2 (AP name), ap3 (AP name), ap4 (AP name)

 

  • 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
新华三官网