HCIA-WLAN V3.0 Lab Guide
HCIA-WLAN V3.0 Lab Guide
HCIA-WLAN
ISSUE:3.0
1
Machine Translated by Google
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei
and the customer. All or part of the products, services and features described in this document may
not be within the purchase scope or the usage scope.
Unless otherwise specified in the contract, all statements, information, and recommendations in this
document are provided "AS IS" without warranties, guarantees or representations of any kind, either
express or implied.
The information in this document is subject to change without notice. Every effort has been made in
the preparation of this document to ensure accuracy of the contents, but all statements, information,
and recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: [Link]
Overview
This document is an HCIA-WLAN certification training course. It is intended for trainees who are
preparing for the HCIA-WLAN exam or readers who want to understand Huawei WLAN basics,
implementation, CAPWAP protocol, networking modes, features and security configurations of Huawei
WLAN products, advanced WLAN technologies, antenna technology, WLAN troubleshooting, and
project deployment.
Description
This document contains six experiments, including basic VRP configuration, WLAN device upgrade,
WLAN Layer 2 off-path networking, WLAN Layer 3 off-path networking, and WLAN radio resource
management and troubleshooting.
ÿ Experiment 1 is about basic VRP configurations. This exercise helps you familiarize yourself with
the operations and commands related to Huawei wireless controllers.
ÿ Experiment 2: WLAN device upgrade. This exercise describes how to upgrade Huawei WLAN
devices, helping readers get familiar with the upgrade procedures and commands related
to AC and AP upgrade.
ÿ Experiment 3 is a Layer 2 bypass networking experiment. This experiment describes
how to configure Huawei WLAN Layer 2 networking and how to deploy a small-scale
WLAN.
ÿ Experiments 4 describe how to configure Huawei WLAN Layer 3 networking in bypass mode
using the CLI and web. This chapter helps readers learn how to configure Huawei WLAN
Layer 3 networking and configure medium- and large-sized WLANs.
Common Icons
Router PC STA
Device Introduction
The following table lists the recommended device configurations in each lab environment of HCIA-WLAN.
S5731-H24P4XC 2/group
AR2220E 1/group
Experiment topology
Contents
Overview.............................................................................................................................................................................................4
Description .........................................................................................................................................................................................4
Reference......................................................................................................................................................33
on SW1.......................................................................................................................................................45
Troubleshooting Roadmap..............................................................................................................................................56
6.2.2 Common WLAN Maintenance Commands ...............................................................................................................57
6.7 Appendix....................................................................................................................................................................................60
6.7.1 Common Commands.........................................................................................................................................................60
1
Basic VRP Configurations
1.1 Introduction
1.1.1 About This Lab
In this lab activity, you will learn the basic commands of Huawei devices by configuring an AC to communicate with a
switch.
1.1.2 Objectives
Understand the basic configuration of Huawei devices.
SW VLANIF 1 [Link]
AC VLANIF 1 [Link]
Configure IP addresses.
<Huawei>sys?
system-view SystemView from terminal
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]
# After entering the system view, run the sysname command to change the device name to
SW.
[Huawei]sysname SW
[SW]
# On the AC, enter the system view from the user view. Enter the first letters of a keyword in
a command, and enter a question mark (?) or press Tab to display a complete keyword.
<AirEngine9700-M>sys?
system-view SystemView from terminal
< AirEngine9700-M >sys
< AirEngine9700-M >system-view Enter
system view, return user view with Ctrl+Z.
[AirEngine9700-M]
# After entering the system view, run the sysname command to change the device name to
AC.
[AirEngine9700-M]sysname AC
[AM]
Configure IP addresses for the interfaces connecting the switch and AC according to the IP
address design.
# Set the IP address of VLANIF 1 on SW to [Link] and the subnet mask to 24.
# Set the IP address of VLANIF 1 on the AC to [Link] and the subnet mask to 24.
[AC]interface Vlanif 1
[AC-Vlanif1]ip address [Link] 24
# Run the display this command on the AC's interface to verify the configuration result.
[AC-Vlanif1]display this #
interface Vlanif1
ip address [Link] [Link]
#
return
# Run the ping command on SW to test the connectivity between the AC and SW. The
command output shows that SW can ping the AC.
[SW]ping [Link]
PING [Link]: 56 data bytes, press CTRL_C to break
Reply from [Link]: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from [Link]: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from [Link]: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from [Link]: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from [Link]: bytes=56 Sequence=5 ttl=255 time=10 ms
In the production environment, to prevent the configuration from becoming invalid after power-
off or fault recovery, save the device configuration.
# Run the save command in the user view of the AC and SW to save the device configurations.
If the message "saved successfully" is displayed, the configuration is saved successfully.
[SW]quit
<SW>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<SW>
[AC] he said
<AC>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file has been saved successfully
Note: The configuration file will take effect after being activated
<AM>
# If the eNSP simulator is used for the lab, save the topology after saving the device
configurations.
----End
1.3 Verification
1.3.1 Checking the Device Configuration After a Device Is
Restarted
# Run the reboot command to restart a device.
<SW>reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:y
Info: system is rebooting ,please wait...
# After the device restarts, run the display current-configuration command to check the device
configuration.
<SW>display current-configuration #
sysname SW
#
interface Vlanif1
ip address [Link] [Link] #
return
sysname SW #
interface Vlanif1
ip address [Link] [Link] #
return
sysname AND
#
interface Vlanif1
Return
2.1 Introduction
2.1.1 About This Lab
An enterprise has been using Huawei devices to build its WLAN. The enterprise wants to upgrade ACs and
APs to fix bugs in some versions and obtain new functions.
2.1.2 Objectives
ÿ Understand the reason why WLAN devices need an upgrade.
PC GE [Link]/24
AC VLANIF 1 [Link]/24
VLANIF 10 [Link]/24
Item Configuration
<AirEngine9700-M >system-view
[AirEngine9700-M]sysname AC
[AC]vlan batch 10
# Configure interface types on the AC and configure the AC to allow packets from the
corresponding VLANs to pass through according to Table 2-1.
[AC]interface Vlanif 1
[AC-Vlanif1]ip address [Link] 24
[AC-Vlanif1]quit
[AC]interface Vlanif 10
[AC-Vlanif10]ip address [Link] 24
[AC-Vlanif10]quit
<AC>ping [Link]
PING [Link]: 56 data bytes, press CTRL_C to break
Reply from [Link]: bytes=56 Sequence=1 ttl=128 time=2 ms
Reply from [Link]: bytes=56 Sequence=2 ttl=128 time=1 ms
Reply from [Link]: bytes=56 Sequence=3 ttl=128 time=1 ms
Reply from [Link]: bytes=56 Sequence=4 ttl=128 time=1 ms
Reply from [Link]: bytes=56 Sequence=5 ttl=128 time=1 ms
<AC>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AirEngine9700-M V200R019C00SPC300)
Copyright (C) 2011-2019 HUAWEI TECH CO., LTD
Huawei AirEngine9700-M Router uptime is 0 week, 5 days, 17 hours, 59 minutes
2. MAB Version : 0
3. Board Type : AirEngine9700-M
4. CPLD0 Version : 273
5. CPLD1 Version : 277
6. CPLD2 Version : 273
7. BootROM Version : 1080
PWRCARD I information
PCB Version : PWR VER [Link]
<AC>ftp [Link]
Trying [Link] ...
Press CTRL+K to abort
Connected to [Link].
220 3Com 3CDaemon FTP server 2.0
User([Link]:(none)):admin
331 Correct user name. Enter the password.
Enter password:
230 You have successfully logged in.
[AC-ftp]
# Run the dir command to check the files in the current directory.
[AC-ftp]dir
200 PORT The command is executed successfully.
150 The file status is normal. Ready to start the data connection. -rwxrwxrwx 1
owner group 89296660 May 25 17:32 AirEngine9700-M_V200R019C00SPC500.cc
-rwxrwxrwx 1 owner group 21255580 May 22 17:07 FitAirEngine5760-10_V200R019C00SPC800.bin
226 The data connection is being closed.
FTP: 1858 byte(s) received in 0.134 second(s) 13.86Kbyte(s)/sec.
# Run the get command to download the software packages of the AC and AP to the AC.
[AC-ftp]get AirEngine9700-M_V200R019C00SPC500.cc
200 PORT The command is executed successfully.
150 The file status is normal. Ready to start the data connection.
226 Closing the data connection. The file is successfully transferred.
FTP: 89296660 byte(s) received in 515.622 second(s) 173.18Kbyte(s)/sec.
Now begins to save file, please
wait.................................................................................................................................................................................................
.............................
File has been saved successfully.
[AC-ftp]get FitAirEngine5760-10_V200R019C00SPC800.bin
200 PORT The command is executed successfully.
150 The file status is normal. Ready to start the data connection.
226 Closing the data connection. The file is successfully transferred.
FTP: 21255580 byte(s) received in 14.445 second(s) 1471.48Kbyte(s)/sec.
Now begins to save file, please
wait.................................................................................................................................................................................................
.............................................................................................
File has been saved successfully.
Configure the downloaded AC software package as the startup configuration software package
to upgrade the AC.
# Run the display startup command to check the startup software package of the AC.
<AC>display startup
Configed startup system software: flash:/AirEngine9700-M_V200R019C00SPC300.cc
Startup system software: flash:/AirEngine9700-M_V200R019C00SPC300.cc
Next startup system software: flash:/AirEngine9700-M_V200R019C00SPC300.cc
Startup saved-configuration file: flash:/[Link]
Next startup saved-configuration file: flash:/[Link]
Startup patch package: NULL
Next startup patch package: NULL
<AC>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait........
Configuration file has been saved successfully
Note: The configuration file will take effect after being activated
<AC>reboot fast
System will reboot! Continue ? [y/n]:y
# After the AC restarts, run the display version command to check the running device version.
<AC>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AirEngine9700-M V200R019C00SPC500)
Copyright (C) 2011-2020 HUAWEI TECH CO., LTD
Huawei AirEngine9700-M Router uptime is 0 week, 0 day, 0 hour, 0 minute
PWRCARD I information
PCB Version : PWR VER [Link]
# The command output shows that the AC version is V200R019C00SPC500, indicating that
the upgrade is successful.
[AC]dhcp enable
[AC]interface Vlanif 10
[AC-Vlanif10]dhcp select interface
[AC-Vlanif10] said
[AND] wool
[AC-wlan-view]ap auth-mode no-auth
[AC-wlan-view]display ap all
Total AP information:
vmiss : ver-mismatch [1]
ExtraInfo : Extra information
P : insufficient power supply
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
Total: 1
# The AP status is vmiss, indicating an AP version mismatch. If the major version numbers
are the same (for example, V200R019C00SPC500 and V200R019C00SPC800), vmiss is not
displayed and the AP can go online normally.
Warning: If an AP is performing the automatic upgrade, the AP will be upgraded to the latest version.
Continue?[Y/N]:y
Warning: If AP update mode is AC-mode, update-file's default path is sdcard:/. Continue?[Y/N]:y
Info: The current upgrade mode is AC mode, which may affect performance and take a long time. The FTP or SFTP upgrade
mode is recommended. Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.
done.
[AC-wlan-view]ap-reset all
Warning: Reset AP(s), continue?[Y/N]:y
<AC>display ap all
Total AP information:
dload : download [1]
ExtraInfo : Extra information
P : insufficient power supply
---------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------
Total: 1
# The AP status is dload, indicating that the AP is downloading the software package.
# Run the display ap update status all command to check the AP upgrade status.
--------------
--------------
--------------
Total: 1
# Wait for a period of time, and run the display ap all command again to check the AP
status.
<AC>display ap all
Total AP information:
nor : normal [1]
ExtraInfo : Extra information
P : insufficient power supply
------------------------------------------------------------------------------------------------
Total: 1
2.3 Verification
2.3.1 Verifying the AC and AP Upgrade Results
# Run the display version command on the AC to check the AC version. The command output shows
that the AC has been successfully upgraded.
<AC>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AirEngine9700-M V200R019C00SPC500)
Copyright (C) 2011-2020 HUAWEI TECH CO., LTD
Huawei AirEngine9700-M Router uptime is 0 week, 0 day, 0 hour, 0 minute
PWRCARD I information
PCB Version : PWR VER [Link]
# Run the display ap run-info ap-id 0 command on the AC to check the AP version. The command
output shows that the AP has been upgraded successfully.
AP type : AirEngine5760-10
Country code : CN
Software version : V200R019C00SPC800
Hardware version : Ver.A
BIOS version : 627
BOM version : 000
Memory size(MB) : 256
Flash size(MB) : 64
SD Card size(MB) :-
Manufacture : Huawei Technologies Co., Ltd.
Software vendor : Huawei Technologies Co., Ltd.
Online time(ddd:hh:mm:ss) : 16H:57M:1S
Run time(ddd:hh:mm:ss) : 16H:58M:12S
IP address : [Link]
IP mask : [Link]
Gateway : [Link]
DNS server : [Link]
AP mode : campus
GigabitEthernet port 0
Port speed(Mbps) : 1000
Port speed mode : auto
Port duplex : full
Port duplex mode : auto
Port state : up
STP down recovery time(ddd:hh:mm:ss) :-
Card status :
-----------------------------------------------------------------------------------------------------
sysname AND
#
vlan batch 10
#
dhcp enable
#
interface Vlanif1
ip address [Link] [Link]
#
interface Vlanif10
ip address [Link] [Link]
dhcp select interface
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
wlan
ap auth-mode no-auth #
return
3.1 Introduction
3.1.1 About This Lab
On a Layer 2 WLAN, network traffic is usually sent to the upper-layer network through a
switch, without passing through an AC. This networking mode applies to small- and
medium-scale centralized WLANs.
3.1.2 Objectives
ÿ Understand the Layer 2 networking mode.
ÿ Understand the advantages of off-path networking.
ÿ Learn how to configure WLAN services.
PVID: 1
GE0/0/2 Trunk
SW1 Allow-pass: VLAN 10
PVID: 1
GE0/0/3 Trunk
Allow-pass: VLANs 10 and 20
PVID: VLAN 10
GE0/0/1 Trunk
Allow-pass: VLANs 10 and 20
PVID: VLAN 10
SW2 GE0/0/2 Trunk
Allow-pass: VLANs 10 and 20
PVID: 1
GE0/0/3 Trunk
Allow-pass: VLANs 10 and 20
PVID: VLAN 1
AC GE0/0/2 Trunk
Allow-pass: VLAN 10
R1 GE0/0/1 [Link]/24
VLANIF 20 [Link]/24
SW1
VLANIF 30 [Link]/24
AC VLANIF 10 [Link]/24
Item Configuration
Name: Huawei
AP group Referenced profiles: VAP profile and regulatory domain profile
Name: Huawei
Regulatory domain profile
Country code: CN
Name: Huawei
SSID profile
SSID name: Huawei
Name: Huawei
Name: Huawei
Configure VLANs and interface types on the devices to ensure that services can be
transparently transmitted at Layer 2.
# Create VLAN 10, VLAN 20, and VLAN 30 on SW1.
<Huawei>system-view
[Huawei]sysname SW1
[SW1]vlan batch 10 20 30
# Configure interface types on SW1 and configure SW1 to allow packets from the
corresponding VLANs to pass through according to Table 3-1.
<Huawei>system-view
[Huawei]sysname SW2
[SW2]vlan batch 10 20
# Configure interface types on SW2 and configure SW2 to allow packets from the
corresponding VLANs to pass through according to Table 3-1.
<AC6508>system-view
[AC6508]sysname AC
[AC]vlan batch 10
# Configure interface types on the AC and configure the AC to allow packets from the
corresponding VLANs to pass through according to Table 3-1.
Configure IP addresses and routing information on the devices to ensure network connectivity.
[SW1]interface Vlanif 20
[SW1-Vlanif20]ip address [Link] 24
[SW1-Vlanif20]quit
[SW1]interface Vlanif 30
[SW1-Vlanif30]ip address [Link] 24
[SW1-Vlanif30]quit
# Create VLANIF 10 on the AC and configure an IP address for the VLANIF interface.
[AC]interface Vlanif 10
[AC-Vlanif10]ip address [Link] 24
[AC-Vlanif10]quit
# On R1, configure an IP address for the interface connected to SW1 and create a static route
destined for the STA network segment.
<Huawei>system-view
[Huawei]sysname R1
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]ip address [Link] 24 [R1-
GigabitEthernet0/0/1]quit
# Ping the IP address [Link] on R1 from SW1. The ping operation succeeds.
[SW1]dhcp enable
[SW1]interface Vlanif 20
[SW1-Vlanif20]dhcp select interface
[SW1-Vlanif20]quit
[AC]dhcp enable
[AC]interface Vlanif 10
[AC-Vlanif10]dhcp select interface
[AC-Vlanif10] said
Configure the AC's source interface address and configure a proper AP authentication mode
so that the APs can go online normally.
# Set the AC's source interface to [Link].
[AND] wool
[AC-wlan-view]ap-group name Huawei
[AC-wlan-ap-group-Huawei]quit
# Set the AP authentication mode to non-authentication and wait for APs to go online.
# Run the display ap all command to check the AP online status. The command output shows
that the two APs have gone online.
[AC-wlan-view]display ap all
Info: This operation may take a few seconds. Please wait for a [Link].
Total AP information:
nor : normal [2]
--------------------------------------------------------------------------------------------------
Total: 2
# Name the two APs AP1 and AP2, and add them to the AP group Huawei.
[AC-wlan-view]ap-id 0
[AC-wlan-ap-0]ap-name AP1
[AC-wlan-ap-0]ap-group Huawei
Warning: This operation may cause AP reset. If the country code changes, it will
clear channel, power and antenna gain configurations of the radio, Whether to c
continue? [In the
[AC-wlan-ap-0]quit
[AC-wlan-view]ap-id 1
[AC-wlan-ap-1]ap-name AP2
[AC-wlan-ap-1]ap-group Huawei
Warning: This operation may cause AP reset. If the country code changes, it will
clear channel, power and antenna gain configurations of the radio, Whether to c
continue? [In the
[AC-wlan-ap-1]quit
# Run the display ap all command to check whether the configuration takes effect. The command
output shows that the configuration has taken effect.
Total: 2
# To prevent unauthorized APs from accessing the network, change the AP authentication mode
to MAC address authentication.
Configure the SSID profile, security profile, and VAP profile according to the WLAN data plan to
ensure that the APs can emit signals for STAs to access.
# Create the SSID profile Huawei and set the SSID to Huawei.
# Create the VAP profile Huawei, bind the SSID profile and security profile to the VAP
profile, and configure the service VLAN and forwarding mode.
# Create the regulatory domain profile Huawei and set the country code to CN.
# Enter the AP group Huawei, and bind the regulatory domain profile Huawei and VAP
profile Huawei to the AP group.
----End
3.3 Verification
3.3.1 Verifying that the APs Emit Signals
# Run the display vap ssid Huawei command on the AC. The command output shows that
both APs send dual-band signals.
Total: 4
STA>ping [Link]
Ping [Link]: 32 data bytes, Press Ctrl_C to break
From [Link]: bytes=32 seq=1 ttl=254 time=157 ms
From [Link]: bytes=32 seq=2 ttl=254 time=171 ms
From [Link]: bytes=32 seq=3 ttl=254 time=157 ms
From [Link]: bytes=32 seq=4 ttl=254 time=156 ms
From [Link]: bytes=32 seq=5 ttl=254 time=156 ms
--- [Link] ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 156/159/171 ms
sysname SW1
#
vlan batch 10 20 30
#
dhcp enable
#
interface Vlanif20
interface GigabitEthernet0/0/1
port link-type access
port default vlan 30
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 10 20
#
return
sysname SW2 #
vlan batch 10 20
#
sysname AND
#
vlan batch 10
#
dhcp enable #
interface Vlanif10 ip
address [Link] [Link] dhcp select
interface #
wlan
security-profile name Huawei
security wpa-wpa2 psk pass-phrase %^%#6z\~7+HUhK[FjBC!)3gUEvFu>@],Y)]H))[Link]@ %^%# aes
3.4.4 Configuration on R1
#
sysname R1 #
interface GigabitEthernet0/0/1 ip
address [Link] [Link] #
return
4.1 Introduction
4.1.1 About This Lab
In WLAN Layer 3 networking, the off-path deployment is an overlay networking mode,
which requires little reconstruction on the live network and is easy to deploy. You can
select the direct or tunnel forwarding mode according to networking requirements.
4.1.2 Objectives
ÿ Understand the Layer 3 networking mode.
ÿ Understand the advantages of off-path networking.
ÿ Learn how to configure WLAN services.
PVID: 1
GE0/0/2 Trunk
SW1 Allow-pass: VLANs 20 and 60
PVID: 1
GE0/0/3 Trunk
Allow-pass: VLANs 10 and 30
PVID: VLAN 10
GE0/0/1 Trunk
Allow-pass: VLANs 10 and 30
PVID: VLAN 10
SW2 GE0/0/2 Trunk
Allow-pass: VLANs 10 and 30
PVID: 1
GE0/0/3 Trunk
Allow-pass: VLANs 10 and 30
PVID: VLAN 1
AC GE0/0/1 Trunk
Allow-pass: VLANs 20 and 60
R1 GE0/0/1 [Link]/24
VLANIF 20 [Link]/24
VLANIF 30 [Link]/24
VLANIF 50 [Link]/24
VLANIF 60 [Link]/24
AC VLANIF 60 [Link]/24
Loopback 0 [Link]/32
Item Configuration
SW1 functions as a DHCP server to assign IP addresses to APs and STAs and
DHCP server
as their gateway.
AC's source
Loopback 0
interface address
Name: Huawei
AP group
Referenced profiles: VAP profile and regulatory domain profile
Name: Huawei
Regulatory domain
profile Country code: CN
Name: Employee
Name: Guest
Security profile Security policy: WPA2+PSK+AES
Security policy: open system
Password: a1234567
Configure VLANs and interface types on the devices to ensure that services can be
transparently transmitted at Layer 2.
# Create VLANs 10, 20, 30, 50, and 60 on SW1.
<Huawei>system-view
[Huawei]sysname SW1
[SW1]vlan batch 10 20 30 50 60
# Configure interface types on SW1 and configure SW1 to allow packets from the
corresponding VLANs to pass through according to Table 4-1.
<Huawei>system-view
[Huawei]sysname SW2
[SW2]vlan batch 10 30
# Configure interface types on SW2 and configure SW2 to allow packets from the
corresponding VLANs to pass through according to Table 4-1.
<AirEngine9700-M>system-view
[AirEngine9700-M]sysname AC
[AC]vlan batch 20 60
# Configure interface types on the AC and configure the AC to allow packets from the
corresponding VLANs to pass through according to Table 4-1.
Configure IP addresses and routing information on the devices to ensure network connectivity.
[SW1]interface Vlanif 10
[SW1-Vlanif10]ip address [Link] 24
[SW1-Vlanif10]quit
[SW1]interface Vlanif 20
[SW1-Vlanif20]ip address [Link] 24
[SW1-Vlanif20]quit
[SW1]interface Vlanif 30
[SW1-Vlanif30]ip address [Link] 24
[SW1-Vlanif30]quit
[SW1]interface Vlanif 50
[SW1-Vlanif50]ip address [Link] 24
[SW1-Vlanif50]quit
[SW1]interface Vlanif 60
[SW1-Vlanif60]ip address [Link] 24
[SW1-Vlanif60]quit
# Create VLANIF 60 and loopback 0 on the AC and configure IP addresses for them.
[AC]interface Vlanif 60
[AC-Vlanif60]ip address [Link] 24 [AC-
Vlanif60]quit
[AC]interface LoopBack 0
[AC-LoopBack0]ip address [Link] 32 [AC-
LoopBack0]quit
# On R1, configure an IP address for the interface connected to SW1 and create a static route
destined for the STA network segment.
<Huawei>system-view
[Huawei]sysname R1
[R1]interface GigabitEthernet 0/0/1 [R1-
GigabitEthernet0/0/1]ip address [Link] 24 [R1-
GigabitEthernet0/0/1]quit [R1]ip
route-static [Link] 24 [Link] [R1]ip
route-static [Link] 24 [Link]
# Ping the IP address [Link] on R1 from SW1. The ping operation succeeds.
[SW1]dhcp enable
[SW1]ip pool ap
[SW1-ip-pool-ap]network [Link] mask 24 [SW1-
ip-pool-ap]gateway-list [Link] [SW1-ip-
pool-ap]option 43 sub-option 2 ip-address [Link] [SW1-ip-pool-
ap]quit
# Enable the global address pool function on the VLANIF interfaces of SW1.
[SW1]interface Vlanif 10
[SW1-Vlanif10]dhcp select global
[SW1-Vlanif10]quit
[SW1]interface Vlanif 20
[SW1-Vlanif20]dhcp select global
[SW1-Vlanif20]quit
[SW1]interface Vlanif 30
[SW1-Vlanif30]dhcp select global
[SW1-Vlanif30]quit
Configure the AC's source interface address and configure a proper AP authentication mode
so that the APs can go online normally.
# Configure loopback 0 as the AC's source interface.
[AND] wool
[AC-wlan-view]ap-group name Huawei
[AC-wlan-ap-group-Huawei]quit
# Set the AP authentication mode to MAC address authentication, add APs to the AP group,
and name them AP1 and AP2.
# Run the display ap all command to check the AP online status. The command output shows
that the two APs are not online.
------------------------------------------------------------------------------
Total: 2
# Troubleshoot the fault and find that the reason is that the APs fail to communicate with the
AC's source address.
# On SW1, add a route to the AC's source address. On the AC, add a route to the AP network
segment.
# Wait for a period of time, and then run the display ap all command to check the AP online
status. The command output shows that the two APs have gone online.
[AC]display ap all
Info: This operation may take a few seconds. Please wait for a [Link].
Total AP information:
nor : normal [2]
-------------------------------------------------------------------------------------------------------------------
Total: 2
Configure the SSID profile, security profile, and VAP profile according to the WLAN data plan to
ensure that the APs can emit signals for STAs to access.
# Create SSID profiles Employee and Guest, and set the SSIDs to Employee and Guest,
respectively.
# Create security profiles Employee and Guest, and configure their security policies.
[AC-wlan-sec-prof-Guest]quit
# Create VAP profiles Employee and Guest, and configure them according to the WLAN
data plan.
# Create the regulatory domain profile Huawei and set the country code to CN.
# Enter the AP group Huawei, and bind the regulatory domain profile Huawei and VAP
profiles Employee and Guest and to the AP group.
----End
4.3 Verification
4.3.1 Verifying that the APs Emit Signals
# Run the display vap ssid Employee command on the AC. The command output shows
that both APs send dual-band signals.
Total: 4
Total: 4
STA>ping [Link]
Ping [Link]: 32 data bytes, Press Ctrl_C to break
From [Link]: bytes=32 seq=1 ttl=254 time=234 ms
From [Link]: bytes=32 seq=2 ttl=254 time=172 ms
From [Link]: bytes=32 seq=3 ttl=254 time=203 ms
From [Link]: bytes=32 seq=4 ttl=254 time=188 ms
From [Link]: bytes=32 seq=5 ttl=254 time=203 ms
--- [Link] ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 172/200/234 ms
sysname SW1
#
vlan batch 10 20 30 50 60
#
dhcp enable
#
ip pool ap
gateway-list [Link]
network [Link] mask [Link]
ip pool employee
gateway-list [Link]
ip pool guest
gateway-list [Link]
network [Link] mask [Link] dns-list
[Link]
#
interface Vlanif10 ip
address [Link] [Link] dhcp select
global #
interface Vlanif20 ip
interface Vlanif30 ip
address [Link] [Link] dhcp select
global #
interface Vlanif50 ip
address [Link] [Link] #
interface Vlanif60 ip
address [Link] [Link] #
return
sysname SW2 #
vlan batch 10 30
#
interface GigabitEthernet0/0/2
return
sysname AND #
vlan batch 20 60
#
interface Vlanif60 ip
interface LoopBack0 ip
address [Link] [Link] #
wlan
ssid-profile Guest
security-profile Guest vap-
profile name Employee
forward-mode tunnel
service-vlan vlan-id 20
ssid-profile Employee
security-profile Employee
regulatory-domain-profile name Huawei ap-group
name Huawei regulatory-domain-
profile Huawei radio 0
radio 1
vap-profile Employee wlan 1 vap-
profile Guest wlan 2 radio 2
4.4.4 Configuration on R1
#
sysname R1 #
interface GigabitEthernet0/0/1 ip
address [Link] [Link] #
return
5 WLAN RRM
5.1 Introduction
5.1.1 About This Lab
An enterprise deploys a WLAN at its reception hall and requires the WLAN service for both
employees and guests. To ensure good Internet access experience for users, simple radio
calibration on the WLAN is required.
5.1.2 Objectives
ÿ Understand the basic principles of radio calibration.
ÿ Know how to configure RRM.
[AC]wlan
[AC-wlan-view]ap-name AP1
[AC-wlan-ap-0]radio 0
[AC-wlan-radio-0/0]channel 20mhz 1
Warning: This action may cause service interruption. Continue?[Y/N]y [AC-
wlan-radio-0/0]quit [AC-
wlan-ap-0]quit [AC-
wlan-view]ap-name AP2 [AC-
wlan-ap-1]radio 0 [AC-
wlan-radio-1/0]channel 20mhz 6 Warning:
This action may cause service interruption. Continue?[Y/N]y [AC-wlan-
radio-1/0]quit [AC-wlan-
ap-1]quit [AC-wlan-
view]ap-name AP3 [AC-wlan-
ap-2]radio 0 [AC-wlan-
radio-2/0]channel 20mhz 11 Warning:
This action may cause service interruption. Continue?[Y/N]y [AC-wlan-
radio-2/0]quit [AC-wlan-
ap-2]quit
# Run the display radio all command to check the channel status of the three APs.
CH/BW:Channel/Bandwidth
CE: Current EIRP (dBm)
ME:Max EIRP (dBm)
CU: Channel usage
ST:Status
----------------------------------------------------------------------
Total:6
# To improve user experience and network throughput, bond channels on the 5 GHz
frequency band.
[AC-wlan-view]ap-name AP1
[AC-wlan-ap-0]radio 1
[AC-wlan-radio-0/1]channel 40mhz-plus 36
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-radio-0/1]quit
[AC-wlan-ap-0]quit
[AC-wlan-view]ap-name AP2
[AC-wlan-ap-1]radio 1
[AC-wlan-radio-1/1]channel 40mhz-plus 44
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-radio-1/1]quit
[AC-wlan-ap-1]quit
[AC-wlan-view]ap-name AP3
[AC-wlan-ap-2]radio 1
[AC-wlan-radio-2/1] channel 80mhz 149
[AC-wlan-radio-2/1]quit
[AC-wlan-ap-2]quit
5.3 Verification
5.3.1 Checking AP Radio Information
# Run the display radio all command to check radio information about the three APs.
Total:6
6.1 Introduction
6.1.1 About This Lab
Wired LANs are expensive and lack mobility. The increasing demand for portability and
mobility requires WLAN technologies. As the most cost-efficient and convenient network
access mode nowadays, WLAN allows users to freely move within the covered area.
Common faults on a WLAN include AP join failures, STA access faults, and other faults
caused by incorrect configurations. This lab aims to introduce the basic WLAN
troubleshooting process and configuration based on typical AC + Fit AP networking.
6.1.2 Objectives
ÿ Understand the basic WLAN troubleshooting process.
ÿ Know common WLAN troubleshooting commands.
Machine Translated by Google
Item Configuration
Name: ap-group1
AP group Referenced profiles: VAP profile HCIA-WLAN and
regulatory domain profile default
Name: default
Regulatory domain profile
Country code: CN
Name: HCIA-WLAN
SSID profile
SSID name: HCIA-WLAN
Name: HCIA-WLAN
Password: HCIA-Datacom
Name: HCIA-WLAN
Command Description
display ap online-fail-record mac Displays the online failure record of the AP with the
xxxx-xxxx-xxxx MAC address xxxx-xxxx-xxxx .
display station online-fail-record Displays the online failure record of the STA with the
this-mac xxxx-xxxx-xxxx MAC address xxxx-xxxx-xxxx .
4
Machine Translated by Google
10
6.5 Quiz
ÿ How do I check whether a STA is successfully connected to the network?
ÿ How can I know whether an AP has obtained an IP address?
3 admin [Link] -
148f-c661-b424 0 0 0 EnnWlan
------------------------------------------------------------------------------
Step 3 If the address pool for APs is configured on the AC, run the display ip pool name ip-pool-name
used command on the AC. If the command output displays an AP's MAC address and the
corresponding IP address, the AP has obtained an IP address.
Alternatively, run the display ap all command to verify that an AP has obtained an IP address.
6.7 Appendix
6.7.1 Common Commands
AP State Description
name-
The name of an AP conflicts with that of an existing AP.
conflicted