43
Parameters
cir
committed-information-rate
: Committed information rate (CIR) in kbps. The
committed-information-rate
argument ranges from 8 to 32000000 and must be a multiple of 8.
cbs
committed-burst-size
: Committed burst size (CBS) in bytes.
•
If you do not specify the
cbs
keyword, the CBS is 62.5 ×
committed-information-rate
by default and
cannot not exceed 16000000.
•
If you specify the
cbs
keyword, the CBS ranges from 512 to 16000000.
ebs
excess-burst-size
: Excess burst size (EBS) in bytes. The
excess-burst-size
argument ranges from 0 to
16000000 and defaults to 512.
pir
peak-information-rate
: Peak information rate (PIR) in kbps. The
peak-information-rate
argument ranges
from 8 to 32000000 and must be a multiple of 8.
green
action
: Action to take on packets that conform to CIR. The default is
pass
.
yellow
action
: Action to take on packets that conform to PIR but not 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-dot1p-pass
new-cos
: Sets the 802.1p priority value of the 802.1p packet to
new-cos
and
permits the packet to pass through. The
new-cos
argument ranges from 0 to 7.
•
remark-dscp-pass
new-dscp
: Sets the DSCP value of the packet to
new-dscp
and permits the packet
to pass through. The
new-dscp
argument can be a number from 0 to 63 or any keyword in
•
remark-lp-pass
new-local-precedence
: Sets the local precedence value of the packet to
new-local-precedence
and permits the packet to pass through. The
new-local-precedence
argument
ranges from 0 to 7.
hierarchy-car-name
: Name of the referenced hierarchical CAR.
mode
: Collaborating mode of the hierarchical CAR action and the common CAR action, which can be
AND (the default) or OR.
•
AND mode (the
and
keyword), in which the traffic rate of a flow is limited by both the common CAR
applied to it and the total traffic rate defined with hierarchical CAR. For example, use common CAR
actions to limit the rate of Internet access flow 1 and that of flow 2 to 128 kbps respectively, and use
a hierarchical CAR action to limit their total traffic rate to 192 kbps. When flow 1 is not present, flow
2 can access the Internet at the maximum rate, 128 kbps. If both flows are present, each flow cannot
exceed its own rate limit, and the total rate cannot exceed 192 kbps.
•
OR mode (the
or
keyword), in which a flow may pass through at the rate equal to the common CAR
applied to it or a higher rate if the total traffic rate of all flows does not exceed the hierarchical CAR.
For example, use generic CAR actions to limit the rate of video flow 1 and that of flow 2 to 128 kbps
respectively, and then use a hierarchical CAR action to limit their total traffic rate to 512 kbps. As
long as the rate of flow 1 does not exceed 128 kbps, flow 2 can pass at a rate up to 384 kbps.
Description
Use the
car
command to configure a CAR action in the traffic behavior.
Use the
undo car
command to delete a CAR action from the traffic behavior.