Traffic Classifier - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] traffic classifier class8
[Sysname-classifier-class8] if-match protocol ip
# Define a rule for class9 to match the packets with the customer network 802.1p precedence 2.
<Sysname> system-view
[Sysname] traffic classifier class9
[Sysname-classifier-class9] if-match customer-dot1p 2
# Define a rule for class10 to match the packets with the service provider network 802.1p precedence
5.
<Sysname> system-view
[Sysname] traffic classifier class10
[Sysname-classifier-class10] if-match service-dot1p 5
# Define a rule for class11 to match the packets of customer VLAN 1024.
<Sysname> system-view
[Sysname] traffic classifier class11
[Sysname-classifier-class11] if-match customer-vlan-id 1024
# Define a rule for class12 to match the packets of service VLAN 1000.
<Sysname> system-view
[Sysname] traffic classifier class12
[Sysname-classifier-class12] if-match service-vlan-id 1000

traffic classifier

Syntax
traffic classifier classifier-name [ operator { and | or } ]
undo traffic classifier classifier-name
View
System view
Default Level
2: System Level
Parameters
and: Specifies the relationship among the rules in the class as logic AND. That is, a packet is matched
only when it matches all the rules defined for the class.
or: Specifies the relationship among the rules in the class as logic OR. That is, a packet is matched if it
matches a rule defined for the class.
classifier-name: Name of the class to be created.
Description
Use the traffic classifier command to create a class. This command also leads you to class view.
Use the undo traffic classifier command to remove a class.
By default, a packet is matched only when it matches all the rules configured for the class.
1-5

Advertisement

Table of Contents
loading

Table of Contents