Chapter 11 Classifier Commands
Ethernet Switch CLI Reference Guide
61
11.2 Command Examples
This example creates a classifier for packets with a VLAN ID of 3. The resulting traffic flow is
identified by the name
VLAN3
. The
policy
command can use the name
VLAN3
to apply
policy rules to this traffic flow. See the policy example in
This example creates a classifier (
Class1
) for packets which have a source MAC address of
11:22:33:45:67:89 and are received on port 1. You can then use the
policy
command and the
name
Class1
to apply policy rules to this traffic flow. See the policy example in
No Next Header for IPv6
59
Destination Options for IPv6
60
Table 34
Common IPv6 Next Header Values
PROTOCOL TYPE
VALUE
sysname# config
sysname(config)# classifier VLAN3 vlan 3
sysname(config)# exit
sysname# show classifier
Index Active Name Rule
1 Yes VLAN3 VLAN = 3;
sysname# config
sysname(config)# classifier Class1 source-mac 11:22:33:45:67:89 source-port
1
sysname(config)# exit
sysname# show classifier
Index Active Name Rule
1 Yes Class1 SrcMac = 11:22:33:45:67:89; S...