Figure 12 Network diagram
Configuration procedure
# Configure per-IP-address rate limiting on GigabitEthernet 2/1/1 to limit the rate of each host on the
network segment 2.1.1.1 through 2.1.1.100, and allow all IP addresses in the network segment to share the
remaining bandwidth.
<Router> system-view
[Router] qos carl 1 source-ip-address range 2.1.1.1 to 2.1.1.100 per-address
shared-bandwidth
[Router] interface gigabitethernet 2/1/1
[Router-GigabitEthernet2/1/1] qos car inbound carl 1 cir 500 cbs 1875 ebs 0 green pass
red discard
[Router-GigabitEthernet2/1/1] quit
45