R2511-HP MSR Router Series ACL and QoS Command Reference(V5)
46
Syntax
car cir { committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ pir
peak-information-rate ] | percent percentage [ cbs committed-burst-size-ms [ ebs excess-burst-size-ms ] ] }
[ green action ] [ red action ]
undo car
Default
CBS is the amount of traffic transmitted at the rate of CIR over 500 ms.
Views
Traffic behavior view
Default command level
2: System level
Parameters
cir committed-information-rate: Specifies the committed information rate (CIR) in kbps, which specifies an
average traffic rate.
cbs committed-burst-size: Specifies the committed burst size (CBS) in bytes.
ebs excess-burst-size: Specifies the excess burst size (EBS) in bytes. The default is 0.
percent percentage: Specifies the CIR in percentage in the range of 0 to 100.
cbs committed-burst-size-ms: Specifies the CBS in milliseconds (ms) when the CIR is configured in
percentage. The value range for the committed-burst-size-ms argument is 50 to 2000, and the default is
500.
ebs excess-burst-size-ms: Specifies the EBS in ms when the CIR is configured in percentage. The value
range for the excess-burst-size-ms argument is 0 to 2000, and the default is 0.
green action: Action to take on packets that conform to CIR. The default is pass.
red action: Specifies the action to take on the packet that conforms to neither CIR nor PIR. The default is
discard.
action: Sets the action to take on the packet:
• discard—Drops the packet.
• pass—Permits the packet to pass through.
• remark-dscp-pass new-dscp—Sets the DSCP value of the packet to new-dscp and permits the
packet to pass through. The value range for the new-dscp argument is 0 to 63.
• remark-prec-pass new-precedence—Sets the IP precedence of the packet to new-precedence and
permits the packet to pass through. The value range for the new-precedence argument is 0 to 7.
Usage guidelines
A QoS policy that has a CAR action can be applied to inbound or outbound direction of an interface or
PVC.
If a QoS policy that has a CAR action and the qos car command are both configured on the interface or
PVC, only the CAR action in the policy takes effect.
A traffic behavior can contain only one CAR action. If you configure the car command multiple times in
the same traffic behavior, the last configuration takes effect.










