Zyxel XS3700-24 Справочник командного интерфейса онлайн [53/371] 154131

Zyxel XS3700-24 Справочник командного интерфейса онлайн [53/371] 154131
Chapter 11 Classifier Commands
Ethernet Switch CLI Reference Guide
53
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 Chapter 56 on
page 217.
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 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...
sysname# config
sysname(config)#classifier match-order manual
sysname(config)#classifier 1 weight 12345 source-port 1/1

Содержание

Скачать