Classifier commands, 1 command summary, Classifier commands (59) – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual
Page 59

Ethernet Switch CLI Reference Guide
59
C
H A P T E R
10
Classifier Commands
Use these commands to classify packets into traffic flows. After classifying traffic, policy
commands (
) can be used to ensure that a traffic flow gets the
requested treatment in the network.
10.1 Command Summary
The following section lists the commands for this feature.
Table 30 Command Summary: classifier
COMMAND
DESCRIPTION
M
P
show classifier [<
name
>]
Displays classifier configuration details.
E
3
classifier <name> <[packet-
format <802.3untag|802.3tag|
EtherIIuntag|EtherIItag>]
[priority <0-7>] [vlan <vlan-
id>] [ethernet-type <ether-
num|ip|ipx|arp|rarp|appletalk|d
ecnet>] [source-mac <src-mac-
addr>] [source-port <port-num>]
[destination-mac <dest-mac-
addr>] [dscp <0-63>] [ip-
protocol <protocol-
num|tcp|udp|icmp|egp|
ospf|rsvp|igmp|igp|pim|ipsec>
[establish-only]] [source-ip
<src-ip-addr> [mask-bits <mask-
bits>]] [source-socket <socket-
num>] [destination-ip <dest-ip-
addr> [mask-bits <mask-bits>]]
[destination-socket <socket-
num>] [inactive]>
Configures a classifier. Specify the parameters to identify the
traffic flow:
ethernet-type - enter one of the Ethernet types or type the
hexadecimal number that identifies an Ethernet type (see
)
ip-protocol : enter one of the protocols or type the port
number that identifies the protocol (see
establish-only : enter this to identify only TCP packets
used to establish TCP connections.
source-socket : (for UDP or TCP protocols only) specify
the protocol port number.
destination-socket : (for UDP or TCP protocols only)
specify the protocol port number.
inactive : disables this classifier.
C
13
no classifier <name>
Deletes the classifier.
If you delete a classifier you cannot use policy rule related
information.
C
13
no classifier <name> inactive
Enables a classifier.
C
13