H3C S6812 Series Command Reference Manual page 1560

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

green action: Specifies the action to take on packets that conform to the CIR. The default setting is
pass.
red action: Specifies the action to take on packets that conform to neither CIR nor PIR. The default
setting is discard.
yellow action: Specifies the action to take on packets that conform to the PIR but not to the CIR. The
default setting is pass.
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 is in the range of 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 is in the range of 0 to 63.
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 is in the range of 0 to 7.
Usage guidelines
To use two rates for traffic policing, configure the car command with the pir peak-information-rate
option. To use one rate for traffic policing, configure the car command without the pir
peak-information-rate option.
A QoS policy that uses a traffic behavior configured with CAR can be applied in either the inbound
direction or outbound direction of an interface.
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
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents