Chapter 71 Classifier
OLT2406 User’s Guide
512
71.4 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 73.3 on page 519.
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 73.3 on page 519.
OLT2406# config
OLT2406(config)# classifier VLAN3 vlan 3
OLT2406(config)# exit
OLT2406# show classifier
Index Active Name Rule
1 Yes VLAN3 VLAN = 3;
OLT2406# config
OLT2406(config)# classifier Class1 source-mac 11:22:33:45:67:89 source-port
ge-5-1
OLT2406(config)# exit
OLT2406# show classifier
Index Active Name Rule
1 Yes Class1 SrcMac = 11:22:33:45:67:89; S...