H3C S3100 Series Operation Manual

H3C S3100 Series Operation Manual

Vlan
Hide thumbs Also See for S3100 Series:

Advertisement

Operation Manual (For Soliton) - VLAN
H3C S3100 Series Ethernet Switches
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-4
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-5
1.2.3 Configuring the Default VLAN ID for a Port ............................................................ 1-6
1.3 MAC-Based VLAN ............................................................................................................. 1-7
1.4 Protocol-Based VLAN........................................................................................................ 1-7
1.4.1 Introduction to Protocol-Based VLAN ..................................................................... 1-7
1.4.2 Encapsulation Format of Ethernet Data.................................................................. 1-8
1.4.3 Encapsulation Formats ........................................................................................... 1-8
1.4.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 MAC-Based VLAN....................................................................................... 2-8
2.3.1 Configuring a MAC-Based VLAN ............................................................................ 2-8
2.3.2 Displaying and Maintaining MAC-Based VLAN ...................................................... 2-9
2.3.3 MAC-Based VLAN Configuration Example............................................................. 2-9
2.4 Configuring a Protocol-Based VLAN ............................................................................... 2-11
2.4.1 Protocol-Based VLAN Configuration Task List ..................................................... 2-11

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S3100 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S3100 Series

  • Page 1: Table Of Contents

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Table of Contents 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 ......................
  • Page 2 Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Table of Contents 2.4.3 Associating a Port with a Protocol-Based VLAN........... 2-12 2.4.4 Displaying Protocol-Based VLAN Configuration ........... 2-13 2.4.5 Protocol-Based VLAN Configuration Example............2-13...
  • Page 3: Chapter 1 Vlan Overview

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 1 VLAN Overview Chapter 1 VLAN Overview This chapter covers these topics: VLAN Overview Port-Based VLAN MAC-Based VLAN Protocol-Based VLAN 1.1 VLAN Overview 1.1.1 Introduction to VLAN The traditional Ethernet is a broadcast network, where all hosts are in the same broadcast domain and connected with each other through hubs or switches.
  • Page 4: Advantages Of Vlans

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 1 VLAN Overview communicate in the traditional Ethernet way. However, hosts in different VLANs cannot communicate with each other directly but need the help of network layer devices, such as routers and Layer 3 switches.
  • Page 5 The 16-bit TPID field with a value of 0x8100 indicates that the frame is VLAN tagged. On the H3C series Ethernet switches, the default TPID is 0x8100. The 3-bit priority field indicates the 802.1p priority of the frame. Refer to the “QoS”...
  • Page 6: Vlan Interface

    VLAN only, and packets received on a port of a VLAN are forwarded according to the VLAN’s own MAC address forwarding table. Currently, the H3C S3100 series Ethernet switches adopt the IVL mode only. For more information about the MAC address forwarding table, refer to the “MAC Address Forwarding Table Management”...
  • Page 7: Port-Based Vlan

    1.2.1 Link Types of Ethernet Ports The link type of an Ethernet port on the S3100 series can be one of the following: Access: An access port can belong to only one VLAN, and is generally connected to a user PC.
  • Page 8: Configuring The Default Vlan Id For A Port

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 1 VLAN Overview An access port can be assigned to only one VLAN, while a hybrid or trunk port can be assigned to multiple VLANs. Note: Before assigning an access or hybrid port to a VLAN, create the VLAN first.
  • Page 9: Mac-Based Vlan

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 1 VLAN Overview Table 1-3 Packet processing of a hybrid port Processing of an incoming packet Processing of an outgoing packet For an untagged packet For a tagged packet...
  • Page 10: Encapsulation Format Of Ethernet Data

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 1 VLAN Overview This feature is used for binding the ToS provided in the network to VLAN to facilitate management and maintenance. 1.4.2 Encapsulation Format of Ethernet Data This section introduces the common encapsulation formats of Ethernet data for you to understand the procedure for the switch to identify the packet protocols.
  • Page 11: Implementation Of Protocol-Based Vlan

    Supported (0x809B) 1.4.4 Implementation of Protocol-Based VLAN S3100 series Ethernet switches assign the packet to the specific VLAN by matching the packet with the protocol template. The protocol template is the standard to determine the protocol to which a packet belongs.
  • Page 12: Chapter 2 Vlan Configuration

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration Chapter 2 VLAN Configuration When configuring a VLAN, go to these sections for information you are interested in: VLAN Configuration Configuring a Port-Based VLAN Configuring a MAC-Based VLAN Configuring a Protocol-Based VLAN 2.1 VLAN Configuration...
  • Page 13: Basic Vlan Interface Configuration

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration Caution: VLAN 1 is the system default VLAN, which needs not to be created and cannot be removed, either. The VLAN you created in the way described above is a static VLAN. On the switch, there are dynamic VLANs which are registered through GVRP.
  • Page 14: Displaying Vlan Configuration

    The operation of enabling/disabling a VLAN’s VLAN interface does not influence the physical status of the Ethernet ports belonging to this VLAN. An S3100 series switch can be configured with a single VLAN interface only, and the VLAN must be the management VLAN. For details about the management VLAN, refer to the “Management VLAN Configuration”...
  • Page 15: Configuring A Hybrid-Port-Based Vlan

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration To do… Use the command… Remarks Required If the specified VLAN does not exist, Enter VLAN view vlan vlan-id this command be created first creates the VLAN before entering its view.
  • Page 16: Configuring A Trunk-Port-Based Vlan

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration To do… Use the command… Remarks Required Allow the specified VLANs port hybrid vlan By default, all Hybrid ports to pass through the vlan-id-list { tagged |...
  • Page 17: Displaying And Maintaining Port-Based Vlan

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration Note: To convert a Trunk port into a Hybrid port (or vice versa), you need to use the Access port as a medium. For example, the Trunk port has to be configured as an Access port first and then a Hybrid port.
  • Page 18 Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration # Create VLAN 101, specify its descriptive string as “DMZ”, and add Ethernet1/0/1 to VLAN 101. <SwitchA> system-view [SwitchA] vlan 101 [SwitchA-vlan101] description DMZ [SwitchA-vlan101] port Ethernet 1/0/1 [SwitchA-vlan101] quit # Create VLAN 201, and add Ethernet1/0/2 to VLAN 201.
  • Page 19: Troubleshooting Ethernet Port Configuration

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration 2.2.6 Troubleshooting Ethernet Port Configuration Symptom: Fail to configure the default VLAN ID of an Ethernet port. Solution: Take the following steps. Use the display interface or display port command to check if the port is a trunk port or a hybrid port.
  • Page 20: Displaying And Maintaining Mac-Based Vlan

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration To do… Use the command… Remarks Required Enable the MAC-based mac-vlan enable VLAN function Disabled by default. Note: You cannot enable MAC-based VLAN on a link aggregation group member port.
  • Page 21 Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration II. Network diagram Figure 2-2 Network diagram for MAC-based VLAN configuration III. Configuration procedure # Create VLAN 100 and VLAN 200; assign Ethernet 1/0/1 to VLAN 100 and Ethernet 1/0/2 to VLAN 200.
  • Page 22: Configuring A Protocol-Based Vlan

    Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration 2.4 Configuring a Protocol-Based VLAN 2.4.1 Protocol-Based VLAN Configuration Task List Complete these tasks to configure protocol-based VLAN: Task Remarks Configuring a Protocol Template for a Protocol-Based VLAN...
  • Page 23 Chapter 2 VLAN Configuration Caution: At present, the S3100 series support only the standard templates of AppleTalk and IP, the standard template of IPX encapsulated in Ethernet II format, and the user-defined templates matching the Ethernet II encapsulation format. Protocol templates matching 802.2/802.3 encapsulation formats and their extended...
  • Page 24 Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration 2.4.4 Displaying Protocol-Based VLAN Configuration To do... Use the command... Remarks Display the information about the display vlan [ vlan-id [ to vlan-id ] protocol-based VLAN...
  • Page 25 Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration III. Configuration procedure # Create VLAN 100 and VLAN 200, and add Ethernet 1/0/11 and Ethernet 1/0/12 to VLAN 100 and VLAN 200 respectively. <Switch> system-view...
  • Page 26 Operation Manual (For Soliton) – VLAN H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration [Switch-Ethernet1/0/10] port hybrid protocol-vlan vlan 100 0 to 1 [Switch-Ethernet1/0/10] port hybrid protocol-vlan vlan 200 0 # Display the associations between Ethernet 1/0/10 and the VLAN protocol templates to verify your configuration.

Table of Contents