R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

45
traffic classifier
Use traffic classifier to create a class and enter class view.
Use undo traffic classifier to delete a class.
Syntax
traffic classifier classifier-name [ operator { and | or } ]
undo traffic classifier classifier-name
Views
System view
Default command level
2: System level
Parameters
classifier-name: Specifies a class name, a string of 1 to 31 characters.
operator: Sets the operator to logic AND or OR for the class.
and: Specifies the logic AND operator. The class matches the packets that match all its criteria.
or: Specifies the logic OR operator. The class matches the packets that match any of its criteria.
Usage guidelines
If no match operator is specified, the default AND operator applies.
The classifier-name argument cannot take the name of any system-defined class:
default-class, ef, af1, af2, af3, af4, ip-prec0, ip-prec1, ip-prec2, ip-prec3, ip-prec4, ip-prec5, ip-prec6,
ip-prec7, mpls-exp0, mpls-exp1, mpls-exp2, mpls-exp3, mpls-exp4, mpls-exp5, mpls-exp6,
mpls-exp7.
Examples
# Create a class class1.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1]
Related commands
qos policy
qos apply policy
classifier behavior
Traffic behavior commands
car
Use car to configure a CAR action in a traffic behavior.
Use undo car to delete the CAR action in a traffic behavior.