154
•
Reserve 4 Mbps of bandwidth for voice traffic of department B, 8 Mbps of bandwidth for video
traffic of department B, and 8 Mbps of bandwidth for data traffic of department B.
•
Limit the bandwidth to 50 Mbps for all the traffic between site X and site Y.
[Router] interface GigabitEthernet 2/0/0
[Router-GigabitEthernet2/0/0] qos car inbound acl 3000 cir 3000 green continue red continue
[Router-GigabitEthernet2/0/0] qos car inbound acl 3001 cir 7000 green continue red continue
[Router-GigabitEthernet2/0/0] qos car inbound acl 3002 cir 5000 green continue red continue
[Router-GigabitEthernet2/0/0] qos car inbound acl 3003 cir 4000 green continue red continue
[Router-GigabitEthernet2/0/0] qos car inbound acl 3004 cir 8000 green continue red continue
[Router-GigabitEthernet2/0/0] qos car inbound acl 3005 cir 8000 green continue red continue
[Router-GigabitEthernet2/0/0] qos car inbound any cir 50000 green pass red discard
Configuration example for implementing per-IP
bandwidth reservation and sharing through
interface-level hierarchical CAR
Network requirements
A company has agencies in site X and site Y. The agency in site X has departments A and B. The
agency in site Y has one department, C. Site X and site Y are connected through a service provider
WAN. Site X uses an 6600/HSR6600 router to connect to site Y through a 100-Mbps Ethernet link
provided by the service provider.
Department A is on network segment 192.168.0.0/24 and has 100 employees, whose IP addresses
are 192.168.0.2 through 192.168.0.101. Department B is on network segment 192.168.1.0/24 and
has 200 employees, whose IP addresses are 192.168.1.1 through 192.168.1.200. Department A and
department B only exchange data traffic whose IP precedence is 0 with department C in site Y. Site X
has a video terminal, which is dedicated to video conferencing with department C. The video terminal
is configured with IP address 192.168.2.1, and sends video traffic in UDP packets whose destination
port number is 3000. Configure interface-level hierarchical CAR to reserve bandwidth for video traffic,
reserve bandwidth for employees of departments A and B, and allow the idle bandwidth to be shared.
Configure interface-level hierarchical CAR to:
•
Reserve 10 Mbps of bandwidth for the video traffic.
•
Reserve 300 kbps of bandwidth for each employee of department A, and reserve 30 Mbps of
bandwidth in all.
•
Reserve 200 kbps of bandwidth for each employee in department B, and reserve 40 Mbps of
bandwidth in all.