H3C S5500-SI Series Operation Manual
H3C S5500-SI Series Operation Manual

H3C S5500-SI Series Operation Manual

Vlan
Hide thumbs Also See for S5500-SI Series:

Advertisement

Operation Manual - VLAN
H3C S5500-SI Series Ethernet Switches
Chapter 1 VLAN Configuration .................................................................................................... 1-1
1.1 Introduction to VLAN.......................................................................................................... 1-1
1.1.1 VLAN Overview ....................................................................................................... 1-1
1.1.2 VLAN Fundamental................................................................................................. 1-2
1.1.3 VLAN Classification................................................................................................. 1-3
1.2 Configuring Basic VLAN Attributes .................................................................................... 1-4
1.3 Basic VLAN Interface Configuration .................................................................................. 1-4
1.4 Port-Based VLAN Configuration ........................................................................................ 1-6
1.4.1 Introduction to Port-Based VLAN ............................................................................ 1-6
1.4.2 Configuring an Access-Port-Based VLAN .............................................................. 1-7
1.4.3 Configuring a Trunk-Port-Based VLAN................................................................... 1-8
1.4.4 Configuring a Hybrid-Port-Based VLAN.................................................................. 1-9
1.5 MAC Address-Based VLAN Configuration ...................................................................... 1-10
1.5.1 Introduction to MAC Address-Based VLAN .......................................................... 1-10
1.5.2 Configuring a MAC Address-Based VLAN............................................................ 1-11
1.6 Displaying and Maintaining VLAN ................................................................................... 1-12
1.7 VLAN Configuration Example .......................................................................................... 1-13
Chapter 2 Voice VLAN Configuration.......................................................................................... 2-1
2.1 Introduction to Voice VLAN................................................................................................ 2-1
2.1.1 Voice VLAN Modes on a Port ................................................................................. 2-2
2.1.2 Security Mode and Normal Mode for the Voice VLAN............................................ 2-4
2.2 Configuring Voice VLAN .................................................................................................... 2-4
2.2.1 Configuration Prerequisites..................................................................................... 2-4
2.2.3 Configuring Voice VLAN Mode on a Port to Manual Mode..................................... 2-5
2.3 Displaying and Maintaining Voice VLAN ........................................................................... 2-7
2.4 Voice VLAN Configuration Examples ................................................................................ 2-7
2.4.1 Automatic Voice VLAN Mode Configuration Example ............................................ 2-7
2.4.2 Manual Voice VLAN Mode Configuration Example ................................................ 2-9
Chapter 3 GVRP Configuration .................................................................................................... 3-1
3.1 Introduction to GVRP......................................................................................................... 3-1
3.1.1 GARP ...................................................................................................................... 3-1
3.1.2 GVRP ...................................................................................................................... 3-4
3.1.3 Protocols and Standards......................................................................................... 3-4
3.2 GVRP Configuration Task List........................................................................................... 3-5
3.3 Configuring GVRP ............................................................................................................. 3-5
3.3.1 Enabling GVRP ....................................................................................................... 3-5

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5500-SI Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S5500-SI Series

  • Page 1: Table Of Contents

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Table of Contents Table of Contents Chapter 1 VLAN Configuration ....................1-1 1.1 Introduction to VLAN......................1-1 1.1.1 VLAN Overview ....................... 1-1 1.1.2 VLAN Fundamental....................1-2 1.1.3 VLAN Classification....................1-3 1.2 Configuring Basic VLAN Attributes ..................1-4 1.3 Basic VLAN Interface Configuration ..................
  • Page 2 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Table of Contents 3.3.2 Configuring GARP Timers..................3-6 3.4 Displaying and Maintaining GVRP..................3-7 3.5 GVRP Configuration Examples ..................3-7 3.5.1 GVRP Configuration Example I................3-7 3.5.2 GVRP Configuration Example II................3-9...
  • Page 3: Chapter 1 Vlan Configuration

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration Chapter 1 VLAN Configuration When configuring VLAN, go to these sections for information you are interested in: Introduction to VLAN Configuring Basic VLAN Attributes Basic VLAN Interface Configuration...
  • Page 4: Vlan Fundamental

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration A VLAN is not restricted by physical factors, that is to say, hosts that reside in different network segments may belong to the same VLAN, users in a VLAN can be connected to the same switch, or span across multiple switches or routers.
  • Page 5: Vlan Classification

    1.1.3 VLAN Classification Based on how VLANs are established, VLANs fall into different categories. The following types are the most commonly used: Port-based MAC address-based Protocol-based IP-subnet-based Policy-based Other types The S5500-SI series Ethernet switches support port-based VLAN and MAC address-based VLAN.
  • Page 6: Configuring Basic Vlan Attributes

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration 1.2 Configuring Basic VLAN Attributes Follow these steps to configure basic VLAN attributes: To do… Use the command… Remarks Enter system view — system-view Optional vlan { vlan-id1 [ to...
  • Page 7 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration be an IP network segment and the VLAN interface can be the gateway to enable IP address-based Layer 3 forwarding. Follow these steps to configure VLAN interface basic attributes: Use the To do…...
  • Page 8: Port-Based Vlan Configuration

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration 1.4 Port-Based VLAN Configuration 1.4.1 Introduction to Port-Based VLAN This is the simplest and yet the most effective way of classifying VLANs. It groups VLAN members by port. After added to a VLAN, a port can forward the packets of the VLAN.
  • Page 9: Configuring An Access-Port-Based Vlan

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration Inbound packets handling Outbound packets If no tag is Port type If a tag is carried in the handling carried in the packet packet Receive the packet if...
  • Page 10: Configuring A Trunk-Port-Based Vlan

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration To do… Use the command… Remarks Enter system view system-view — 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 11: Configuring A Hybrid-Port-Based Vlan

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration To do… Use the command… Remarks Enter system view system-view — Enter Use either command interface interface-type Ethernet In Ethernet port view, the interface-number Enter port view...
  • Page 12: Mac Address-Based Vlan Configuration

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration To do… Use the command… Remarks — Enter system view system-view Enter Use either command; interface interface-type Ethernet In Ethernet port view, the interface-number Enter port view...
  • Page 13: Configuring A Mac Address-Based Vlan

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration I. MAC address-based VLAN implementation With MAC address-based VLANs created on a port, the port operates as follows: If an untagged packet is received, the port checks its MAC address VLAN entries for the one that matches the source MAC address of the packet.
  • Page 14: Displaying And Maintaining Vlan

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration To do... Use the command... Remarks Enter system view system-view — Associate MAC mac-vlan mac-address addresses with a mac-addr vlan vlan-id Required VLAN [ priority priority ] Enter Use either command.
  • Page 15: Vlan Configuration Example

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration 1.7 VLAN Configuration Example I. Network requirements Device A connects to Device B through Trunk port GigabitEthernet 1/0/1; The default VLAN ID of the port is 100;...
  • Page 16 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration IV. Verification Verifying the configuration of Device A is similar to that of Device B. So only Device A is taken for example here. # Display the information about GigabitEthernet 1/0/1 of Device A to verify the above configurations.
  • Page 17 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 1 VLAN Configuration 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrier The output above shows that: The port is a Trunk port (Port link-type: trunk).
  • Page 18: Chapter 2 Voice Vlan Configuration

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration Chapter 2 Voice VLAN Configuration When configuring Voice VLAN, go to these sections for information you are interested Introduction to Voice VLAN Configuring Voice VLAN Displaying and Maintaining Voice VLAN Voice VLAN Configuration 2.1 Introduction to Voice VLAN...
  • Page 19: Voice Vlan Modes On A Port

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration Note: As the first 24 bits of a MAC address (in binary format), an OUI address is a globally unique identifier assigned to a vendor by IEEE (Institute of Electrical and Electronics Engineers).
  • Page 20 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration Table 2-2 Voice VLAN operating mode and the corresponding voice traffic types Port voice Voice traffic Port link type VLAN mode type Access: not supported Trunk: supported provided that the default VLAN of...
  • Page 21: Security Mode And Normal Mode For The Voice Vlan

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration Note: The default VLAN for all ports is VLAN 1. Using commands, users can either configure the default VLAN of a port, or configure to allow a certain VLAN to pass through the port.
  • Page 22: Configuring Voice Vlan Mode On A Port To Automatic Mode

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration 2.2.2 Configuring Voice VLAN Mode on a Port to Automatic Mode Follow these steps to set the port voice VLAN mode to automatic: To do... Use the command...
  • Page 23 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration To do... Use the command... Remarks Enter system view system-view — Optional Enable the security mode voice vlan security of a voice VLAN enable Enabled by default...
  • Page 24: Displaying And Maintaining Voice Vlan

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration Note: Only one VLAN of a device can have the voice VLAN function enabled at a time, and the VLAN must be an exsiting static VLAN.
  • Page 25 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration II. Network diagram Figure 2-1 Network diagram for automatic voice VLAN mode configuration III. Configuration procedure # Create VLAN 2 and VLAN 6. <DeviceA> system-view [DeviceA] vlan 2...
  • Page 26: Manual Voice Vlan Mode Configuration Example

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration [DeviceA-GigabitEthernet1/0/1] voice vlan enable [DeviceA-GigabitEthernet1/0/1] return IV. Verification # Display information about the OUI addresses, OUI address masks, and descriptive strings. <DeviceA> display voice vlan oui...
  • Page 27 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration II. Network diagram Device A Device B Internet VLAN2 Eth1/0/1 VLAN2 010-1001 OUI:0011-2200-0000 Mask:ffff-ff00-0000 Figure 2-2 Network diagram for manual voice VLAN mode configuration III. Configuration procedure # Configure the voice VLAN to work in security mode and only allows legal voice packets to pass through the voice VLAN enabled port.
  • Page 28 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 2 Voice VLAN Configuration IV. Verification # Display information about the OUI addresses, OUI address masks, and descriptive strings. <DeviceA> display voice vlan oui Oui Address Mask Description 0001-e300-0000 ffff-ff00-0000...
  • Page 29: Chapter 3 Gvrp Configuration

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration Chapter 3 GVRP Configuration GARP VLAN Registration Protocol (GVRP) is a GARP application. It functions based on the operating mechanism of GARP to maintain and propagate dynamic VLAN registration information for the GVRP devices on the network.
  • Page 30 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration participant sends LeaveAll messages upon the expiration of the LeaveAll timer, which is triggered when the GARP participant is created. Join messages, Leave messages, and LeaveAll message make sure the reregistration and deregistration of GARP attributes are performed in an orderly way.
  • Page 31 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration attributes with other participants by making or withdrawing declarations of attributes and at the same time, based on received declarations or withdrawals, handles attributes of other participants. When a port receives an attribute declaration, it registers the attribute;...
  • Page 32: Gvrp

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration Field Description Value Number of octets occupied by Attribute Length an attribute, inclusive of the 2 to 255 (in bytes) attribute length field 0: LeaveAll event 1: JoinEmpty event...
  • Page 33: Gvrp Configuration Task List

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration 3.2 GVRP Configuration Task List Note: GVRP can only be configured on Trunk ports. Complete the following tasks to configure GVRP: Task Remarks Enabling GVRP Required Configuring GARP Timers Optional 3.3 Configuring GVRP...
  • Page 34: Configuring Garp Timers

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration Note: Because GVRP is not compatible with the BPDU tunneling feature, you must disable BPDU tunneling before enabling GVRP on a BPDU tunneling–enabled Ethernet port. 3.3.2 Configuring GARP Timers Follow these steps to configure GARP timers: To do…...
  • Page 35: Displaying And Maintaining Gvrp

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration Timer Lower limit Upper limit Not less than two times the hold Less than half of the leave Join timer setting timer setting Greater than two times the join timer...
  • Page 36 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration II. Network diagram Figure 3-2 Network diagram for GVRP configuration III. Configuration procedure Configure Device A # Enable GVRP globally. <DeviceA> system-view [DeviceA] gvrp # Configure port GigabitEthernet 1/0/1 as a Trunk port, allowing all VLANs to pass.
  • Page 37: Gvrp Configuration Example Ii

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration # Display dynamic VLAN information on Device B. [DeviceB] display vlan dynamic Now, the following dynamic VLAN exist(s): 3.5.2 GVRP Configuration Example II I. Network requirements Configure GVRP for dynamic VLAN information registration and update among devices.
  • Page 38: Gvrp Configuration Example Iii

    Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration [DeviceB] gvrp # Configure port GigabitEthernet 1/0/1 as a Trunk port, allowing all VLANs to pass. [DeviceB] interface GigabitEthernet 1/0/1 [DeviceB-GigabitEthernet1/0/1] port link-type trunk [DeviceB-GigabitEthernet1/0/1] port trunk permit vlan all # Enable GVRP on GigabitEthernet 1/0/1.
  • Page 39 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration [DeviceA-GigabitEthernet1/0/1] port link-type trunk [DeviceA-GigabitEthernet1/0/1] port trunk permit vlan all # Enable GVRP on GigabitEthernet 1/0/1. [DeviceA-GigabitEthernet1/0/1] gvrp # Set the GVRP registration type to forbidden on the port.
  • Page 40 Operation Manual – VLAN H3C S5500-SI Series Ethernet Switches Chapter 3 GVRP Configuration Broadcast MAX-ratio: 100% Unicast MAX-ratio: 100% Multicast MAX-ratio: 100% Allow jumbo frame to pass PVID: 1 Mdi type: auto Link delay is 0(sec) Port link-type: trunk VLAN passing...

Table of Contents