Operation Manual – VLAN
H3C S3100 Series Ethernet Switches
Table of Contents
i
Table of Contents
Chapter 1 VLAN Overview ............................................................................................................ 1-1
1.1 VLAN Overview.................................................................................................................. 1-1
1.1.1 Introduction to VLAN ............................................................................................... 1-1
1.1.2 Advantages of VLANs ............................................................................................. 1-2
1.1.3 VLAN Fundamentals ............................................................................................... 1-2
1.1.4 VLAN Interface ........................................................................................................ 1-4
1.1.5 VLAN Classification................................................................................................. 1-5
1.2 Port-Based VLAN............................................................................................................... 1-5
1.2.1 Link Types of Ethernet Ports................................................................................... 1-5
1.2.2 Assigning an Ethernet Port to Specified VLANs ..................................................... 1-6
1.2.3 Configuring the Default VLAN ID for a Port ............................................................ 1-6
1.3 Protocol-Based VLAN........................................................................................................ 1-7
1.3.1 Introduction to Protocol-Based VLAN ..................................................................... 1-7
1.3.2 Encapsulation Format of Ethernet Data.................................................................. 1-8
1.3.3 Encapsulation Formats ........................................................................................... 1-9
1.3.4 Implementation of Protocol-Based VLAN ............................................................... 1-9
Chapter 2 VLAN Configuration .................................................................................................... 2-1
2.1 VLAN Configuration ........................................................................................................... 2-1
2.1.1 VLAN Configuration Task List ................................................................................. 2-1
2.1.2 Basic VLAN Configuration....................................................................................... 2-1
2.1.3 Basic VLAN Interface Configuration ....................................................................... 2-2
2.1.4 Displaying VLAN Configuration............................................................................... 2-3
2.2 Configuring a Port-Based VLAN ........................................................................................ 2-3
2.2.1 Configuring an Access-Port-Based VLAN .............................................................. 2-3
2.2.2 Configuring a Hybrid-Port-Based VLAN.................................................................. 2-4
2.2.3 Configuring a Trunk-Port-Based VLAN ................................................................... 2-5
2.2.4 Displaying and Maintaining Port-Based VLAN........................................................ 2-6
2.2.5 Port-Based VLAN Configuration Example .............................................................. 2-6
2.2.6 Troubleshooting Ethernet Port Configuration.......................................................... 2-8
2.3 Configuring a Protocol-Based VLAN ................................................................................. 2-8
2.3.1 Protocol-Based VLAN Configuration Task List ....................................................... 2-8
2.3.2 Configuring a Protocol Template for a Protocol-Based VLAN ................................ 2-8
2.3.3 Associating a Port with a Protocol-Based VLAN..................................................... 2-9
2.3.4 Displaying Protocol-Based VLAN Configuration ................................................... 2-10
2.3.5 Protocol-Based VLAN Configuration Example...................................................... 2-10