i
Table of Contents
1 VLAN Overview··········································································································································1-1
VLAN Overview·······································································································································1-1
Introduction to VLAN······················································································································· 1-1
Advantages of VLANs····················································································································· 1-2
How VLAN Works····························································································································1-2
VLAN Interface································································································································1-4
VLAN Classification·························································································································1-4
Port-Based VLAN····································································································································1-4
Protocol-Based VLAN························································································································��····1-5
Introduction to Protocol-Based VLAN······························································································1-5
Encapsulation Format of Ethernet Data··························································································1-5
Procedure for the Switch to Judge Packet Protocol········································································1-7
Encapsulation Formats····················································································································1-7
Implementation of Protocol-Based VLAN························································································1-7
2 VLAN Configuration·································································································································· 2-1
VLAN Configuration································································································································ 2-1
Configuration Task List····················································································································2-1
Basic VLAN Configuration···············································································································2-1
Basic VLAN Interface Configuration························��·······································································2-2
Displaying and Maintaining VLAN···································································································2-2
Configuring a Port-Based VLAN·············································································································2-3
Configuring a Port-Based VLAN······································································································2-3
Protocol-Based VLAN Configuration Example················································································2-3
Configuring a Protocol-Based VLAN·······································································································2-5
Configuration Task List····················································································································2-5
Configuring a Protocol Template for a Protocol-Based VLAN························································ 2-5
Associating a Port with a Protocol-Based VLAN·············································································2-6
Displaying and Maintaining Protocol-Based VLAN········································································· 2-7
Protocol-Based VLAN Configuration Example················································································2-7