1-5
<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.
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...