ZyXEL Communications XS3800-28 Cli Reference Manual page 61

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

Advertisement

Table 35 Command Summary: classifier (continued)
COMMAND
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|appletal
k|decnet|IPv6>] [source-mac
<src-mac-addr> [mask
<mask>]] [source-port <port-
list>] [ source-trunk
<trunk-list> ] [
destination-port <port-list>
] [destination-mac <dest-
mac-addr> [mask <mask>]]
[ip-packet-length <0-65535>
to <0-65525>] [dscp <0-63>]
[precedence <0-7>] [tos <0-
255>] [ipv6-dscp <0-63>]
[ip-protocol <protocol-
num|tcp|udp|icmp|egp|
ospf|rsvp|igmp|igp|pim|ipsec
> [establish-only]][ipv6-
next-header <protocol-
num|tcp|udp|icmpv6>
[establish-only]][source-ip
<src-ip-addr> [mask-bits
<mask-bits>]] [ipv6-source-
ip <src-ipv6-addr> [prefix-
length <prefix-length>] ]
[source-socket <socket-num>
[to <socket-num>] ]]
[destination-ip <dest-ip-
addr> [mask-bits <mask-
bits>]] [ipv6-destination-ip
<dest-ipv6-addr> [prefix-
length <prefix-length>] ]
[destination-socket <socket-
num> [to <socket-num>] ]]
[time-range <name>] [log]
[count] [inactive]>
no classifier <name>
no classifier <name>
inactive
Chapter 15 Classifier Commands
DESCRIPTION
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: Type 0 to classify traffic from any inner priority
level or type a priority level with 1 being the highest priority.
vlan-id: Type 0 to classify traffic from any VLAN or type a
specific VLAN ID number.
inner-vlan-id: Type 0 to classify traffic from any inner VLAN or
type a specific inner VLAN ID number.
ethernet-type: Enter one of the Ethernet types or type the
hexadecimal number that identifies an Ethernet type (see
Table 36 on page
source-mac: Enter the source MAC address of the packet.
source-port: Enter any to classify traffic received on any
port or type a specific port number.
source-trunk: Enter any to classify traffic from any trunk
group or type a specific trunk group ID number.
destination-port: Enter any to classify traffic to any
destination port or type a specific port number.
destination-mac: Enter the destination MAC address of
the packet.
ip-protocol: Enter one of the protocols or type the port
number that identifies the protocol (see
62).
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 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-ip: Enter the source IPv4 address of the packet.
ipv6-source-ip: Enter the source IPv6 address of the
packet.
source-socket: (for UDP or TCP protocols only) Specify the
protocol port number.
destination-ip: Enter the destination IPv4 address of the
packet.
ipv6-destination-ip: Enter the destination IPv6 address
of the packet.
destination-socket: (for UDP or TCP protocols only)
specify the protocol port number.
time-range: Enter the name of a pre-defined time-range
rule.
inactive: Disables this classifier.
Deletes the classifier.
If you delete a classifier you cannot use policy rule related
information.
Enables a classifier.
Ethernet Switch CLI Reference Guide
61
62).
Table 37 on page
M
P
C
13
C
13
C
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents