ZyXEL Communications XS3800-28 Cli Reference Manual page 63

Hide thumbs Also See for XS3800-28:
Table of Contents

Advertisement

15.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
sysname# config
sysname(config)# classifier VLAN3 vlan 3
sysname(config)# exit
sysname# show classifier
Index Active Name
1 Yes
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
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
1 Yes
The default value of match-order is auto. Use the following command to make weight work by
changing the default value of match-order to manual and configuring a classifier weight value where
the higher the weight, the higher the priority.
sysname# config
sysname(config)#classifier match-order manual
sysname(config)#classifier 1 weight 12345 source-port 1/1
Chapter 15 Classifier Commands
Chapter 64 on page
VLAN3
Class1
Ethernet Switch CLI Reference Guide
247.
Rule
VLAN = 3;
Rule
SrcMac = 11:22:33:45:67:89; S...
63
Chapter 64 on page
247.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents