H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – VLAN
H3C S7500 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 VLAN Principles ...................................................................................................... 1-2
1.2 Port-Based VLAN............................................................................................................... 1-3
1.2.1 Link Types of Ethernet Ports................................................................................... 1-4
1.2.2 Adding an Ethernet Port to Specified VLANs.......................................................... 1-4
1.2.3 Configuring the Default VLAN ID for a Port ............................................................ 1-4
1.3 Protocol-Based VLAN........................................................................................................ 1-6
1.3.1 Introduction to Protocol-Based VLAN ..................................................................... 1-6
1.3.2 Encapsulation Format of Ethernet Data.................................................................. 1-6
1.3.3 Procedure for the Switch to Judge Packet Protocol................................................ 1-8
1.3.4 Encapsulation Formats ........................................................................................... 1-9
1.3.5 Implementation of Protocol-Based VLAN ............................................................... 1-9
Chapter 2 VLAN Configuration .................................................................................................... 2-1
2.1 VLAN Configuration........................................................................................................... 2-1
2.1.1 Basic VLAN Configuration....................................................................................... 2-1
2.1.2 Configuring VLAN Broadcast Storm Suppression .................................................. 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 Trunk-Port-Based VLAN................................................................... 2-4
2.2.3 Configuring a Hybrid-Port-Based VLAN.................................................................. 2-5
2.2.4 Protocol-based VLAN Configuration Example........................................................ 2-6
2.3 Configuring a Protocol-Based VLAN ................................................................................. 2-6
2.3.1 Creating Protocol Template for Protocol-Based VLAN........................................... 2-6
2.3.2 Associating a Port with the Protocol-Based VLAN.................................................. 2-8
2.3.3 Associating a Card with the Protocol-Based VLAN ................................................ 2-8
2.3.4 Displaying Protocol-Based VLAN Configuration................................................... 2-10
2.3.5 Protocol-Based VLAN Configuration Example...................................................... 2-10