Example for Configuring Traffic Policing
Networking Requirements
As shown in Figure 3-15, 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.
The enterprise network administrator needs to set the rate limit of upstream traffic on each STA associated with the AP to 2 Mbps and the limit of total rates of upstream traffic on all STAs associated with the VAP to 30 Mbps.
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 |
|
Configuration Roadmap
- Use the WLAN configuration wizard to configure WLAN services.
- Configure the traffic profile and set the uplink rate limit of each STA associated with the AP to 2 Mbit/s and the total uplink rate limit of all STAs on a VAP to 30 Mbit/s.
- Connect STAs to the WLAN to verify the configuration.
Procedure
- Configure basic WLAN services.
- Configure rate limits.
# 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, set the uplink rate limit to 2 Mbit/s (2048 kbit/s) for STAs and to 30 Mbit/s (30720 kbit/s) for VAPs.
# 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
- Run the display traffic-profile name wlan-traffic command on the AP to check the traffic profile configuration. The command output shows that the uplink rate limit of a single STA is 2048 kbit/s (2 Mbit/s) and the total uplink rate limit of all STAs on a VAP is 30720 kbit/s (30 Mbit/s).