F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
252
red action: Sets 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 new-dscp argument ranges from 0 to 63.
remark-mpls-exp-pass new-exp: Sets the EXP field value of the MPLS packet to new-exp and permits
the packet to pass through. The new-exp argument ranges from 0 to 7.
remark-prec-pass new-precedence: Sets the IP precedence of the packet to new-precedence and
permits the packet to pass through. The new-precedence argument ranges from 0 to 7.
Usage guidelines
A QoS policy that has a CAR action can be applied to inbound or outbound direction of an interface.
If a QoS policy that has a CAR action and the qos car command are both configured on the interface,
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 most recent configuration takes effect.
Examples
# Configure a CAR action in traffic behavior database (set the CIR to 200 kbps, CBS to 50000 bytes,
and EBS to 0, and permit the conforming packets to pass, and mark the excess packets with IP
precedence 0 and forward them.)
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] car cir 200 cbs 50000 ebs 0 green pass red remark-prec-pass
0
Related commands
classifier behavior
qos policy
traffic behavior
display traffic behavior
Use display traffic behavior to display traffic behavior information.
Syntax
display traffic behavior { system-defined | user-defined } [ behavior-name ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
system-defined: Specifies system-defined traffic behaviors.