R0106-HP MSR Router Series ACL and QoS Command Reference(V7)

83
qos car
Use qos car to configure a CAR policy on an interface.
Use undo qos car to delete a CAR policy from an interface.
Syntax
qos car { inbound | outbound } { any | acl [ ipv6 ] acl-number | carl carl-index } cir
committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ pir
peak-information-rate ] [ green action | red action | yellow action ] *
undo qos car { inbound | outbound } { any | acl [ ipv6 ] acl-number | carl carl-index }
Default
No CAR policy is configured on an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
inbound: Specifies the incoming packets on the interface.
outbound: Specifies the outgoing packets on the interface.
any: Specifies the all the IP data packets.
acl [ ipv6 ] acl-number: Specifies the packets matching an ACL specified by its number. If ipv6 is not
specified, this option specifies an IPv4 ACL. If ipv6 is specified, this option specifies an IPv6 ACL.
carl carl-index: Specifies the packets matching a CAR list specified by its number in the range of 1 to 199.
cir committed-information-rate: Specifies the CIR in kbps.
cbs committed-burst-size: Specifies the CBS in bytes, which is the size of bursty traffic when the actual
average rate is not greater than CIR.
ebs excess-burst-size: Specifies the EBS in bytes.
pir peak-information-rate: Specifies the PIR in kbps. When the PIR is not configured, one token bucket is
used. When the PIR is configured, two token buckets are used.
green: Specifies the action to take on packets when the traffic rate conforms to CIR. The default is pass.
red: Specifies the action to take on packets when the traffic rate conforms to neither CIR nor PIR. The
default is discard.
yellow: Specifies the action to take on packets when the traffic rate exceeds CIR but conforms to PIR. The
default is pass.
action: Action to take on packets:
continue: Continues to process the packet using the next CAR policy.
discard: Drops the packet.
pass: Permits the packet to pass through.