FAQ-How Do I Configure Aggregated CAR on the S7700 and S9700

Publication Date:  2015-03-25 Views:  253 Downloads:  0
Issue Description
How Do I Configure Aggregated CAR on the S7700 and S9700?
Solution
Aggregated CAR can be implemented in 1-level or 2-level mode.
  • 1-level CAR: limits the total rate of outbound data flows destined for MAC addresses 1-1-1 and 2-2-2 to 100 kbit/s on GE1/0/1. The 1-level CAR rate limiting policy can be configured using the car cir 100 command in the traffic behavior view. The configuration is as follows:
#
acl number 4999
rule 5 permit destination-mac 0001-0001-0001
rule 10 permit destination-mac 0002-0002-0002
#
traffic classifier 2 operator or precedence 40
if-match acl 4999
#
traffic behavior 2
car cir 100 pir 100 cbs 18800 pbs 31300 mode color-blind green pass yellow pass red discard
#
traffic policy p1
classifier 2 behavior 2
#
interface gigabitethernet1/0/1
traffic-policy p1 outbound
#
  • 2-level CAR: The first level limits the CIR and PIR of each of the outbound flows destined for MAC addresses 1-1-1 and 2-2-2 to 100 Kbit/s and 200 Kbit/s on GE1/0/1. The second level limits the total rate of the two flows to 300 Kbit/s. The configuration is as follows:
     NOTE:
The CIR set in the CAR profile must be larger than the sum of the CIR values for the two flows and smaller than the sum of the PIR values. Otherwise, aggregated CAR is meaningless.

#
qos car car1 cir 300 cbs 56400
#
traffic classifier 1 operator or precedence 45
if-match destination-mac 0001-0001-0001
traffic classifier 2 operator or precedence 40
if-match destination-mac 0002-0002-0002
#
traffic behavior 1
permit
car cir 100 pir 200 cbs 12500 pbs 25000 mode color-blind green pass yellow pass red discard
car car1 share
traffic behavior 2
permit
car cir 100 pir 200 cbs 12500 pbs 25000 mode color-blind green pass yellow pass red discard
car car1 share
#
traffic policy 1 match-order config
classifier 2 behavior 2
classifier 1 behavior 1

END