44
If you execute the car command multiple times in the same traffic behavior, the most recent
configuration takes effect.
Examples
# Configure a CAR action in traffic behavior database:
• Set the CIR to 200 kbps, CBS to 51200 bytes, and EBS to 0.
• Transmit the conforming packets, and mark the excess packets with DSCP value 0 and transmit
them.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] car cir 200 cbs 51200 ebs 0 green pass red remark-dscp-pass
0
display traffic behavior
Use display traffic behavior to display traffic behaviors.
Syntax
display traffic behavior user-defined [ behavior-name ] [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
user-defined: Specifies user-defined traffic behaviors.
behavior-name: Specifies a behavior by its name, a case-sensitive string of 1 to 31 characters. If you
do not specify a traffic behavior, this command displays all traffic behaviors.
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command displays the traffic behaviors for the master device.
Examples
# Display all user-defined traffic behaviors.
<Sysname> display traffic behavior user-defined
User-defined behavior information:
Behavior: 1 (ID 100)
Marking:
Remark dscp 3
Committed Access Rate:
CIR 200 (kbps), CBS 51200 (Bytes), EBS 512 (Bytes)
Green action : pass
Yellow action : pass
Red action : discard
Assured Forwarding:
Bandwidth 30 (kbps)
Discard Method: Tail