155
Figure 59 Network diagram
Configuration procedures
# Configure IP addresses for interfaces according to the network diagram. (Details not shown)
# Configure two CAR lists to match the traffic of the employees of department A and the traffic of the
employees of department B, respectively.
<Router> system-view
[Router] qos carl 1 source-ip-address range 192.168.0.2 to 192.168.0.101 per-address
[Router] qos carl 2 source-ip-address range 192.168.1.1 to 192.168.1.200 per-address
# Configure an ACL to match the video traffic.
[Router] acl number 3000 name video
[Router-acl-adv-3000] rule 0 permit udp destination-port eq 3000
[Router-acl-adv-3000] quit
# Configure hierarchical CAR on interface GigabitEthernet 2/0/0 of the 6600/HSR6600 router:
reserve 10 Mbps of bandwidth for the video traffic, reserve 300 kbps of bandwidth for each employee
of department A, and reserve 200 kbps of bandwidth for each employee of department B. Limit the
bandwidth to 100 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 10000 green continue red
continue
[Router-GigabitEthernet2/0/0] qos car inbound carl 1 cir 300 green continue red continue
[Router-GigabitEthernet2/0/0] qos car inbound carl 2 cir 200 green continue red continue
[Router-GigabitEthernet2/0/0]qos car inbound any cir 100000 green pass red discard
Configuration example for implementing
intelligent load sharing through interface-level
hierarchical CAR
Network requirements
A company has agencies in site X and site Y, respectively. The agency in site X has department A
and the agency in site Y has department B. The two departments are connected through two WAN