
Chapter 71 Classifier
OLT2406 User’s Guide
510
71.3 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.
The following table shows some other common Ethernet types and the corresponding protocol number.
Table 258 Classifier Commands
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|decn
et|ipv6>] [source-mac <
src-mac-
addr
>] [source-port <
port-num
>]
[destination-mac <
dest-mac-addr
>]
[dscp <0-63>] [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
>] [destination-
ip <
dest-ip-addr
> [mask-bits
<
mask-bits
>]] [ipv6-destination-ip
<
dest-ipv6-addr
> [prefix-length
<
prefix-length
>]] [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.
ipv6-next-header
: enter an 8-bit next header
in the IPv6 packet. The Next Header field is
similar to the IPv4 Protocol field. The IPv6
protocol number ranges from 1 to 255 (see
See
for more
information about IPv6.
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
Table 259 Common Ethernet Types and Protocol Number
ETHERNET TYPE
PROTOCOL NUMBER
IP ETHII
0800
X.75 Internet
0801
NBS Internet
0802
ECMA Internet
0803
Chaosnet 0804
X.25 Level 3
0805
Summary of Contents for OLT2406
Page 4: ...Document Conventions OLT2406 User s Guide 4 Desktop Laptop Switch IP Phone Smart T V...
Page 32: ...Table of Contents OLT2406 User s Guide 32 Index 758...
Page 33: ...33 PART I Introduction and Hardware Installation...
Page 63: ...63 PART II Web Configurator...
Page 179: ...Chapter 21 Classifier OLT2406 User s Guide 179 Figure 112 Classifier Example...
Page 182: ...Chapter 22 Policy Rule OLT2406 User s Guide 182 Figure 113 Advanced Application Policy Rule...
Page 186: ...Chapter 22 Policy Rule OLT2406 User s Guide 186 Figure 114 Policy Example...
Page 248: ...Chapter 28 Loop Guard OLT2406 User s Guide 248 Figure 151 Advanced Application Loop Guard...
Page 393: ...393 PART III CLI Commands...
Page 581: ...Chapter 78 VoIP OLT2406 User s Guide 581...
Page 725: ...725 PART IV Troubleshooting Specifications Appendices and Index...