Professional Documents
Culture Documents
8 WDS Configuration
This chapter describes how to configure the WLAN Wireless Distribution System
(WDS). Different from APs on a traditional WLAN, APs on a WDS network are
connected in wireless mode and can set up multi-hop wireless links.
Definition
A wireless distribution system (WDS) connects two or more wired or wireless LANs
wirelessly to establish a large network.
Purpose
On a traditional WLAN, APs exchange data with STAs using wireless channels and
connect to a wired network through uplinks. To expand the coverage area of a
wireless network, APs need to be connected by switches. This deployment involves
high costs and takes a long time. In some places, such as subways, tunnels, and
docks, it is difficult to connect APs to the Internet through wired links. WDS
technology can connect APs wirelessly in these places, which reduces network
deployment costs, makes the network easy to expand, and allows flexible
networking.
WDS Concepts
WDS network
AP VAP:
Root wired
STA VAP: VAP12
interface
VAP13
VAP0
AP3 AP2 AP1
(leaf) (middle) (root) AC
STA Internet
STA
Switch
Endpoint STA
wired
interface
LAN
: Service wireless virtual link
: Management wireless virtual link
PC
On a WDS network, one wired interface must work in root mode to connect to the
wired network.
WDS Implementation
● AP online process
After WDS is enabled on an AP, the AP automatically creates WDS VAPs (AP
VAP and STA VAP). The AP uses the WDS VAPs to set up WVLs with other APs.
The AP connects to the AC through the WVL and obtains configurations from
the AC.
● Service intercommunication
On a WDS network, service data is transmitted over the WVLs. After an AP
goes online, it needs to set up service links through WVLs. Figure 8-2 shows
how a service link is set up between AP2 and AP3 on the WDS network
shown in Figure 8-1.
AP3 AP2
(STA VAP) (AP VAP)
Probe Request
1
Probe Response
2
Authentication Request
3
Authentication Response
4
Association Request
5
Association Response
6
Access authentication
7
Key negotiation
8
a. Probe request
AP3 broadcasts a Probe Request frame carrying a WDS-Name field
(similar to SSID in WLAN service).
b. Probe response
AP2 receives the Probe Request frame and sends AP3 a Probe Response
frame.
c. Authentication request
After AP3 receives the Probe Response frame, it sends AP2 an
Authentication Request frame.
d. Authentication response
After AP2 receives the Authentication Request frame, it determines
whether to allow access from AP3, depending on the WDS whitelist
configuration:
▪ If the WDS whitelist is not enabled, AP2 allows access from AP3 and
sends an Authentication Response frame to notify AP3 that the
authentication has succeeded.
● After a service link is set up, APs periodically send link status messages to each other. If one
AP does not receive any from the other AP, it disconnects the service link and starts to set up
a new one.
● If the AC delivers new WDS parameter settings to APs, the APs use them to set up service
links.
AP1
STA Internet
AP2 AC
STA
LAN
● Point-to-multipoint deployment
As shown in Figure 8-4, AP1, AP2, and AP3 set up wireless virtual links with
AP4. Data from all STAs associating with AP1, AP2, and AP3 is forwarded by
AP4.
PC
LAN
STA
AP1
STA
Internet
STA
AP2 AP4 AC
STA
AP3
STA
LAN
Internet
5G 2.4G
STA STA PC PC
NOTE
In the figure, AP2 on 2.4 GHz radio functions as a leaf node for AP1 and AP2 on 5 GHz
radio functions as a root node for AP3.
If the APs supporting dual 5G radios, you can set radio 0 of the AP1 and AP2 to the 5G
radio.
Internet
AC
Switch PC
AP1
(root)
PC
AP2
(leaf) @2
AP3
(root)
WDS links. Currently, the WDS profile supports only the security policy
WPA2+PSK+AES.
● WDS whitelist profile: A WDS whitelist profile contains MAC addresses of
neighboring APs allowed to set up WDS links with an AP. After a WDS
whitelist profile is applied to an AP radio, only APs with MAC addresses in the
whitelist can access the AP, and other APs are denied. In the WDS, only APs
with radios working in root mode and middle mode can have a whitelist
configured. APs in leaf mode require no whitelist.
NOTE
● A neighboring AP with the MAC address in the whitelist can set up a wireless virtual
link with the local AP only after passing security authentication.
● If no WDS whitelist profile is used, all neighboring APs can access the local AP.
● AP group radio or AP radio: You can configure major feature parameters for
radios in an AP group or a specified AP radio, including the working channel
and bandwidth, antenna gain, transmit power, and radio coverage distance.
For example, when configuring the WDS function, configure the same channel
for radios of WDS APs.
● Radio profile: The radio profile is classified into the 2G and 5G radio profiles.
You can configure other radio parameters for WDS links through a radio
profile.
By default, the system provides the WDS profile default. By default, the security
profile default-wds is referenced by a WDS profile regardless of whether the WDS
profile is the default profile provided by the system or a WDS profile created by
users. The default username and password are available in AR Router Default
Usernames and Passwords (Enterprise Network or Carrier). If you have not
obtained the access permission of the document, see Help on the website to find
out how to obtain it. If the default security profile default-wds is used, you are
advised to change the security key of the profile to ensure security.
● When dual-band APs are used on WDS networks, the root AP and leaf AP
cannot use radio 0 or radio 1 simultaneously to establish a WDS link.
● When configuring the WDS function, ensure that the root, middle, and leaf
nodes use the same WDS profile; otherwise, WDS links cannot be set up or
the existing WDS links get disconnected.
● Avoid using radar channels to configure WDS links; otherwise, the following
problems may occur:
– Establishing WDS links on radar channels takes several minutes or several
ten minutes longer than establishing WDS links on non-radar channels.
– Radar signals cause disconnection of established WDS links.
● If WDS services are configured on an AP radio, WIDS on the radio does not
take effect.
● Radio calibration does not take effect on radios enabled with WDS functions.
● If you set the CAPWAP heartbeat interval or the number of heartbeat packet
transmissions too small using the capwap echo interval interval-value or
capwap echo times times-value command, WDS links may fail to be
established. Therefore, you are advised to use the default values.
● If WDS is enabled simultaneously with dual-link backup, the AC sends
CAPWAP heartbeat packets three times at an interval of 25 seconds by
default. This may cause unstable WDS links status and result in user access
failures. You are advised to run the capwap echo times times-value
command to set the number of heartbeat packet transmissions to 6 or a
larger value.
● Create an AP group.
● Configure network interconnections.
● Configure AC system parameters.
Procedure
Perform the following steps in the listed order.
8.7.1 Adding an AP
Context
You can add APs in any of the following modes:
● Importing APs offline: The APs' MAC addresses and serial numbers (SNs) are
configured on an AC before APs go online. The AC starts to set up connections
with the APs if the MAC addresses or SNs of the APs match the configured
ones.
● Configuring the AC to automatically discover an AP: The AP authentication
mode is set to no authentication; alternatively, the AP authentication mode is
set to MAC or SN authentication and the AP whitelist is configured on the AC.
When an AP in the whitelist connects to the AC, the AC discovers the AP, and
the AP goes online.
● Manually confirming APs added to the list of unauthorized APs: The AP
authentication mode is set to MAC or SN authentication, and the AP whitelist
is configured on the AC. When an AP out of the whitelist connects to the AC,
the AC adds the AP to the list of unauthorized APs. After the AP identity is
confirmed, the AP can go online.
STA AC
LAN
STA
Procedure
● Add an AP offline.
a. Run the system-view command to enter the system view.
b. Run the wlan ac command to enter the WLAN view.
c. (Optional) Run the ap blacklist mac ap-mac1 [ to ap-mac2 ] command
to add the AP to an AP blacklist.
By default, no AP is in an AP blacklist.
d. Run the ap auth-mode { mac-auth | sn-auth } command to set the AP
authentication mode to MAC address authentication or SN
authentication.
The non-authentication mode brings security risks. You are advised to set
the authentication mode to MAC address authentication or SN
authentication, which is more secure.
– Set the AP authentication mode to MAC address or SN authentication.
i. Run the system-view command to enter the system view.
ii. Run the wlan ac command to enter the WLAN view.
By default, no AP is in an AP blacklist.
d. Run the ap auth-mode { mac-auth | sn-auth } command to set the AP
authentication mode to MAC address authentication or SN
authentication.
----End
Context
To ensure that WDS links can be set up successfully on a WDS network, you need
to configure radio parameters for WDS links according to actual service
requirements.
● On a WDS network, radios of APs must work on the same channel.
● You need to configure the radio coverage distance parameter based on
distances between APs. The APs automatically adjust the values of
acktimeout, slottime, and ctstimeout based on the configured distance
parameter to set up WDS links correctly.
Procedure
Step 1 Run system-view
The system view is displayed.
Step 2 Run wlan ac
The WLAN view is displayed.
Step 3 Enter the radio view.
● Enter the AP group radio view.
a. Run the ap-group name group-name command to enter the AP group
view.
b. Run the radio radio-id command to enter the radio view.
● Enter the AP radio view.
a. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to
enter the AP view.
b. Run the radio radio-id command to enter the radio view.
Step 4 Run channel { 20mhz | 40mhz-minus | 40mhz-plus | 80mhz | 160mhz } channel
or channel 80+80mhz channel1 channel2
The working bandwidth and channel are configured for the radio.
By default, the working bandwidth of a radio is 20 MHz, and no working channel
is configured for a radio.
On a WDS network, radios of APs must work on the same channel.
The 80 MHz, 160 MHz, and 80+80 MHz working bandwidths are only supported in
the 5G radio view.
Working channels of radios vary according to countries and regions. To conform to
local laws and regulations, you need to configure different working channels
under different country codes. You can run the display ap configurable channel
{ ap-name ap-name | ap-id ap-id } command to check the channels supported by
the specified AP.
Step 5 Run coverage distance distance
The radio coverage distance parameter is specified.
By default, the radio coverage distance parameter is 3 (unit: 100 m) for all radios.
You can configure the radio coverage distance parameter based on distances
between APs and the APs automatically adjust the values of slottime, acktimeout,
and ctstimeout based on the configured distance parameter to improve data
transmission efficiency.
Step 6 Run antenna-gain antenna-gain
The antenna gain is configured for the radio.
By default, no antenna gain is configured for AP radios.
The antenna gain is the ratio of the power density produced by an antenna to the
power density that should be obtained at the same point if the power accepted by
the antenna were radiated equally. It can measure the capability for an antenna to
receive and send signals in a specified direction, which is one of the most
important parameters to select a BTS antenna. In the same condition, if the
antenna gain is high, the wave travels far.
The antenna gain of an AP radio configured using the command must be
consistent with the gain of the antenna connected to the AP.
The maximum antenna gain should comply with laws and regulations of the
corresponding country. For details, see the Country Code & Channel Compliance
Table.
Step 7 Run eirp eirp
The transmit power is configured for the radio.
By default, the transmit power of a radio is 127 dBm.
You can configure the transmit power for a radio based on actual network
environments, enabling radios to provide the required signal strength and
improving signal quality on WLANs.
Step 8 Run frequency 5g
Radio 0 is configured to work on the 5 GHz frequency band.
By default, radio 0 works on the 2.4 GHz frequency band, and radio 2 work on the
5 GHz frequency band.
Step 9 Run quit
Return to the AP group view or AP view.
Step 10 Run quit
Return to the WLAN view.
Step 11 Run radio-2g-profile name profile-name or radio-5g-profile name profile-name
The 2G or 5G radio profile view is displayed.
Step 12 Run wifi-light signal-strength
The blinking frequency of the Wireless indicator on the AP is configured to reflect
the signal strength.
By default,
● If WDS is enabled on an AP, the blinking frequency of the Wireless LED
reflects the strength of signals received from a WDS AP.
– If the AP works in leaf mode, the blinking frequency of the Wireless LED
reflects the strength of signals received from a middle AP.
– If the AP works in middle mode, the blinking frequency of the Wireless
LED reflects the strength of signals received from a root AP.
– If the AP works in root mode, the blinking frequency of the Wireless LED
reflects the weakest signal strength of middle APs.
● If the WDS functions are disabled on an AP, the blinking frequency of the
Wireless LED reflects the service traffic volume on the radio.
During installation and commissioning of an AP that has the WDS function
enabled, you need to adjust AP locations and antenna directions to obtain strong
signals. If the blinking frequency of the Wireless LED shows the signal strength,
onsite installation personnel can know the signal strength in real time. The wifi-
light command allows you to specify the parameter reflected by the blinking
frequency of the Wireless LED. For example, you can specify the parameter to
signal strength during installation and service traffic volume after installation.
NOTE
This command takes effect only when the AP has the WDS function enabled. If the WDS
functions are disabled on the AP, the Wireless LED always shows service traffic volume.
Step 13 (Optional) Configure the frame aggregation function and length of the
aggregated frames.
The frame aggregation function can improve the channel resource usage efficiency
and overall WDS network performance.
● Configure the frame aggregation function for the 802.11n protocol.
a. Run the undo ht a-mpdu disable command to enable the frame
aggregation function for the 802.11n protocol.
By default, aggregation of MPDUs is enabled.
b. Run the ht a-mpdu max-length-exponent max-length-exponent-index
command to set the length of aggregated frames for the 802.11n
protocol.
By default, the index for the maximum length of an A-MPDU is 3. The
maximum length of the A-MPDU is 65535 bytes.
● Configure the frame aggregation function for the 802.11ac protocol.
Run the vht a-mpdu max-length-exponent max-length-exponent-index
command to set the length of aggregated frames for the 802.11ac protocol.
By default, the index for the maximum length of an A-MPDU is 7. The
maximum length of the A-MPDU is 1048575 bytes.
NOTE
----End
Follow-up Procedure
In the AP group view or AP view, run the radio-2g-profile profile-name { radio
{ radio-id | all } } or radio-5g-profile profile-name { radio { id | all } } command
to bind the 2.4G or 5G radio profile to the AP radio. Alternatively, you can run the
radio-2g-profile profile-name or radio-5g-profile profile-name command in the
AP group radio view or AP radio view to bind the 2.4G or 5G radio profile to the
AP radio.
Context
You can configure the wired interface on a root AP to connect to the AC or
configure the wired interface on an AP to deploy a Layer 2 network or directly
associate with STAs.
Procedure
Step 1 Run system-view
An AP wired port profile is created and the AP wired port profile view is displayed.
NOTE
----End
Follow-up Procedure
Run the wired-port-profile profile-name interface-type interface-number
command in the AP group view or AP view to bind the specified AP wired port
profile to the AP's wired interface.
Context
You need to configure a security profile and a security policy for the WDS to
ensure security. Currently, the security policy can only be WPA2+PSK+AES. For
details about WPA2, PSK, and AES, see 7 WLAN Security Configuration.
By default, the system provides the WDS profile default. By default, the security
profile default-wds is referenced by a WDS profile regardless of whether the WDS
profile is the default profile provided by the system or a WDS profile created by
users. The default username and password are available in AR Router Default
Usernames and Passwords (Enterprise Network or Carrier). If you have not
obtained the access permission of the document, see Help on the website to find
out how to obtain it. If the default security profile default-wds is used, you are
advised to change the security key of the profile to ensure security.
Procedure
Step 1 Run system-view
By default, security profiles default and default-wds are available in the system.
----End
NOTE
● WDS links can be set up only when neighboring APs with MAC addresses in the whitelist
succeed in authentication.
● If the AP uses no whitelist, all the neighboring APs can connect to the bridge.
Procedure
Step 1 Run system-view
The system view is displayed.
Step 2 Run wlan ac
The WLAN view is displayed.
Step 3 Run wds-whitelist-profile name whitelist-name
A WDS whitelist profile is created, and the WDS whitelist profile view is displayed.
By default, no WDS whitelist profile is available in the system.
Step 4 Run peer-ap mac mac-address
MAC addresses of neighboring APs that are allowed to connect to an AP are
added to the WDS whitelist profile.
By default, no MAC address of a neighboring AP is added to a WDS whitelist
profile.
Step 5 Run quit
Return to the WLAN view.
Step 6 Enter the radio view.
● Enter the AP group radio view.
a. Run the ap-group name group-name command to enter the AP group
view.
b. Run the radio radio-id command to enter the radio view.
● Enter the AP radio view.
a. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to
enter the AP view.
b. Run the radio radio-id command to enter the radio view.
Step 7 Run wds-whitelist-profile whitelist-name
----End
Context
A WDS profile contains major parameters required for configuring the WDS
function. To enable radios of an AP group or a specified AP to set up WDS links, a
WDS profile must be applied to the radios.
Procedure
Step 1 Run system-view
A WDS name is set for the WDS profile. WDS nodes use a WDS name to identify
connections between them.
NOTE
By default, the system provides the WDS profile default. By default, the security profile
default-wds is referenced by a WDS profile regardless of whether the WDS profile is the
default profile provided by the system or a WDS profile created by users. The default
username and password are available in AR Router Default Usernames and Passwords
(Enterprise Network or Carrier). If you have not obtained the access permission of the
document, see Help on the website to find out how to obtain it. If the default security
profile default-wds is used, you are advised to change the security key of the profile to
ensure security.
NOTE
NOTE
After a DHCP trusted port is enabled in a WDS profile and the WDS profile is applied to an
AP, the AP receives the DHCP OFFER, ACK, and NAK packets sent by authorized DHCP
servers and forwards the packets to STAs so that the STAs can obtain valid IP addresses and
go online.
0-7 0
8-15 1
16-23 2
24-31 3
32-39 4
40-47 5
48-55 6
56-63 7
Step 12 Apply the WDS profile. You can use any of the following methods according to
actual situations:
NOTE
A WDS link uses the VAPs with the WLAN ID 13 and ID 14, which cannot be occupied by other
WLAN services.
● Bind the WDS profile to an AP group.
a. Run the ap-group name group-name command to enter the AP group
view.
b. Run the wds-profile profile-name radio { all | radio-id } command to
bind the WDS profile to the AP group.
By default, no WDS profile is bound to an AP group or AP.
● Bind the WDS profile to an AP.
a. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to
enter the AP view.
b. Run the wds-profile profile-name radio { all | radio-id } command to
bind the WDS profile to the AP.
By default, no WDS profile is bound to an AP group or AP.
● Bind the WDS profile to AP group radios.
a. Run the ap-group name group-name command to enter the AP group
view.
b. Run the radio radio-id command to enter the radio view.
c. Run the wds-profile profile-name command to bind the WDS profile to
AP group radios.
By default, no WDS profile is bound to an AP radio.
● Bind the WDS profile to an AP radio.
a. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to
enter the AP view.
b. Run the radio radio-id command to enter the radio view.
c. Run the wds-profile profile-name command to bind the WDS profile to
the AP radio.
By default, no WDS profile is bound to an AP radio.
----End
Prerequisites
The WDS configuration is complete.
Procedure
● Run the display references wds-profile name profile-name command to
check reference information of a specified WDS profile.
● Run the display wds-profile { all | name profile-name } command to check
information of a WDS profile.
● Run the display references wds-whitelist-profile name whitelist-name
command to check reference information of a specified WDS whitelist profile.
● Run the display wds-whitelist-profile { all | name whitelist-name }
command to check information of a WDS whitelist profile.
----End
Context
During WDS network deployment, you can configure antenna alignment VAPs for
WDS nodes to facilitate antenna alignment between neighboring APs. When
commissioning the network onsite, connect a mobile terminal to an antenna
alignment VAP and start the antenna alignment program on the terminal to
collect signal strength information of the peer AP radio. The collected information
boosts easy antenna alignment operations.
You can log in to Huawei technical support website and search for Probe Handset
Unit to download the Antenna Alignment program.
● Enterprise technical support website: https://support.huawei.com/enterprise
● Carrier technical support website: https://support.huawei.com
Procedure
Step 1 Run system-view
NOTE
The antenna alignment VAP supports only the WEP or WPA/WPA2 PSK authentication mode.
You can run the security wep share-key and wep key key-id { wep-40 | wep-104 | wep-128 }
{ pass-phrase | hex } key-value commands to configure WEP authentication.
----End
Switch_A
GE0/0/2 GE0/0/3
Network
GE0/0/1 GE1/0/0
AC1 GE0/0/1 AC2
10.23.101.2/24
Management VLAN: VLAN 100
Service VLAN: VLAN 101
GE0/0/2
Switch_B
AP_1 Area A
(root)
AP_2 Area B
(leaf)
GE0/0/2
Switch_C
GE0/0/1
AP_3
(root)
AP_4 Area C
(leaf)
VLAN 101 PC
Wireless virtual
link
Data Planning
DHCP server AC1 functions as the DHCP server for APs, and
Switch_A functions as the DHCP server for STAs.
Item Data
Configuration Roadmap
1. Configure WDS links between Area A and Area B so that AP_1 and AP_2 can
go online on AC1.
2. Configure Switch_C to enable AP_2 and AP_3 to communicate with each other
through a wired network.
3. Configure WDS links between Area B and Area C so that AP_4 can go online
on AC1.
4. Configure the wired interface of AP_4 to allow the wired PC connected to it to
access the network.
Procedure
1. Configure the network devices.
# On Switch_B, add GE0/0/1 and GE0/0/2 to VLAN 100 and VLAN 101, and
specify VLAN 100 as the default VLAN of GE0/0/1.
<HUAWEI> system-view
[HUAWEI] sysname Switch_B
If AC1 is directly connected to APs, set the default VLAN of AC1's interface connected
to the APs to the management VLAN 100.
# On AC1, add GE0/0/1 to VLAN 100.
<HUAWEI> system-view
[HUAWEI] sysname AC1
[AC1] vlan batch 100 to 101
[AC1] interface gigabitEthernet 0/0/1
[AC1-GigabitEthernet0/0/1] port link-type trunk
[AC1-GigabitEthernet0/0/1] port trunk allow-pass vlan 100
[AC1-GigabitEthernet0/0/1] quit
Configure an IP address for the DNS server based on site requirements. The common
methods are as follows:
● In the interface address pool scenario, run the dhcp server dns-list ip-address
&<1-8> command in the VLANIF interface view.
● In the global address pool scenario, run the dns-list ip-address &<1-8> command
in the IP address pool view.
[Switch_A] dhcp enable
[Switch_A] interface vlanif 101
[Switch_A-Vlanif101] ip address 10.23.101.1 24
[Switch_A-Vlanif101] dhcp select interface
[Switch_A-Vlanif101] quit
4. On AC1, create AP groups, and configure the country code and source
interface.
# Create AP groups wds-root1 and wds-root2 for root APs and AP groups
wds-leaf1 and wds-leaf2 for leaf APs.
[AC1] wlan ac
[AC1-wlan-view] ap-group name wds-root1
[AC1-wlan-ap-group-wds-root1] quit
[AC1-wlan-view] ap-group name wds-root2
[AC1-wlan-ap-group-wds-root2] quit
[AC1-wlan-view] ap-group name wds-leaf1
[AC1-wlan-ap-group-wds-leaf1] quit
[AC1-wlan-view] ap-group name wds-leaf2
[AC1-wlan-ap-group-wds-leaf2] quit
# Create a regulatory domain profile, configure the country code for AC1 in
the profile, and bind the profile to the AP groups.
[AC1-wlan-view] regulatory-domain-profile name domain1
[AC1-wlan-regulate-domain-domain1] country-code cn
[AC1-wlan-regulate-domain-domain1] quit
[AC1-wlan-view] ap-group name wds-root1
[AC1-wlan-ap-group-wds-root1] regulatory-domain-profile domain1
Warning: This configuration change will clear the channel, power, and antenna gain configurations of
radios, and may restart APs. Continue?[Y/N]:y
[AC1-wlan-ap-group-wds-root1] quit
[AC1-wlan-view] ap-group name wds-root2
[AC1-wlan-ap-group-wds-root2] regulatory-domain-profile domain1
Warning: This configuration change will clear the channel, power, and antenna gain configurations of
radios, and may restart APs. Continue?[Y/N]:y
[AC1-wlan-ap-group-wds-root2] quit
[AC1-wlan-view] ap-group name wds-leaf1
[AC1-wlan-ap-group-wds-leaf1] regulatory-domain-profile domain1
Warning: This configuration change will clear the channel, power, and antenna gain configurations of
radios, and may restart APs. Continue?[Y/N]:y
[AC1-wlan-ap-group-wds-leaf1] quit
[AC1-wlan-view] ap-group name wds-leaf2
[AC1-wlan-ap-group-wds-leaf2] regulatory-domain-profile domain1
Warning: This configuration change will clear the channel, power, and antenna gain configurations of
radios, and may restart APs. Continue?[Y/N]:y
[AC1-wlan-ap-group-wds-leaf2] quit
On a WDS network, radios that set up WDS links must work on the same channel.
[AC1-wlan-view] ap-group name wds-root1
[AC1-wlan-ap-group-wds-root1] radio 1
[AC1-wlan-group-radio-wds-root1/1] channel 80mhz 157
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC1-wlan-group-radio-wds-root1/1] coverage distance 4
[AC1-wlan-group-radio-wds-root1/1] quit
[AC1-wlan-ap-group-wds-root1] quit
[AC1-wlan-view] ap-group name wds-root2
[AC1-wlan-ap-group-wds-root2] radio 1
[AC1-wlan-group-radio-wds-root2/1] channel 80mhz 149
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC1-wlan-group-radio-wds-root2/1] coverage distance 4
[AC1-wlan-group-radio-wds-root2/1] quit
[AC1-wlan-ap-group-wds-root2] quit
# Configure the security profile wds-sec used by WDS links, and set the
security policy to WPA2+PSK+AES.
[AC1-wlan-view] security-profile name wds-sec
[AC1-wlan-sec-prof-wds-sec] security wpa2 psk pass-phrase a1234567 aes
[AC1-wlan-sec-prof-wds-sec] quit
# Configure the WDS profile wds-net1. Set the WDS name to wds-net and
the WDS mode to root. Bind the security profile wds-sec to the WDS profile,
allowing packets from the service VLAN 101 to pass through in tagged mode.
[AC1-wlan-view] wds-profile name wds-net1
[AC1-wlan-wds-prof-wds-net1] wds-name wds-net
[AC1-wlan-wds-prof-wds-net1] wds-mode root
[AC1-wlan-wds-prof-wds-net1] security-profile wds-sec
[AC1-wlan-wds-prof-wds-net1] vlan tagged 101
[AC1-wlan-wds-prof-wds-net1] quit
# Configure the WDS profile wds-net2. Set the WDS name to wds-net and
the WDS mode to root. Bind the security profile wds-sec to the WDS profile,
allowing packets from the service VLAN 101 to pass through in tagged mode.
[AC1-wlan-view] wds-profile name wds-net2
[AC1-wlan-wds-prof-wds-net2] wds-name wds-net
[AC1-wlan-wds-prof-wds-net2] wds-mode root
[AC1-wlan-wds-prof-wds-net2] security-profile wds-sec
[AC1-wlan-wds-prof-wds-net2] vlan tagged 101
[AC1-wlan-wds-prof-wds-net2] quit
# Configure the WDS profile wds-net3. Set the WDS name to wds-net and
the WDS mode to leaf. Bind the security profile wds-sec to the WDS profile,
allowing packets from the service VLAN 101 to pass through in tagged mode.
[AC1-wlan-view] wds-profile name wds-net3
[AC1-wlan-wds-prof-wds-net3] wds-name wds-net
[AC1-wlan-wds-prof-wds-net3] wds-mode leaf
[AC1-wlan-wds-prof-wds-net3] security-profile wds-sec
[AC1-wlan-wds-prof-wds-net3] vlan tagged 101
[AC1-wlan-wds-prof-wds-net3] quit
# Bind the WDS whitelist wds-list1 to radio 1 of APs in the AP group wds-
root1 to permit access only from AP_2. Bind the WDS whitelist wds-list2 to
radio 1 of APs in the AP group wds-root2 to permit access only from AP_4.
[AC1-wlan-view] ap-group name wds-root1
[AC1-wlan-ap-group-wds-root1] radio 1
[AC1-wlan-group-radio-wds-root1/1] wds-whitelist-profile wds-list1
[AC1-wlan-group-radio-wds-root1/1] quit
[AC1-wlan-ap-group-wds-root1] quit
[AC1-wlan-view] ap-group name wds-root2
[AC1-wlan-ap-group-wds-root2] radio 1
[AC1-wlan-group-radio-wds-root2/1] wds-whitelist-profile wds-list2
[AC1-wlan-group-radio-wds-root2/1] quit
[AC1-wlan-ap-group-wds-root2] quit
6. Configure the AP wired port profile wired-port used by the wired interface of
AP_4 and set the working mode of AP_4's wired interface to endpoint. In this
example, the PVID of the wired interface of AP_4 is set to VLAN 101 and the
wired interface is added to VLAN 101 in untagged mode.
[AC1-wlan-view] wired-port-profile name wired-port
[AC1-wlan-wired-port-wired-port] mode endpoint
Warning: If the AP goes online through a wired port, the incorrect port mode configuration will cause
the AP to go out of management. This fault can be recovered only by modifying the configuration on
the AP. Continue? [Y/N]:y
[AC1-wlan-wired-port-wired-port] vlan pvid 101
[AC1-wlan-wired-port-wired-port] vlan untagged 101
[AC1-wlan-wired-port-wired-port] quit
7. Bind WDS profiles to the AP groups to make WDS services take effect.
# Bind the WDS profile wds-net1 to the AP group wds-root1.
[AC1-wlan-view] ap-group name wds-root1
[AC1-wlan-ap-group-wds-root1] wds-profile wds-net1 radio 1
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC1-wlan-ap-group-wds-root1] quit
# Bind the WDS profile wds-net3 and AP wired port profile wired-port to the
AP group wds-leaf2.
NOTE
After binding the AP wired port profile in endpoint mode to the AP groups, configure
the APs to go online on AC1 and obtain configurations. Then restart the APs to make
the configurations take effect.
[AC1-wlan-view] ap-group name wds-leaf2
[AC1-wlan-ap-group-wds-leaf2] wds-profile wds-net3 radio 1
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC1-wlan-ap-group-wds-leaf2] wired-port-profile wired-port gigabitethernet 0
[AC1-wlan-ap-group-wds-leaf2] quit
[AC1-wlan-view] quit
[AC1] quit
Run the display wlan wds link all command to check information about
WDS links.
<AC1> display wlan wds link all
Rf : radio ID Dis : coverage distance(100m)
Ch : channel Per : drop percent(%)
TSNR : total SNR(dB) P- : peer
WDS : WDS mode Re : retry ratio(%)
RSSI : RSSI(dBm) MaxR : max RSSI(dBm)
-------------------------------------------------------------------------------------------------
APName P-APName Rf Dis Ch WDS P-Status RSSI MaxR Per Re TS NR
SNR(Ch0~3:dB)
-------------------------------------------------------------------------------------------------
AP_1 AP_2 1 4 157 root normal -44 -40 0 3 50 45/49/-/-
AP_2 AP_1 1 4 157 leaf normal -38 -36 0 49 57 36/31/57/-
AP_3 AP_4 1 4 149 root normal -11 -7 0 1 83 81/80/-/-
AP_4 AP_3 1 4 149 leaf normal -4 -4 0 0 91 90/85/-/-
-------------------------------------------------------------------------------------------------
Total: 4
Verify that the APs go online and restart AP_4 to make the working mode of
the AP's wired interface take effect.
<AC1> system-view
[AC1] wlan
[AC1-wlan-view] ap-reset ap-group wds-leaf2
Warning: Reset AP(s), continue?[Y/N]:y
Configuration Files
● Switch_A configuration file
#
sysname Switch_A
#
vlan batch 100 to 101
#
dhcp enable
#
interface Vlanif101
ip address 10.23.101.1 255.255.255.0
dhcp select interface
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100 to 101
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 101
#
return