beautypg.com

2 command examples – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 60

background image

Chapter 10 Classifier Commands

Ethernet Switch CLI Reference Guide

60

The following table shows some other common Ethernet types and the corresponding protocol
number.

In an IPv4 packet header, the “Protocol” field identifies the next level protocol. The following
table shows some common IPv4 protocol types and the corresponding protocol number. Refer
to

http://www.iana.org/assignments/protocol-numbers

for a complete list.

10.2 Command Examples

This example creates a classifier for packets with a VLAN ID of 3. The resulting traffic flow is
identified by the name VLAN3. The policy command can use the name VLAN3 to apply

policy rules to this traffic flow. See the policy example in

Chapter 46 on page 175

.

Table 31 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

XNS Compat

0807

Banyan Systems

0BAD

BBN Simnet

5208

IBM SNA

80D5

AppleTalk AARP

80F3

Table 32 Common IPv4Protocol Types and Protocol Numbers

PROTOCOL TYPE

PROTOCOL NUMBER

ICMP

1

TCP

6

UDP

17

EGP

8

L2TP

115

sysname# config
sysname(config)# classifier VLAN3 vlan 3
sysname(config)# exit
sysname# show classifier
Index Active Name Rule
1 Yes VLAN3 VLAN = 3;