09 WLAN Service Configuration
09 WLAN Service Configuration
Foreword
1 Huawei Confidential
Objectives
2 Huawei Confidential
Contents
3 Huawei Confidential
WLAN Basic Service Configuration Procedure
4 Huawei Confidential
Configuring an AP to Go Online
• Configure a DHCP server to assign IP addresses to APs and STAs. The AC can function as a DHCP
Configure network connectivity. server.
• Configure network connectivity between APs and the DHCP server, and between APs and the AC.
Each AP will be added and can be added to only one AP group. An AP group is typically configured to
Create an AP group.
provide the same configurations for multiple APs.
In automatic upgrade mode, an AP checks whether its version is the same as that configured on the
(Optional) Configure the automatic AP
AC, SFTP server, or FTP server when going online. If so, the AP continues with going online, without an
upgrade.
upgrade. If not, the AP upgrades its version, restarts, and goes online again.
Add an AP
(configuring the AP authentication You can add an AP by manual configuration, automatic discovery, or manual confirmation.
mode).
5 Huawei Confidential
Configuring and Binding Profiles
Various WLAN profiles are designed based on different WLAN functions and features to help you configure and
maintain WLAN functions.
Reference Regulatory • A regulatory domain profile provides configurations of the country code, calibration
domain profile channel set, and calibration bandwidth for APs.
Reference • A radio profile is used to optimize radio parameters and control the in-service
Radio profile
channel switching function.
Radios of an Reference • A VAP profile allows for the forwarding mode and service VLAN configurations, and
AP or AP group VAP profile can have other profiles bound, such as the SSID profile, security profile, and
authentication profile.
Reference
Other profiles • Include the AP system profile, location profile, WIDS profile, and Mesh profile.
Radio parameter • Configure basic radio parameters, including the frequency band, channel, and
settings transmit power.
6 Huawei Confidential
VAP Profile
Reference • An SSID identifies a WLAN. When you search for available wireless
Create an SSID
networks on a STA, the displayed WLAN names are SSIDs.
profile.
• An SSID profile is used to configure the SSID name for a WLAN.
Reference Create a security • Configure a WLAN security policy to authenticate STAs and encrypt
profile. STA packets, securing both the network and STAs.
VAP profile
Configure service • Layer 2 data packets delivered from a VAP to an AP carry the service
VLANs. VLAN IDs.
8 Huawei Confidential
WLAN Service Configuration: Configuring an AP to Go
Online (1/3)
Configure the AC as a DHCP server and configure the Option 43 field.
[AC-ip-pool-pool1] option code [ sub-option sub-code ] { ascii ascii-string | hex hex-string | cipher cipher-string | ip-address ip-
address
The DHCP server is configured to assign the specified user-defined option to DHCP clients.
10 Huawei Confidential
WLAN Service Configuration: Configuring an AP to Go
Online (2/3)
Bind the regulatory domain profile.
[AC-wlan-view] ap-group name group-name
[AC-wlan-ap-group-group-name]
An AP group is created and its view is displayed, or the view of an existing AP group is displayed.
11 Huawei Confidential
WLAN Service Configuration: Configuring an AP to Go
Online (3/3)
Add an AP.
[AC-wlan-view] ap auth-mode { mac-auth | sn-auth | no-auth}
The AP authentication mode is set to MAC address or SN authentication. The default mode is MAC address
authentication.
[AC-wlan-view] ap-id ap-id [ [ type-id type-id | ap-type ap-type ] { ap-mac ap-mac | ap-sn ap-sn | ap-mac ap-mac ap-sn ap-
sn } ]
[AC-wlan-ap-ap-id] ap-name ap-name
An AP is added or the AP view is displayed, and the AP name is configured.
[AC-wlan-view] ap-id 0
[AC-wlan-ap-0] ap-group ap-group
The AP is added to an AP group.
[AC] display ap { all | ap-group ap-group }
Check AP information.
12 Huawei Confidential
Basic WLAN Service Configuration: Configuring VAPs (1/4)
Create a VAP profile and enter the VAP profile view, or enter the view of an existing VAP profile.
[AC-wlan-view] vap-profile name profile-name
[AC-wlan-vap-prof-profile-name]
Configure the direct or tunnel data forwarding mode in the VAP profile.
[AC-wlan-vap-prof-profile-name] forward-mode { direct-forward | tunnel }
13 Huawei Confidential
Basic WLAN Service Configuration: Configuring VAPs (2/4)
Configure a security profile.
A security profile is created and the security profile view is displayed.
[AC-wlan-view] security-profile name profile-name
[AC-wlan-sec-prof-profile-name]
By default, the system has security profiles default, default-wds, and default-mesh.
The security profile is bound to the VAP profile.
[AC-wlan-view] vap-profile name profile-name
[AC-wlan-vap-prof-profile-name] security-profile profile-name
14 Huawei Confidential
Basic WLAN Service Configuration: Configuring VAPs (3/4)
Configure an SSID profile.
An SSID profile is created and the SSID profile view is displayed, or the view of an existing SSID profile is
displayed.
[AC-wlan-view] ssid-profile name profile-name
[AC-wlan-ssid-prof-profile-name]
By default, the system provides the SSID profile default.
[AC-wlan-ssid-prof-profile-name] ssid ssid
An SSID is configured for the SSID profile.
By default, the SSID in an SSID profile is HUAWEI-WLAN.
[AC-wlan-view] vap-profile name profile-name
[AC-wlan-vap-prof-profile-name] ssid-profile profile-name
The SSID profile is bound to the VAP profile.
15 Huawei Confidential
Basic WLAN Service Configuration: Configuring VAPs (4/4)
Bind the VAP profile to radios in the AP group.
[AC-wlan-view] ap-group name group-name
[AC-wlan-ap-group-group-name] vap-profile profile-name wlan wlan-id radio { radio-id | all } [ service-vlan { vlan-id vlan-id |
vlan-pool pool-name } ]
16 Huawei Confidential
Contents
17 Huawei Confidential
Topology Design
IP network
This topology is a Layer 2 network where the AC is deployed
in in-path mode, and applies to small-scale enterprises.
AC
The AC functions as the gateway for both APs and STAs.
GE0/0/1
APs' gateway address: 10.1.100.1/24
GE0/0/2
STAs' gateway address: 10.1.101.1/24
Switch
GE0/0/1
All traffic from STAs reaches the AC and then is forwarded
by the AC to the upper-layer network.
AP
STA
18 Huawei Confidential
WLAN Data Planning
Data Configuration
The AC functions as a DHCP server to assign IP addresses to APs and STAs, and
DHCP server
also serves as the gateway for APs and STAs.
IP address pool for APs VLAN 100: 10.1.100.2-10.1.100.254/24
IP address pool for STAs VLAN 101: 10.1.101.2-10.1.101.254/24
IP address of the AC's source interface VLANIF 100: 10.1.100.1/24
Name: ap-group1
AP group
Referenced profiles: VAP profile and regulatory domain profile
Name: domain
Regulatory domain profile
Country code: CN
Name: employee
SSID profile
SSID name: employee
Name: employee
Security profile Security policy: WPA-WPA2+PSK+AES
Password: a1234567
Name: employee
Forwarding mode: tunnel forwarding
VAP profile
Service VLAN: VLAN 101
Referenced profiles: SSID profile employee and security profile employee
19 Huawei Confidential
Configuring Network Connectivity
Create VLANs and interfaces on the switch and AC.
IP network Configure a DHCP server to assign IP addresses to APs and
STAs.
[AC]dhcp enable
AC
[AC]interface Vlanif 100
GE0/0/1 [AC-Vlanif100]ip address 10.1.100.1 24
[AC-Vlanif100]dhcp select interface
GE0/0/2
[AC-Vlanif100]quit
Switch
[AC]interface Vlanif 101
GE0/0/1 [AC-Vlanif101]ip address 10.1.101.1 24
[AC-Vlanif101]dhcp select interface
AP [AC-Vlanif101]quit
STA
20 Huawei Confidential
Configuring an AP to Go Online (1/2)
Create an AP group.
IP network [AC]wlan
[AC-wlan-view]ap-group name ap-group1
[AC-wlan-ap-group-ap-group1]quit
AC
Create a regulatory domain profile and configure the country code.
GE0/0/1
AC-wlan-view]regulatory-domain-profile name domain
GE0/0/2 [AC-wlan-regulate-domain-default]country-code CN
Switch [AC-wlan-regulate-domain-default]quit
21 Huawei Confidential
Configuring an AP to Go Online (2/2)
IP network
Configure the AC's source interface.
[AC]capwap source interface vlanif 100
GE0/0/1 [AC]wlan
[AC-wlan-view]ap auth-mode mac-auth
GE0/0/2
[AC-wlan-view]ap-id 0 ap-mac 00e0-fc44-4270
Switch
[AC-wlan-ap-0]ap-name ap1
GE0/0/1 Warning: This operation may cause AP reset. Continue? [Y/N]:y
[AC-wlan-ap-0]ap-group ap-group1
AP 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 continue? [Y/N]:y
STA [AC-wlan-ap-0]quit
22 Huawei Confidential
Verifying the AP Onboarding Configuration
After the AP is powered on, run the display ap all command to check the AP state. If the State field displays nor, the
AP has gone online.
[AC]display ap all
Total AP information:
nor : normal [1]
Extra information:
P : insufficient power supply
-------------------------------------------------------------------------------------------------------------------------------
ID MAC Name Group IP Type State STA Uptime ExtraInfo
-------------------------------------------------------------------------------------------------------------------------------
0 00e0-fc44-4270 ap1 ap-group1 10.1.100.254 AirEngine5760-10 nor 0 10S -
-------------------------------------------------------------------------------------------------------------------------------
Total: 1
23 Huawei Confidential
Configuring WLAN Service Parameters (1/2)
GE0/0/2
Switch
Create SSID profile employee and set the SSID name to employee.
GE0/0/1
[AC-wlan-view]ssid-profile name employee
AP [AC-wlan-ssid-prof-employee]ssid employee
[AC-wlan-ssid-prof-employee]quit
STA
24 Huawei Confidential
Configuring WLAN Service Parameters (2/2)
Create VAP profile employee, set the data forwarding mode and service
IP Network
VLAN, and bind the security profile and SSID profile to the VAP profile.
STA
25 Huawei Confidential
Checking VAP Profile Information
The WLAN service configuration is automatically delivered to the AP. After the service configuration is complete,
run the display vap ssid employee command to check VAP profile information. If Status in the command output is
displayed as ON, the VAPs have been successfully created for the corresponding AP radios.
[AC-wlan-view]display vap ssid employee
WID : WLAN ID
-----------------------------------------------------------------------------------------------------------------
AP ID AP name RfID WID BSSID Status Auth type STA SSID
-----------------------------------------------------------------------------------------------------------------
0 ap1 0 1 00E0-FC44-4270 ON WPA/WPA2-PSK 0 employee
0 ap1 1 1 00E0-FC44-4280 ON WPA/WPA2-PSK 0 employee
-----------------------------------------------------------------------------------------------------------------
Total: 2
26 Huawei Confidential
Quiz
B. False
27 Huawei Confidential
Summary
28 Huawei Confidential
Thank you. 把数字世界带入每个人、每个家庭、
每个组织,构建万物互联的智能世界。
Bring digital to every person, home, and
organization for a fully connected,
intelligent world.