Operation Manual – VLAN
H3C S3100-52P Ethernet Switch 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 Procedure for the Switch to Judge Packet Protocol..............................................1-10
1.3.4 Encapsulation Formats .........................................................................................1-10
1.3.5 Implementation of Protocol-Based VLAN .............................................................1-11
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 Port-Based VLAN Configuration Task List..............................................................2-3
2.2.2 Configuring the Link Type of an Ethernet Port........................................................2-4
2.2.3 Assigning an Ethernet Port to a VLAN....................................................................2-4
2.2.4 Configuring the Default VLAN for a Port.................................................................2-5
2.2.5 Displaying and Maintaining Port-Based VLAN........................................................2-6
2.2.6 Port-Based VLAN Configuration Example..............................................................2-6
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-10
2.3.4 Displaying Protocol-Based VLAN Configuration...................................................2-11
2.3.5 Protocol-Based VLAN Configuration Example......................................................2-11