2-9
Protocol-Based VLAN Configuration Task List
Complete these tasks to configure protocol-based VLAN:
Task Remarks
Configuring a Protocol Template for a Protocol-Based VLAN Required
Associating a Port with a Protocol-Based VLAN Required
Displaying Protocol-Based VLAN Configuration Optional
Configuring a Protocol Template for a Protocol-Based VLAN
Configuration prerequisites
Create a VLAN before configuring the VLAN as a protocol-based VLAN.
Configuration procedure
Follow these steps to configure the protocol template for a VLAN:
To do... Use the command... Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id —
Configure the protocol
template for the VLAN
protocol-vlan
[ protocol-index ] {
at
|
ip
|
ipx
{
ethernetii
|
llc
|
raw
|
snap
} |
mode
{
ethernetii
etype
etype-id |
llc dsap
dsap-id
ssap
ssap-id |
snap
etype
etype-id } }
Required
By default, no protocol
template is configured for
the VLAN.
When configuring a protocol template for a protocol-based VLAN, use the at, ip or ipx keyword to
configure a standard template to match AppleTalk, IP, and IPX packets respectively, and use the mode
keyword to configure a user-defined template.