Traffic Classifier - HP A8800 Series Command Reference Manual

Acl and qos
Hide thumbs Also See for A8800 Series:
Table of Contents

Advertisement

# Define match criteria for class class2 to match the packets that have the source MAC address
0050-ba27-bed2.
<Sysname> system-view
[Sysname] traffic classifier class2
[Sysname-classifier-class2] if-match source-mac 0050-ba27-bed2
# Define a match criterion for class class1 to match the packets with a DSCP precedence of 1, 6 or 9.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match dscp 1 6 9
# Define a match criterion for class class1 to match the packets with customer network VLAN ID 1, 6, or
9.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match customer-vlan-id 1 6 9

traffic classifier

Syntax
traffic classifier classifier-name [ operator { and | or } ]
undo traffic classifier classifier-name
View
System view
Default level
2: System level
Parameters
classifier-name: Class name, a string of 1 to 31 characters.
operator: Sets the operator to logic AND or OR for the class.
and: Specifies the relationship between the match criteria in the class as logic AND, which means that
the packets that match all the criteria belong to this class.
or: Specifies the relationship between the criteria in the class as logic OR, which means that the packets
that match any of the criteria belong to this class.
Description
Use traffic classifier to define a class and enter class view.
Use undo traffic classifier to remove a class.
By default, the relationship between match criteria in a class is and, and the relationship between match
criteria is logical AND.
Related commands: qos policy, qos apply policy, and classifier behavior.
Examples
# Define class class1.
<Sysname> system-view
[Sysname] traffic classifier class1
46

Advertisement

Table of Contents
loading

Table of Contents