i
Table of Contents
1 VLAN Overview··········································································································································1-1
VLAN Overview·······································································································································1-1
Introduction to VLAN ·······················································································································1-1
Advantages of VLANs ·····················································································································1-2
VLAN Fundamentals ·······················································································································1-2
VLAN Interface ································································································································1-4
VLAN Classification·························································································································1-4
Port-Based VLAN····································································································································1-4
Link Types of Ethernet Ports···········································································································1-5
Assigning an Ethernet Port to Specified VLANs ·············································································1-5
Configuring the Default VLAN ID for a Port·····················································································1-5
Protocol-Based VLAN·····························································································································1-6
Introduction to Protocol-Based VLAN······························································································1-6
Encapsulation Format of Ethernet Data ··························································································1-7
Procedure for the Switch to Judge Packet Protocol········································································1-9
Encapsulation Formats····················································································································1-9
Implementation of Protocol-Based VLAN······················································································1-10
2 VLAN Configuration ··································································································································2-1
VLAN Configuration ································································································································2-1
VLAN Configuration Task List ·········································································································2-1
Basic VLAN Configuration···············································································································2-1
Basic VLAN Interface Configuration································································································2-2
Displaying VLAN Configuration·······································································································2-3
Configuring a Port-Based VLAN ·············································································································2-3
Port-Based VLAN Configuration Task List ······················································································2-3
Configuring the Link Type of an Ethernet Port················································································2-3
Assigning an Ethernet Port to a VLAN ····························································································2-4
Configuring the Default VLAN for a Port ·························································································2-5
Displaying and Maintaining Port-Based VLAN················································································2-5
Port-Based VLAN Configuration Example·······················································································2-5
Configuring a Protocol-Based VLAN·······································································································2-7
Protocol-Based VLAN Configuration Task List ···············································································2-7
Configuring a Protocol Template for a Protocol-Based VLAN ························································2-7
Associating a Port with a Protocol-Based VLAN·············································································2-8
Displaying Protocol-Based VLAN Configuration ·············································································2-9
Protocol-Based VLAN Configuration Example················································································2-9