A SERVICE OF

logo

1791
109
DEFINING TRAFFIC BEHAVIOR
COMMANDS
car
Syntax car cir committed-information-rate [ cbs committed-burst-size [ ebs
excess-burst-size ]] [green action ] [ red action ]
undo car
View Traffic behavior view
Parameters cir committed-information-rate: Committed information rate, in the range 8 to
1000000 kbps.
cbs committed-burst-size: Committed burst size, number of bits that can be sent
in each interval, in the range 1875 to 19375000. It defaults to the traffic passed at
CIR in 500 milliseconds. If the traffic passed at CIR in 500 milliseconds is lower
than 1875, 1875 is taken as the default value.
ebs excess-burst-size: Excessive burst size, in the range 0 to 19375000 bytes. It
defaults to 0.
green: Action conducted to packets when traffic of packets conforms to the CIR.
By default, the action of green is pass.
red: Action conducted to packets when traffic of packets does not conform to the
CIR. By default, the action of red is discard.
action: Action conducted on a packet, which is divided into the following types:
discard: Drops the packet.
pass: Transmits the packet.
remark-dscp-pass new-dscp: Sets new-dscp and transmits the packet, in he
range 0 to 63. When it is displayed in characters, its value can be af11, af12,
af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4,
cs5, cs6, cs7, default, ef.
remark-prec-pass new-precedence: Sets new-precedence of IP and transmits the
packet, in he range 0 to 7.