R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
230
Description
Use traffic classifier to create a class and enter class view.
Use undo traffic classifier to delete a class.
If no match operator is specified, the default AND operator applies.
The tcl-name argument cannot be the name of a system-defined traffic class. The system-defined traffic
classes include default-class, ef, af1, af2, af3, af4, ip-prec0, ip-prec1, ip-prec2, ip-prec3, ip-prec4,
ip-prec5, ip-prec6, and ip-prec7.
Related commands: qos policy, qos apply policy, and classifier behavior.
Examples
# Create a class class1.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1]
Traffic behavior configuration 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
Default level
2: System level
Parameters
cir committed-information-rate: Committed information rate (CIR) in kbps, which specifies an average
traffic rate.
cbs committed-burst-size: Committed burst size (CBS) in bytes. By default, CBS is the amount of traffic
transmitted at the rate of CIR over 500 ms.
ebs excess-burst-size: Excess burst size (EBS) in bytes. The default is 0.
green action: Action to take on packets that conform to CIR. The default is pass.
red action: Specifies 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.