How do I set the rate limit based on the website address

Assume that the AR router connects to users on private network segments of 192.168.0.2 and 192.168.0.100 and the rate limit needs to be set to 2 Mbit/s for each address in both inbound and outbound directions. Perform the following configurations:

Enter the view of the public network interface.
[Huawei] interface GigabitEthernet 0/0/0

Set the rate limit to 2 Mbit/s in the outbound direction so that traffic from the internal network to the public network is within 2 Mbit/s.
[Huawei-GigabitEthernet0/0/0] qos car outbound source-ip-address range 192.168.0.2 to 192.168.0.100 per-address cir 2000 //*If the rate limit needs to be set for each address, specifyper-address. If the rate limit is set for all addresses, you do not need to specifyper-address.*//

Set the rate limit to 2 Mbit/s in the inbound direction so that traffic from the public network to the internal network is within 2 Mbit/s.
[Huawei-GigabitEthernet0/0/0] qos car inbound destination-ip-address range 192.168.0.2 to 192.168.0.100 per-address cir 2000

Other related questions:
Configure rate limiting based on IP addresses
If you have more questions, you can seek help from following ways:
To iKnow To Live Chat To Google
Scroll to top