H3C Access Points Comware 7 Configuration Examples-6W100

HomeSupportResource CenterH3C Access Points Comware 7 Configuration Examples-6W100
02-H3C Access Points Comware 7 Client Rate Limiting Configuration Examples


H3C Access Points

Comware 7 Client Rate Limiting

Configuration Examples

































Document version: 6W100-20201125


Copyright © 2020 New H3C Technologies Co., Ltd. All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.

Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.

The information in this document is subject to change without notice.


The following information provides an example for configuring client rate limiting.


This document applies to Comware 7-based access points. Procedures and information in the examples might be slightly different depending on the software or hardware version of the access points.

The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

This document assumes that you have basic knowledge of client rate limiting.

Example: Configuring client rate limiting

Network configuration

As shown in Figure 1, the clients access the WLAN provided by the fat AP. The fat AP obtains IP addresses from a DHCP server in the IP network.

·     Configure the fat AP to act as a DHCP server to assign IP addresses to the clients.

·     Configure client rate limit to limit the incoming traffic rate to 4000 Kbps in static mode, and limit the outgoing traffic rate to 16000 Kbps in dynamic mode.

Figure 1 Network diagram



1.     Configure AP interfaces:

# Create VLAN 100 and VLAN-interface 100, and assign an IP address to the VLAN interface. The AP will use this IP address to communicate with clients.


[WA5530] vlan 100

[WA5530-vlan100] quit

[WA5530] interface vlan-interface 100

[WA5530-Vlan-interface100] ip address 24

[WA5530-Vlan-interface100] quit

# Configure uplink interface VLAN-interface 1 to obtain IP addresses through DHCP.

[WA5530] interface vlan-interface 1

[WA5530-Vlan-interface1] undo ip address

[WA5530-Vlan-interface1] ip address dhcp-alloc

[WA5530-Vlan-interface1] quit

2.     Configure wireless services:

# Create service template service and enter its view.

[WA5530] wlan service-template service

# Configure the SSID as service.

[WA5530-wlan-st-service] ssid service

# Specify VLAN 100 for clients to access the WLAN defined by the service template.

[WA5530-wlan-st-service] vlan 100

# Configure rate limiting for the service template: set the CIR to 4000 Kbps for each client's incoming traffic and set the CIR to 16000 Kbps for total outgoing traffic of all clients.

[WA5530-wlan-st-service] client-rate-limit enable

[WA5530-wlan-st-service] client-rate-limit inbound mode static cir 4000

[WA5530-wlan-st-service] client-rate-limit outbound mode dynamic cir 16000

# Enable the service template.

[WA5530-wlan-st-service] service-template enable

[WA5530-wlan-st-service] quit

3.     Bind the service template to interface WLAN-Radio 1/0/1.

[WA5530] interface wlan-radio 1/0/1

[WA5530-WLAN-Radio1/0/1] service-template service

[WA5530-WLAN-Radio1/0/1] quit

4.     Configure the DHCP service:

# Enable DHCP.

[WA5530] dhcp enable

# Create a DHCP address pool named vlan100, specify subnet, and specify gateway address

[WA5530] dhcp server ip-pool vlan100

[WA5530-dhcp-pool-vlan100] network mask

[WA5530-dhcp-pool-vlan100] gateway-list

[WA5530-dhcp-pool-vlan100] quit

Verifying the configuration

# Verify that the incoming rate of each client does not exceed 4000 Kbps, and the total outgoing rate of all clients does not exceed 16000 Kbps.

Configuration files


sysname WA5530                                                                   


 telnet server enable                                                          


 port-security enable                                                           


 dhcp enable                                                                   


 password-recovery enable                                                      


vlan 1                                                                         


vlan 100                                                                       


dhcp server ip-pool vlan100                                                    


 network mask                                          


wlan service-template service                                                  

 ssid service                                                                  

 vlan 100                                                                       

 client-rate-limit enable                                                      

 client-rate-limit inbound mode static cir 4000                                

 client-rate-limit outbound mode dynamic cir 16000                              

 service-template enable                                                       


interface NULL0                                                                


interface Vlan-interface1                                                      

 ip address dhcp-alloc                                                         


interface Vlan-interface100                                                    

 ip address                                            


interface GigabitEthernet1/0/1                                                 


interface GigabitEthernet1/0/2                                                 


interface WLAN-Radio1/0/1                                                       

service-template service                                                      


interface WLAN-Radio1/0/2                                                       

 service-template 1                                                            


interface WLAN-Radio1/0/3                                                       

 service-template 1                                                            



Related documentation

·     WLAN QoS Command Reference in H3C Access Points Command References

·     WLAN QoS Configuration Guide in H3C Access Points Configuration Guides