Example for Configuring WMM and Priority Mapping
Networking Requirements
As shown in Figure 3-14, an enterprise deploys an AP to provide a WLAN with the SSID wlan-net so that users can access the network anywhere at any time. Voice, video, and data services are transmitted within the coverage area of the AP. The enterprise requires that voice and video services be assigned high priorities and preferentially guaranteed with sufficient network resources and bandwidth.
Data Preparation
Item |
Data |
---|---|
Service VLAN for STAs |
VLAN 101 |
DHCP server |
The AP functions as a DHCP server to assign IP addresses to STAs. |
IP address pool for STAs |
10.23.101.2-10.23.101.254/24 |
SSID profile |
|
Security profile |
|
Traffic profile |
|
VAP profile |
|
2G radio profile |
|
Configuration Roadmap
- Use the WLAN configuration wizard to configure WLAN services.
- Enable WMM in the radio profile and configure voice and video services to preferentially use bandwidth on the wireless side.
- Retain the default priority mapping in the traffic profile to ensure that voice and video services can be preferentially forwarded on the wired side.
- Connect STAs to the WLAN to verify the configuration.
Procedure
- Configure basic WLAN services.
- Configure the WMM function.
The following example configures a 2G radio profile. The configuration of the 5G radio profile is similar.
# Choose
.# Choose WLAN Config. The Radio Profile page is displayed.
in# On the Advanced Configuration tab in the radio profile, enable the WMM function.
# Click Apply. In the dialog box that is displayed, click OK.
- Configure priority mapping.
In this example, you must set the highest DSCP priority for video and voice packets to ensure that the video and voice packets can be preferentially forwarded. By default, the voice and video packets already have the highest DSCP priorities in the traffic profile. You only need to set the trusted priority of downstream packets to DSCP on the air interface but does not need to change the mapping value.
If you want to change the default priority mapping, for example, to make the priority of the video packets higher than that of the voice packets, perform the following configuration.
# Choose
.# In the WLAN Config navigation tree, click . Click
in front of VAP Configuration. Under it, click
in front of wlan-net. Click Traffic Profile. The Traffic Profile page is displayed.
# Click Create. The Create Traffic Profile page is displayed.
# Enter the traffic profile name wlan-traffic in Profile name and click OK. The parameter setting page is displayed.
# On the Advanced Configuration tab, configure priority mapping and set the mapped priority of video packets higher than that of the voice packets.
By default, the user priority of voice packets is set to 6 or 7 on the terminal, and that of the video packets is set to 4 or 5.
In the following figure, the DSCP priorities of video packets are 48 and 56, and those of the voice packets are 32 and 40. Based on the settings, video packets will be preferentially transmitted.
# Click Apply. In the Info dialog box that is displayed, click OK.
- Verify the configuration.
- The WLAN with the SSID wlan-net is available.
- The STA can associate with the WLAN and obtain an IP address 10.23.101.x/24 and its gateway address is 10.23.101.1.
- Choose User, you can see that STAs go online properly and obtain IP addresses. . In
- Normal voice and video communication improves user experience in voice and video services.