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

H3C S5500-SI Series Operation Manual

Hide thumbs Also See for S5500-SI Series:
Table of Contents

Advertisement

Quick Links

Operation Manual - MSTP
H3C S5500-SI Series Ethernet Switches
Chapter 1 MSTP Configuration .................................................................................................... 1-1
1.1 MSTP Overview ................................................................................................................. 1-1
1.1.1 Introduction to STP ................................................................................................. 1-1
1.1.2 Introduction to MSTP ............................................................................................ 1-10
1.2 Configuration Task List .................................................................................................... 1-15
1.3 Configuring the Root Bridge ............................................................................................ 1-16
1.3.1 Configuring an MST Region.................................................................................. 1-16
1.3.2 Specifying the Root Bridge or a Secondary Root Bridge ...................................... 1-17
1.3.3 Configuring the Work Mode of MSTP Device ....................................................... 1-19
1.3.4 Configuring the Priority of the Current Device ...................................................... 1-20
1.3.5 Configuring the Maximum Hops of an MST Region.............................................. 1-21
1.3.6 Configuring the Network Diameter of a Switched Network ................................... 1-21
1.3.7 Configuring Timers of MSTP................................................................................. 1-22
1.3.8 Configuring the Timeout Factor............................................................................. 1-25
1.3.9 Configuring the Maximum Transmission Rate of Ports......................................... 1-25
1.3.10 Configuring Ports as Edge Ports......................................................................... 1-26
1.3.12 Configuring the MSTP Packet Format for Ports.................................................. 1-28
1.3.13 Enabling the MSTP Feature................................................................................ 1-29
1.4 Configuring Leaf Nodes ................................................................................................... 1-31
1.4.1 Configuring an MST Region.................................................................................. 1-31
1.4.2 Configuring the Work Mode of MSTP ................................................................... 1-31
1.4.3 Configuring the Timeout Factor............................................................................. 1-31
1.4.4 Configuring the Maximum Transmission Rate of Ports......................................... 1-31
1.4.5 Configuring Ports as Edge Ports........................................................................... 1-31
1.4.6 Configuring Path Costs of Ports............................................................................ 1-31
1.4.7 Configuring Port Priority ........................................................................................ 1-33
1.4.9 Configuring the MSTP Packet Format for Ports.................................................... 1-35
1.4.10 Enabling the MSTP Feature................................................................................ 1-35
1.5 Performing mCheck ......................................................................................................... 1-35
1.5.1 Configuration Prerequisites................................................................................... 1-35
1.5.2 Configuration Procedure ....................................................................................... 1-35
1.5.3 Configuration Example.......................................................................................... 1-36
1.6 Configuring Digest Snooping ........................................................................................... 1-36
1.6.1 Configuration Prerequisites................................................................................... 1-36
1.6.2 Configuration Procedure ....................................................................................... 1-37
1.6.3 Configuration Example.......................................................................................... 1-38

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

Summary of Contents for H3C S5500-SI Series

  • Page 1: Table Of Contents

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Table of Contents Table of Contents Chapter 1 MSTP Configuration ....................1-1 1.1 MSTP Overview ......................... 1-1 1.1.1 Introduction to STP ....................1-1 1.1.2 Introduction to MSTP .................... 1-10 1.2 Configuration Task List ....................1-15 1.3 Configuring the Root Bridge ....................
  • Page 2 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Table of Contents 1.7 Configuring No Agreement Check ................... 1-39 1.7.1 Prerequisites ......................1-40 1.7.2 Configuration Procedure ..................1-41 1.7.3 Configuration Example..................1-41 1.8 Configuring Protection Functions..................1-42 1.8.1 Configuration prerequisites ................... 1-44 1.8.2 Enabling BPDU Guard ..................
  • Page 3: Chapter 1 Mstp Configuration

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Chapter 1 MSTP Configuration 1.1 MSTP Overview 1.1.1 Introduction to STP I. Functions of STP The spanning tree protocol (STP) is a protocol used to eliminate loops in a local area network (LAN).
  • Page 4 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Designated bridge and designated port Refer to the following table for the description of designated bridge and designated port. Description of designated bridge and designated port Classification...
  • Page 5 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration IV. How STP works STP identifies the network topology by transmitting configuration BPDUs between network devices. Configuration BPDUs contain sufficient information for network devices to complete the spanning tree computing. Important fields in a configuration BPDU include: Root bridge ID: consisting of root bridge priority and MAC address.
  • Page 6 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Step Description Upon receiving a configuration BPDU on a port, the device performs the following processing: If the received configuration BPDU has a lower priority than that of the...
  • Page 7 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Step Description The root port is the port on which the optimum configuration BPDU was received. Based on the configuration BPDU and the path cost of the root port, the device calculates a designated port configuration BPDU for each of the rest ports.
  • Page 8 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Switch A Switch A with priority 0 with priority 0 Switch B Switch B with priority 1 with priority 1 Switch C Switch C Switch C Switch C...
  • Page 9 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration BPDU of port after Device Comparison process comparison Port AP1 receives the configuration BPDU of Switch B {1, 0, 1, BP1}. Switch A finds that the configuration BPDU of the local port {0, 0, 0, AP1} is superior to the configuration received message, and discards the received configuration BPDU.
  • Page 10 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration BPDU of port after Device Comparison process comparison Port CP1 receives the configuration BPDU of Switch A {0, 0, 0, AP2}. Switch C finds that the received configuration BPDU is superior to the...
  • Page 11 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Switch A Switch A Switch A Switch A with priority 0 with priority 0 优先级为 0 优先级为 0 Switch B Switch B Switch B Switch B with priority 1 with priority 1 优先级为...
  • Page 12: Introduction To Mstp

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Namely, a newly elected root port or designated port requires twice the forward delay time before transitioning to the forwarding state, when the new configuration BPDU has been propagated throughout the network.
  • Page 13 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration MSTP supports mapping VLANs to MST instances by means of a VLAN-to-instance mapping table. MSTP divides a switched network into multiple regions, each containing multiple spanning trees that are independent of one another.
  • Page 14 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration and internal spanning tree (CIST). CIST refers to MST instance 0), and the same MSTP revision level (not shown in the figure). Multiple MST regions can exist in a switched network. You can use an MSTP command to group multiple devices to the same MST region.
  • Page 15 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Boundary port A boundary port is a port that connects an MST region to another MST configuration, or to a single spanning-tree region running STP, or to a single spanning-tree region running RSTP.
  • Page 16 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Figure 1-5 helps understand these concepts. Where, Devices A, B, C, and D constitute an MST region. Port 1 and port 2 of device A connect to the common root bridge.
  • Page 17: Configuration Task List

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration 1.2 Configuration Task List Before configuration, you need to know the position of each device in each MST instance: root bridge or leave node. In each instance, one, and only one device acts as the root bridge, while all others as leaf nodes.
  • Page 18: Configuring The Root Bridge

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Task Remarks Configuring Digest Snooping Optional Configuring No Agreement Check Optional Configuring Protection Functions Optional Note: If both GVRP and MSTP are enabled on a device at the same time, GVRP packets will be forwarded along the CIST.
  • Page 19: Specifying The Root Bridge Or A Secondary Root Bridge

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration To do... Use the command... Remarks Display currently The display command display effective region can be executed in any region-configuration configuration information view Caution: Two device belong to the same MST region only if they are configure to have the same MST region name, the same VLAN-to-instance mapping entries in the MST region and the same MST region revision level, and they are interconnected via a physical link.
  • Page 20 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration I. Specifying the current device as the root bridge of a specific spanning tree Follow these steps to specify the current device as the root bridge of a specific spanning tree: To do...
  • Page 21: Configuring The Work Mode Of Mstp Device

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration You can specify multiple secondary root bridges for the same instance. Namely, you can specify secondary root bridges for the same instance on two or more than two device.
  • Page 22: Configuring The Priority Of The Current Device

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration I. Configuration procedure Follow these steps to configure the MSTP work mode: To do... Use the command... Remarks Enter system view system-view — Optional Configure the work mode...
  • Page 23: Configuring The Maximum Hops Of An Mst Region

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration II. Configuration example # Set the device priority in MST instance 1 to 4096. <Sysname> system-view [Sysname] stp instance 1 priority 4096 1.3.5 Configuring the Maximum Hops of an MST Region By setting the maximum hops of an MST region, you can restrict the region size.
  • Page 24: Configuring Timers Of Mstp

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration path, the network diameter is the path that comprises more devices than any other among these paths. I. Configuration procedure Follow these steps to configure the network diameter of the switched network: To do...
  • Page 25 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Max time is a used for determining whether a configuration BPDU has “expired”. A BPDU that has “expired” will be discarded by the device. I. Configuration procedure Follow these steps to configure the timers of MSTP: To do...
  • Page 26 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Caution: The length of the forward delay time is related to the network diameter of the switched network. Typically, the larger the network diameter is, the longer the forward delay time should be.
  • Page 27: Configuring The Timeout Factor

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration 1.3.8 Configuring the Timeout Factor A device sends a BPDU to the devices around it at a regular interval of hello time to check whether any link is faulty. Typically, if a device does not receive a BPDU from the upstream device within nine times the hello time, it will assume that the upstream device has failed and start a new spanning tree computing process.
  • Page 28: Configuring Ports As Edge Ports

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration To do... Use the command... Remarks Enter system view system-view — Enter User either command Ethernet interface interface-type Configured Ethernet Enter interface interface-number interface view, the setting...
  • Page 29: Configuring Whether Ports Connect To Point-To-Point Links

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration To do... Use the command... Remarks Enter system view system-view — Enter User either command Ethernet interface interface-type Configured in Ethernet Enter interface interface-number interface view, the setting...
  • Page 30: Configuring The Mstp Packet Format For Ports

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration To do... Use the command... Remarks Enter system view system-view — Enter User either command Ethernet interface interface-type Configured in Ethernet Enter interface interface-number interface view, the setting...
  • Page 31: Enabling The Mstp Feature

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration a port on your command line. After your configuration, when working in MSTP mode, the port sends and receives only MSTP packets of the format you have configured.
  • Page 32 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration To do... Use the command... Remarks Enter system view system-view — Required Whether device Enable the MSTP feature stp enable MSTP-enabled by default for the device depends on the specific device model.
  • Page 33: Configuring Leaf Nodes

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration 1.4 Configuring Leaf Nodes 1.4.1 Configuring an MST Region Refer to ”Configuring an MST Region”. 1.4.2 Configuring the Work Mode of MSTP Refer to “Configuring the Work Mode of MSTP Device”.
  • Page 34 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration To do... Use the command... Remarks Enter system view system-view — Specify a standard for Optional device pathcost-standard when calculating the The default standard used { dot1d-1998 | dot1t |...
  • Page 35: Configuring Port Priority

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Note: In the calculation of the path cost value of an aggregated link, 802.1D-1998 does not take into account the number of ports in the aggregated link. Whereas, 802.1T takes the number of ports in the aggregated link into account.
  • Page 36: Configuring Whether Ports Connect To Point-To-Point Links

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration On an MSTP-compliant device, a port can have different priorities in different MST instances, and the same port can play different roles in different MST instances, so that data of different VLANs can be propagated along different physical paths, thus implementing per-VLAN load balancing.
  • Page 37: Configuring The Mstp Packet Format For Ports

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration 1.4.9 Configuring the MSTP Packet Format for Ports Refer to “Configuring the MSTP Packet Format for Ports”. 1.4.10 Enabling the MSTP Feature Refer to “Enabling the MSTP Feature”.
  • Page 38: Configuration Example

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration To do... Use the command... Remarks Perform mCheck stp mcheck Required Caution: The stp mcheck command is meaningful only when the device works in the MSTP (or RSTP) mode, not in the STP-compatible mode.
  • Page 39: Configuration Procedure

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration 1.6.2 Configuration Procedure Follow these steps to configure Digest Snooping: To do... Use the command... Remarks — Enter system view system-view Enter Ethernet interface interface-type Enter interface...
  • Page 40: Configuration Example

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Caution: You can only enable the Digest Snooping feature on the device connected to another vendor’s device that use private key to compute the configuration digest. With the Digest Snooping feature enabled, comparison of configuration digest is not needed for in-the-same-region check, so the VLAN-to-instance mappings must be the same on associated ports.
  • Page 41: Configuring No Agreement Check

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration II. Network diagram Root port Root port Different brand of device Different brand of device Designated port Designated port Blocked port Blocked port GigabitEthernet 1/0/2 GigabitEthernet 1/0/2...
  • Page 42: Prerequisites

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Figure 1-7 and Figure 1-8 show the rapid state transition mechanism on MSTP and RSTP designated ports. Upstream switch Upstream switch Downstream switch Downstream switch Send proposal packet...
  • Page 43: Configuration Procedure

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Configure the same region name, revision level and VLAN-to-instance mappings on the two devices, making them in the same region. 1.7.2 Configuration Procedure Following these steps to configure No Agreement Check: To do...
  • Page 44: Configuring Protection Functions

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration II. Network diagram Another vendor's device Another vendor's device Root port Root port Designated port Designated port GigabitEthernet1/0/1 GigabitEthernet1/0/1 GigabitEthernet1/0/1 GigabitEthernet1/0/1 Switch A Switch A Figure 1-9 No Agreement Check configuration III.
  • Page 45 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration and starts a new spanning tree computing process. This will cause network topology instability. Under normal conditions, these ports should not receive configuration BPDUs. However, if someone forges configuration BPDUs maliciously to attack the devices, network instability will occur.
  • Page 46: Configuration Prerequisites

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration TC-BPDUs within a short time, and frequent deletion operations bring a big burden to the device and hazard network stability. With the TC-BPDU guard function enabled, the device performs a deletion operation only once within a certain period of time (typically 10 seconds) after it receives a TC-BPDU, and monitors whether a new TC-BPDU is received within that period of time.
  • Page 47: Enabling Root Guard

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration 1.8.3 Enabling Root Guard Note: We recommend that you enable loop guard if your device supports this function. I. Configuration procedure Follow these steps to enable root guard: To do...
  • Page 48: Enabling Tc-Bpdu Attack Guard

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration To do... Use the command... Remarks Enter system view system-view — Enter User either command Ethernet interface interface-type Configured in Ethernet interface interface-number Enter interface view, view...
  • Page 49: Mstp Configuration Example

    Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration 1.10 MSTP Configuration Example I. Network requirements Configure MSTP so that packets of different VLANs are forwarded along different spanning trees. The specific configuration requirements are as follows: All devices on the network are in the same MST regions.
  • Page 50 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration [SwitchA-mst-region] instance 1 vlan 10 [SwitchA-mst-region] instance 3 vlan 30 [SwitchA-mst-region] instance 4 vlan 40 [SwitchA-mst-region] revision-level 0 # Activate MST region configuration manually. [SwitchA-mst-region] active region-configuration # Define Switch A as the root bridge of MST instance 1.
  • Page 51 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration Instance Vlans Mapped 1 to 9, 11 to 29, 31 to 39, 41 to 4094 Configuration on Switch C # Configure an MST region. <SwitchC> system-view [SwitchC] stp region-configuration...
  • Page 52 Operation Manual – MSTP H3C S5500-SI Series Ethernet Switches Chapter 1 MSTP Configuration [SwitchD-mst-region] active region-configuration # View the MST region configuration information that has taken effect. [SwitchD] display stp region-configuration Oper configuration Format selector Region name :example Revision level...

Table of Contents