1-19
ipx
: Creates the IPX-based protocol template. The
ethernetii
,
llc
,
raw
and
snap
keywords represent
four IPX encapsulation formats. For more information about encapsulation formats, refer to the
accompanying operation manual.
mode
: Configures a user-defined protocol template.
ethernetii
etype-id
: Creates the protocol template that matches the Ethernet II encapsulation format
and the corresponding protocol type value of the packet. The
etype-id
argument indicates the protocol
type value and ranges from 0x0600 to 0xFFFF(excluding 0x0800, 0x8137, and 0x809b).
llc
: Creates the protocol template that matches LLC encapsulation format.
dsap-id
: Destination service access point. This argument ranges 0x00 to 0xFF.
ssap-id
: Source service access point. This argument ranges from 0x00 to 0xFF.
snap etype-id
: Creates a protocol template that matches SNAP encapsulation format and the
corresponding protocol type value of the packet. The
etype-id
argument indicates the protocol type
value and ranges from 0x0600 to 0xFFFF.
protocol-index
: Beginning protocol index ranging from 0 to 4. If you do not specify this argument, the
beginning protocol index will be determined by the system.
protocol-index-end
: End protocol index ranging from 0 to 4. Note that this argument must be larger than
or equal to the
protocol-index
argument.
all
: Deletes all the protocol templates.
When you use the
mode
keyword to configure a user-defined protocol template, if you set the
etype-id
argument for Ethernet II or SNAP packets to 0x0800, 0x8137, or 0x809B, the matching packets will
have the same format as that of IP, IPX, and AppleTalk packets respectively. To prevent two
commands from processing packets of the same matching conditions in different ways, the switch will
prompt that you cannot set the
etype-id
argument for Ethernet II or SNAP packets to 0x0800, 0x8137, or
0x809B.
Description
Use the
protocol-vlan
command to configure the protocol template used for classifying protocol-based
VLANs.
Use the
undo protocol-vlan
command to disable the configuration.
By default, no protocol template is configured.
Related commands:
display protocol-vlan vlan
.
Examples
# Configure VLAN 3 as a protocol-based VLAN and assign IP packets to VLAN 3 for transmission.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 3