Figure 13 Network diagram
Router
......
Host A
2.1.1.1/8
Configuration procedure
# Configure per-IP-address rate limiting on GigabitEthernet 1/0/2 to meet the following requirements:
•
Limit the rate of each host on the network segment 2.1.1.1 through 2.1.1.100.
•
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 1/0/2
[Router-GigabitEthernet1/0/2] qos car inbound carl 1 cir 500 cbs 1875 ebs 0 green pass
red discard
[Router-GigabitEthernet1/0/2] quit
GE1/0/1
GE1/0/2
Host Z
2.1.1.100/8
Internet
57