Zyxel XS3700-24 [51/371] Command summary

Zyxel XS3700-24 [51/371] Command summary
Chapter 11 Classifier Commands
Ethernet Switch CLI Reference Guide
51
11.1 Command Summary
The following section lists the commands for this feature.
Table 31 Command Summary: classifier
COMMAND DESCRIPTION M P
show classifier [<name>] Displays classifier configuration details. E 3
classifier <name> < [weight <0-
65535> ][packet- format
<802.3untag|802.3tag|
EtherIIuntag|EtherIItag>]
[priority <0-7>] [ inner-
priority <0-7> ] [vlan <vlan-
id>] [ inner-vlan <vlan-id-list>
][ethernet-type <ether-
num|ip|ipx|arp|rarp|appletalk|d
ecnet>] [source-mac <src-mac-
addr> [mask <mask>]] [source-
port <port-num>] [ source-trunk
<trunk-list> ] [ destination-
port <port-num> ] [destination-
mac <dest-mac-addr> [mask
<mask>]] [ ip-packet-length <0-
65535> to <0-65525> ] [dscp <0-
63>] [ precedence <0-7> ] [tos
<0-255>] [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> [to <socket-num>] ]]
[destination-ip <dest-ip-addr>
[mask-bits <mask-bits>]]
[destination-socket <socket-
num> [to <socket-num>] ]] [
time-range <name> ] [ log ] [
count ] [inactive]>
Configures a classifier. Specify the parameters to identify the
traffic flow:
weight: enter the weight the priority of the Classifier rule
when the match order is in manual mode. A higher weight
means a higher priority.
priority: Type 0 to classify traffic from any priority level or type
a priority level with 1 being the highest priority.
inner-priority:
vlan-id: Type 0
to classify traffic from VLAN or type a
specific VLAN ID number.
inner-vlan-id
ethernet-type - enter one of the Ethernet types or type the
hexadecimal number that identifies an Ethernet type (see
Table 32 on page 52)
ip-protocol : enter one of the protocols or type the port
number that identifies the protocol (see Table 33 on page 52).
mask : type the mask for the specified MAC address to
determine which bits a packet’s MAC address should match.
Enter “f” for each bit of the specified MAC address that the
traffic’s MAC address should match. Enter “0” for the bit(s) of
the matched traffic’s MAC address, which can be of any
hexadecimal character(s). For example, if you set the MAC
address to 00:13:49:00:00:00 and the mask to ff:ff:ff:00:00:00,
a packet with a MAC address of 00:13:49:12:34:56 matches
this criteria.
tos : enter any to classify traffic from any ToS, or set an IP
Precedence (the first 3 bits of of the 8-bit ToS field) value and
a Type of Service (the last 5 bits of the 8-bit ToS field) value.
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.
C13
no classifier <name> Deletes the classifier.
If you delete a classifier you cannot use policy rule related
information.
C13
no classifier <name> inactive Enables a classifier. C 13
classifier match-order
<auto|manual>
Use manual to have classifier rules applied according to the
weight of each rule you configured. Use auto to have
classifier rules applied according to the layer of the item
configured in the rule.
C13
classifier logging Creates a log when packets match a classifier rule during a
defined time interval.
C13
classifier logging interval <0-
65535>
Enter the length of the time period (in seconds) to count
matched packets for a classifier rule. Enter an integer from 0-
65535. 0 means that no logging is done.
C13

Содержание

Скачать