User guide
B
LACK
D
IAMOND
U
SER
G
UIDE
4-13
T
YPES
OF
VLAN
S
D
EFINING
P
ROTOCOL
F
ILTERS
If necessary, you can define a customized protocol filter based on EtherType, LLC,
and/or SNAP. Up to six protocols may be part of a protocol filter. To define a protocol
filter, do the following:
1 Create a protocol using the following command:
create protocol <protocol_name>
For example:
create protocol fred
The protocol name can have a maximum of 31 characters.
2 Configure the protocol using the following command:
config protocol <protocol_name> add <protocol_type> <hex_value>
Supported protocol types include:
—
etype
— EtherType
The values for
etype
are four-digit hexadecimal numbers taken from a list
maintained by the IEEE. This list can be found at the following URL:
http://standards.ieee.org/regauth/ethertype/index.html
—
llc
— LLC SAP
The values for
llc
are four-digit hexadecimal numbers that are created by
concatenating a two-digit LLC Destination SAP (DSAP) and a two-digit LLC
Source SAP (SSAP).
—
snap
— Ethertype inside an IEEE SNAP packet encapsulation.
The values for
snap
are the same as the values for
etype
, described previously.
For example:
config protocol fred add llc feff
config protocol fred add snap 9999
A maximum of seven protocol filters, each containing a maximum of six protocols, can
be defined. However, no more than seven protocols should be active and configured for
use.
For more information on SNAP protocol for Ethernet protocol types, see
TR 11802-5:1997 (ISO/IEC) [ANSI/IEEE std. 802.1H, 1997 Edition].