Zyxel OLT2412 [148/326] Classifier command examples

Zyxel OLT2412 [148/326] Classifier command examples
Chapter 20 Classifier
OLT2412 User’s Guide
148
20.3 Classifier 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 Section 21.3 on page 150.
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 the ge-5-1 port. You can then use the policy command
and the name Class1 to apply policy rules to this traffic flow. See the policy example in Section
21.3 on page 150.
OLT2412# config
OLT2412(config)# classifier VLAN3 vlan 3
OLT2412(config)# exit
OLT2412# show classifier
Index Active Name Rule
1 Yes VLAN3 VLAN = 3;
OLT2412(config)# classifier Class1 source-mac 11:22:33:45:67:89 source-port ge-5-1
OLT2412(config)# exit
OLT2412# show classifier
Index Active Name Rule
1 Yes Class1 SrcMac = 11:22:33:45:67:89; SrcPort = port ge-5-1;

Содержание