R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
47
pir peak-information-rate: Specifies the peak information rate (PIR) in the range of 8 to 10000000 kbps.
green action: Specifies the action to take on packets that conform to 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 PIR but not to CIR. The default
setting is pass.
action: Action to take on packets:
• discard: Drops packets.
• pass: Permits packets to pass through.
• remark-dot1p-pass new-cos: Sets the 802.1p priority value of packets to new-cos and permits the
packets to pass through. The value range for new-cos is 0 to 7.
• remark-dscp-pass new-dscp: Sets the DSCP value of packets to new-dscp and permits the packets
to pass through. The value range for new-dscp is 0 to 63.
• remark-mpls-exp-pass new-exp: Sets the EXP field value of MPLS packets to new-exp and permits
the packets to pass through. The value range for new-exp is 0 to 7.
• remark-prec-pass new-precedence: Sets the IP precedence of packets to new-precedence and
permits the packets to pass through. The value range for new-precedence is 0 to 7.
Usage guidelines
A QoS policy that references the traffic behavior can be applied in either the inbound direction or
outbound direction of an interface.
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.
• 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 50000 ebs 0 green pass red remark-dscp-pass
0
display traffic behavior
Use display traffic behavior to display traffic behavior information.
Syntax
MSR2000/MSR3000:
display traffic behavior { system-defined | user-defined } [ behavior-name ]
MSR4000:
display traffic behavior { system-defined | user-defined } [ behavior-name ] [ slot slot-number ]
Views
Any view