A SERVICE OF

logo

2-5
For the command of configuring a port link type (port link-type) and the command of allowing packets
of certain VLANs to pass through a port (port trunk permit), refer to the section of configuring Ethernet
ports in the “Port Basic Configuration” part of this document.
Configuring a Protocol-Based VLAN
Configuration Task List
Complete the following 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 and Maintaining Protocol-Based VLAN 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.