HCIA-WLAN V3.0 Lab Guide
HCIA-WLAN V3.0 Lab Guide
HCIA-WLAN
Lab Guide
V3.0
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.
Introduction
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, WLAN radio resource management and troubleshooting.
● Lab 1: Basic VRP configuration. This lab aims to familiarize you with the
operations and commands related to Huawei wireless access controllers
(ACs).
● Lab 2: WLAN device upgrade. This lab aims to instruct you to upgrade Huawei
WLAN devices, helping you get familiar with the procedures and commands
for upgrading ACs and access points (APs).
● Lab 3: Layer 2 off-path networking. This lab aims to instruct you to configure
Layer 2 networking for a Huawei WLAN and helps you deploy a small-scale
WLAN.
● Labs 4: Layer 3 off-path networking. These labs aim to instruct you to
configure Layer 3 networking for a Huawei WLAN using the CLI and web, and
helps you deploy a medium- to large-sized WLAN.
● Lab 5: WLAN RRM. This lab aims to introduce basic Huawei WLAN RRM
configurations, helping you understand basic WLAN network optimization
methods.
● Lab 6: WLAN Troubleshooting Basics. This lab aims to introduce WLAN
troubleshooting process and typical WLAN faults, helping you understand
how to conducting a WLAN troubleshooting.
Symbol Conventions
Router PC STA
Lab Environment
Network Description
This experiment environment is intended for WLAN engineers who are preparing
for the HCIA-WLAN exam. Each lab environment includes two ACs, two APs, one
core switch, and one access switch, and is applicable to 2 trainees.
Device Requirements
The following table lists the recommended device configurations in each lab
environment of HCIA-WLAN.
S5731-H24P4XC 2/group
Lab Topology
Contents
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 192.168.1.1
AC VLANIF 1 192.168.1.2
Configure IP addresses.
# On the switch, 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.
<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
[AC]
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 192.168.1.1 and the subnet mask to 24.
[SW]display ip int brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 1
# Set the IP address of VLANIF 1 on the AC to 192.168.1.2 and the subnet mask to
24.
[AC]interface Vlanif 1
[AC-Vlanif1]ip address 192.168.1.2 24
# Run the display this command on the AC's interface to verify the configuration
result.
[AC-Vlanif1]display this
#
interface Vlanif1
ip address 192.168.1.2 255.255.255.0
#
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 192.168.1.2
PING 192.168.1.2: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=255 time=10 ms
# 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]quit
<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>
# 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...
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.
● Learn how to upgrade the WLAN devices.
PC GE 192.168.1.1/24
AC VLANIF 1 192.168.1.2/24
VLANIF 10 10.1.10.1/24
Item Configuration
# 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 GigabitEthernet 0/0/1
[AC-GigabitEthernet0/0/1]port link-type access
[AC-GigabitEthernet0/0/1]port default vlan 10
[AC-GigabitEthernet0/0/1]quit
# 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 V200R019C00SPC300)
Copyright (C) 2011-2019 HUAWEI TECH CO., LTD
Huawei AirEngine9700-M Router uptime is 0 week, 5 days, 17 hours, 59 minutes
PWRCARD I information
PCB Version : PWR VER VER.NC
# The FTP server is the local PC, with the user name and password of admin and
huawei, respectively. Run the ftp 192.168.1.1 command to log in to the FTP
server.
<AC>ftp 192.168.1.1
Trying 192.168.1.1 ...
Press CTRL+K to abort
Connected to 192.168.1.1.
220 3Com 3CDaemon FTP server 2.0
User(192.168.1.1:(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.
# 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:/vrpcfg.zip
Next startup saved-configuration file: flash:/vrpcfg.zip
Startup patch package: NULL
Next startup patch package: NULL
# 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 VER.NC
---------------------------------------------------------------------------------------------------------------
0 b4fb-f9b7-de40 AP1 default 10.1.10.231 AirEngine5760-10 dload 0 - -
---------------------------------------------------------------------------------------------------------------
Total: 1
# Run the display ap update status all command to check the AP upgrade status.
<AC>display ap update status all
FT : File Type
--------------------------------------------------------------------------------------------------------------------------------
----
ID Name AP Type AP Group AP MAC FT Update Version Last Update Time
Update Status
--------------------------------------------------------------------------------------------------------------------------------
----
0 AP1 AirEngine5760-10 default b4fb-f9b7-de40 FIT V200R019C00SPC800 2020-05-29/09:53:09
downloading(progress: 100%/47%)
--------------------------------------------------------------------------------------------------------------------------------
----
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
------------------------------------------------------------------------------------------------
ID MAC Name Group IP Type State STA Uptime
ExtraInfo
------------------------------------------------------------------------------------------------
0 b4fb-f9b7-de40 AP1 default 10.1.10.231 AirEngine5760-10 nor 0 23S -
------------------------------------------------------------------------------------------------
Total: 1
----End
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)
PWRCARD I information
PCB Version : PWR VER VER.NC
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.
R1 GE0/0/1 10.1.30.1/24
VLANIF 30 10.1.30.2/24
AC VLANIF 10 10.1.10.1/24
Item Configuration
Item Configuration
Configure VLANs and interface types on the devices to ensure that services can be
transparently transmitted at Layer 2.
# Configure interface types on SW1 and configure SW1 to allow packets from the
corresponding VLANs to pass through according to Table 3-1.
# Configure interface types on SW2 and configure SW2 to allow packets from the
corresponding VLANs to pass through according to Table 3-1.
[SW2]interface GigabitEthernet 0/0/1
[SW2-GigabitEthernet0/0/1]port link-type trunk
[SW2-GigabitEthernet0/0/1]port trunk pvid vlan 10
[SW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20
[SW2-GigabitEthernet0/0/1]quit
[SW2]interface GigabitEthernet 0/0/2
[SW2-GigabitEthernet0/0/2]port link-type trunk
[SW2-GigabitEthernet0/0/2]port trunk pvid vlan 10
[SW2-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 20
[SW2-GigabitEthernet0/0/2]quit
[SW2]interface GigabitEthernet 0/0/3
[SW2-GigabitEthernet0/0/3]port link-type trunk
[SW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 20
[SW2-GigabitEthernet0/0/3]quit
# 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.
[AC]interface GigabitEthernet 0/0/2
[AC-GigabitEthernet0/0/2]port link-type trunk
[AC-GigabitEthernet0/0/2]port trunk allow-pass vlan 10
[AC-GigabitEthernet0/0/2]quit
[SW1-Vlanif20]quit
[SW1]interface Vlanif 30
[SW1-Vlanif30]ip address 10.1.30.2 24
[SW1-Vlanif30]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 10.1.30.1 24
[R1-GigabitEthernet0/0/1]quit
[R1]ip route-static 10.1.20.0 24 10.1.30.2
# Ping the IP address 10.1.20.1 on R1 from SW1. The ping operation succeeds.
[SW1]ping -a 10.1.20.1 10.1.30.1
PING 10.1.30.1: 56 data bytes, press CTRL_C to break
Reply from 10.1.30.1: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 10.1.30.1: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 10.1.30.1: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from 10.1.30.1: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 10.1.30.1: bytes=56 Sequence=5 ttl=255 time=30 ms
# 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 moment.done.
Total AP information:
nor : normal [2]
--------------------------------------------------------------------------------------------------
ID MAC Name Group IP Type State STA Uptime
--------------------------------------------------------------------------------------------------
0 00e0-fc1f-4ee0 00e0-fc1f-4ee0 default 10.1.10.177 AP4050DN-E nor 0 22S
1 00e0-fc54-64a0 00e0-fc54-64a0 default 10.1.10.122 AP4050DN-E nor 0 3S
--------------------------------------------------------------------------------------------------
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
ontinue? [Y/N]:y
[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
ontinue? [Y/N]:y
[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.
[AC-wlan-view]display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor : normal [2]
---------------------------------------------------------------------------------------
ID MAC Name Group IP Type State STA Uptime
---------------------------------------------------------------------------------------
0 00e0-fc1f-4ee0 AP1 Huawei 10.1.10.177 AP4050DN-E nor 0 49S
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.
[AC-wlan-view]ssid-profile name Huawei
[AC-wlan-ssid-prof-Huawei]ssid Huawei
[AC-wlan-ssid-prof-Huawei]quit
# Create the VAP profile Huawei, bind the SSID profile and security profile to the
VAP profile, and configure the service VLAN and forwarding mode.
[AC-wlan-view]vap-profile name Huawei
[AC-wlan-vap-prof-Huawei]ssid-profile Huawei
[AC-wlan-vap-prof-Huawei]security-profile Huawei
[AC-wlan-vap-prof-Huawei]service-vlan vlan-id 20
[AC-wlan-vap-prof-Huawei]forward-mode direct-forward
[AC-wlan-vap-prof-Huawei]quit
# Create the regulatory domain profile Huawei and set the country code to CN.
[AC-wlan-view]regulatory-domain-profile name Huawei
[AC-wlan-regulate-domain-Huawei]country-code CN
[AC-wlan-regulate-domain-Huawei]quit
# Enter the AP group Huawei, and bind the regulatory domain profile Huawei
and VAP profile Huawei to the AP group.
[AC-wlan-view]ap-group name Huawei
[AC-wlan-ap-group-Huawei]regulatory-domain-profile Huawei
Warning: Modifying the country code will clear channel, power and antenna gain c
onfigurations of the radio and reset the AP. Continue?[Y/N]:y
[AC-wlan-ap-group-Huawei]vap-profile Huawei wlan 1 radio all
[AC-wlan-ap-group-Huawei]quit
----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.
[AC-wlan-view]display vap ssid Huawei
Info: This operation may take a few seconds, please wait.
WID : WLAN ID
---------------------------------------------------------------------------
AP ID AP name RfID WID BSSID Status Auth type STA SSID
---------------------------------------------------------------------------
0 AP1 0 1 00E0-FC1F-4EE0 ON WPA/WPA2-PSK 0 Huawei
0 AP1 1 1 00E0-FC1F-4EF0 ON WPA/WPA2-PSK 0 Huawei
1 AP2 0 1 00E0-FC54-64A0 ON WPA/WPA2-PSK 0 Huawei
1 AP2 1 1 00E0-FC54-64B0 ON WPA/WPA2-PSK 0 Huawei
---------------------------------------------------------------------------
Total: 4
#
interface Vlanif30
ip address 10.1.30.2 255.255.255.0
#
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
3.4.4 Configuration on R1
#
sysname R1
#
interface GigabitEthernet0/0/1
ip address 10.1.30.1 255.255.255.0
#
ip route-static 10.1.20.0 255.255.255.0 10.1.30.2
#
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.
R1 GE0/0/1 10.1.50.1/24
VLANIF 20 10.1.20.1/24
VLANIF 30 10.1.30.2/24
VLANIF 50 10.1.50.2/24
VLANIF 60 10.1.60.2/24
AC VLANIF 60 10.1.60.1/24
Loopback 0 10.10.10.10/32
Item Configuration
Item Configuration
Configure VLANs and interface types on the devices to ensure that services can be
transparently transmitted at Layer 2.
<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.
[SW1]interface GigabitEthernet 0/0/1
[SW1-GigabitEthernet0/0/1]port link-type access
[SW1-GigabitEthernet0/0/1]port default vlan 50
[SW1-GigabitEthernet0/0/1]quit
[SW1]interface GigabitEthernet 0/0/2
[SW1-GigabitEthernet0/0/2]port link-type trunk
[SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 20 60
[SW1-GigabitEthernet0/0/2]quit
[SW1]interface GigabitEthernet 0/0/3
[SW1-GigabitEthernet0/0/3]port link-type trunk
[SW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 30
[SW1-GigabitEthernet0/0/3]quit
# Configure interface types on SW2 and configure SW2 to allow packets from the
corresponding VLANs to pass through according to Table 4-1.
[SW2]interface GigabitEthernet 0/0/1
[SW2-GigabitEthernet0/0/1]port link-type trunk
[SW2-GigabitEthernet0/0/1]port trunk pvid vlan 10
[SW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 30
[SW2-GigabitEthernet0/0/1]quit
[SW2]interface GigabitEthernet 0/0/2
[SW2-GigabitEthernet0/0/2]port link-type trunk
[SW2-GigabitEthernet0/0/2]port trunk pvid vlan 10
[SW2-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 30
[SW2-GigabitEthernet0/0/2]quit
[SW2]interface GigabitEthernet 0/0/3
[SW2-GigabitEthernet0/0/3]port link-type trunk
[SW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 30
[SW2-GigabitEthernet0/0/3]quit
# 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.
[AC]interface GigabitEthernet 0/0/1
[AC-GigabitEthernet0/0/1]port link-type trunk
[AC-GigabitEthernet0/0/1]port trunk allow-pass vlan 20 60
[AC-GigabitEthernet0/0/1]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 10.1.50.1 24
[R1-GigabitEthernet0/0/1]quit
[R1]ip route-static 10.1.20.0 24 10.1.50.2
[R1]ip route-static 10.1.30.0 24 10.1.50.2
# Ping the IP address 10.1.20.1 on R1 from SW1. The ping operation succeeds.
[SW1]ping -a 10.1.20.1 10.1.50.1
PING 10.1.50.1: 56 data bytes, press CTRL_C to break
Reply from 10.1.50.1: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 10.1.50.1: bytes=56 Sequence=2 ttl=255 time=50 ms
Reply from 10.1.50.1: bytes=56 Sequence=3 ttl=255 time=40 ms
Reply from 10.1.50.1: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 10.1.50.1: bytes=56 Sequence=5 ttl=255 time=20 ms
# 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
# Set the AP authentication mode to MAC address authentication, add APs to the
AP group, and name them AP1 and AP2.
[AC-wlan-view]ap auth-mode mac-auth
[AC-wlan-view]ap-mac 00e0-fc41-6340
[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
ontinue? [Y/N]:y
[AC-wlan-ap-0]quit
[AC-wlan-view]ap-mac 00e0-fca2-5970
[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
ontinue? [Y/N]:y
[AC-wlan-ap-1]quit
# Run the display ap all command to check the AP online status. The command
output shows that the two APs are not online.
[AC-wlan-view]display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
idle : idle [2]
------------------------------------------------------------------------------
ID MAC Name Group IP Type State STA Uptime
------------------------------------------------------------------------------
0 00e0-fc41-6340 AP1 Huawei - - idle 0 -
1 00e0-fca2-5970 AP2 Huawei - - idle 0 -
------------------------------------------------------------------------------
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.
[SW1]ip route-static 10.10.10.10 32 10.1.60.1
[AC]ip route-static 10.1.10.0 24 10.1.60.2
# 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 moment.done.
Total AP information:
nor : normal [2]
-------------------------------------------------------------------------------------------------------------------
ID MAC Name Group IP Type State STA Uptime
-------------------------------------------------------------------------------------------------------------------
0 00e0-fc41-6340 AP1 Huawei 10.1.10.253 AirEngine5760-10 nor 0 9S
1 00e0-fca2-5970 AP2 Huawei 10.1.10.254 AirEngine5760-10 nor 0 10S
-------------------------------------------------------------------------------------------------------------------
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.
[AC-wlan-view]ssid-profile name Employee
[AC-wlan-ssid-prof-Employee]ssid Employee
[AC-wlan-ssid-prof-Employee]quit
[AC-wlan-view]ssid-profile name Guest
[AC-wlan-ssid-prof-Guest]ssid Guest
[AC-wlan-ssid-prof-Guest]quit
# Create security profiles Employee and Guest, and configure their security
policies.
[AC-wlan-view]security-profile name Employee
[AC-wlan-sec-prof-Employee]security wpa2 psk pass-phrase a1234567 aes
[AC-wlan-sec-prof-Employee]quit
[AC-wlan-view]security-profile name Guest
[AC-wlan-sec-prof-Guest]security open
[AC-wlan-sec-prof-Guest]quit
# Create VAP profiles Employee and Guest, and configure them according to the
WLAN data plan.
[AC-wlan-view]vap-profile name Employee
[AC-wlan-vap-prof-Employee]ssid-profile Employee
[AC-wlan-vap-prof-Employee]security-profile Employee
[AC-wlan-vap-prof-Employee]service-vlan vlan-id 20
[AC-wlan-vap-prof-Employee]forward-mode tunnel
[AC-wlan-vap-prof-Employee]quit
[AC-wlan-view]vap-profile name Guest
[AC-wlan-vap-prof-Guest]ssid-profile Guest
[AC-wlan-vap-prof-Guest]security-profile Guest
[AC-wlan-vap-prof-Guest]service-vlan vlan-id 30
[AC-wlan-vap-prof-Guest]forward-mode direct-forward
[AC-wlan-vap-prof-Guest]quit
# Create the regulatory domain profile Huawei and set the country code to CN.
[AC-wlan-view]regulatory-domain-profile name Huawei
[AC-wlan-regulate-domain-Huawei]country-code CN
[AC-wlan-regulate-domain-Huawei]quit
# Enter the AP group Huawei, and bind the regulatory domain profile Huawei
and VAP profiles Employee and Guest and to the AP group.
[AC-wlan-view]ap-group name Huawei
[AC-wlan-ap-group-Huawei]regulatory-domain-profile Huawei
Warning: Modifying the country code will clear channel, power and antenna gain c
onfigurations of the radio and reset the AP. Continue?[Y/N]:y
[AC-wlan-ap-group-Huawei]vap-profile Employee wlan 1 radio all
[AC-wlan-ap-group-Huawei]vap-profile Guest wlan 2 radio all
[AC-wlan-ap-group-Huawei]quit
----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.
[AC-wlan-view]display vap ssid Employee
Info: This operation may take a few seconds, please wait.
WID : WLAN ID
--------------------------------------------------------------------------
AP ID AP name RfID WID BSSID Status Auth type STA SSID
--------------------------------------------------------------------------
0 AP1 0 1 00E0-FC41-6340 ON WPA2-PSK 0 Employee
0 AP1 1 1 00E0-FC41-6350 ON WPA2-PSK 0 Employee
1 AP2 0 1 00E0-FCA2-5970 ON WPA2-PSK 0 Employee
1 AP2 1 1 00E0-FCA2-5980 ON WPA2-PSK 0 Employee
--------------------------------------------------------------------------
Total: 4
[AC-wlan-view]display vap ssid Guest
Info: This operation may take a few seconds, please wait.
WID : WLAN ID
--------------------------------------------------------------------------
AP ID AP name RfID WID BSSID Status Auth type STA SSID
--------------------------------------------------------------------------
0 AP1 0 2 00E0-FC41-6341 ON Open 0 Guest
0 AP1 1 2 00E0-FC41-6351 ON Open 0 Guest
1 AP2 0 2 00E0-FCA2-5971 ON Open 0 Guest
1 AP2 1 2 00E0-FCA2-5981 ON Open 0 Guest
--------------------------------------------------------------------------
Total: 4
4.4.4 Configuration on R1
#
sysname R1
#
interface GigabitEthernet0/0/1
ip address 10.1.50.1 255.255.255.0
#
ip route-static 10.1.20.0 255.255.255.0 10.1.50.2
ip route-static 10.1.30.0 255.255.255.0 10.1.50.2
#
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.
Item Parameter
# Adjust the channels on the 2.4 GHz radios of AP1, AP2, and AP3 to 1, 6, and 11.
[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.
[AC-wlan-view]display radio all
CH/BW:Channel/Bandwidth
CE:Current EIRP (dBm)
ME:Max EIRP (dBm)
CU:Channel utilization
ST:Status
----------------------------------------------------------------------
AP ID Name RfID Band Type ST CH/BW CE/ME STA CU
----------------------------------------------------------------------
0 AP1 0 2.4G bgn on 1/20M -/- 0 0%
0 AP1 1 5G an11ac on 149/20M -/- 0 0%
1 AP2 0 2.4G bgn on 6/20M -/- 0 0%
1 AP2 1 5G an11ac on 149/20M -/- 0 0%
2 AP3 0 2.4G bgn on 11/20M -/- 0 0%
2 AP3 1 5G an11ac on 149/20M -/- 0 0%
----------------------------------------------------------------------
Total:6
5.3 Verification
5.3.1 Checking AP Radio Information
# Run the display radio all command to check radio information about the three
APs.
[AC-wlan-view]display radio all
CH/BW:Channel/Bandwidth
CE:Current EIRP (dBm)
ME:Max EIRP (dBm)
CU:Channel utilization
ST:Status
----------------------------------------------------------------------
AP ID Name RfID Band Type ST CH/BW CE/ME STA CU
----------------------------------------------------------------------
0 AP1 0 2.4G bgn on 1/20M -/- 0 0%
0 AP1 1 5G an11ac on 36/40M+ -/- 0 0%
1 AP2 0 2.4G bgn on 6/20M -/- 0 0%
1 AP2 1 5G an11ac on 44/40M+ -/- 0 0%
2 AP3 0 2.4G bgn on 11/20M -/- 0 0%
2 AP3 1 5G an11ac on 149/80M -/- 0 0%
----------------------------------------------------------------------
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.
Item Configuration
Password: HCIA-Datacom
Command Description
display station online-fail-record Displays the online failure record of the STA
sta-mac xxxx-xxxx-xxxx with the MAC address xxxx-xxxx-xxxx.
10
6.5 Quiz
1. How do I check whether a STA is successfully connected to the network?
2. How can I know whether an AP has obtained an IP address?
2. 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
AP State Description