H3C S7500 Series Operation Manual
H3C S7500 Series Operation Manual

H3C S7500 Series Operation Manual

Mstp
Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual - MSTP
H3C S7500 Series Ethernet Switches
Chapter 1 MSTP Configuration .................................................................................................... 1-1
1.1 MSTP Overview ................................................................................................................. 1-1
1.1.1 MSTP Protocol Data Unit ........................................................................................ 1-1
1.1.2 Basic MSTP Terminologies..................................................................................... 1-2
1.1.3 Implementation of MSTP......................................................................................... 1-6
1.1.4 MSTP Implementation on Switches ........................................................................ 1-7
1.2 Root Bridge Configuration ................................................................................................. 1-7
1.2.1 Configuration Prerequisites..................................................................................... 1-8
1.2.2 MST Region Configuration...................................................................................... 1-9
1.2.3 Root Bridge/Secondary Root Bridge Configuration .............................................. 1-10
1.2.4 Bridge Priority Configuration ................................................................................. 1-12
1.2.5 MSTP Operation Mode Configuration ................................................................... 1-13
1.2.6 MST Region Maximum Hops Configuration.......................................................... 1-14
1.2.7 Network Diameter Configuration ........................................................................... 1-15
1.2.8 MSTP Time-related Configuration......................................................................... 1-15
1.2.9 Timeout Time Factor Configuration....................................................................... 1-18
1.2.10 Maximum Transmitting Speed Configuration...................................................... 1-18
1.2.11 Edge Port Configuration...................................................................................... 1-19
1.2.12 Point-to-point Link-Related Configuration ........................................................... 1-21
1.2.13 MSTP Configuration............................................................................................ 1-22
1.3 Leaf Node Configuration.................................................................................................. 1-24
1.3.1 Configuration Prerequisites................................................................................... 1-24
1.3.2 MST Region Configuration.................................................................................... 1-25
1.3.3 MSTP Operation Mode Configuration ................................................................... 1-25
1.3.4 Timeout Time Factor Configuration....................................................................... 1-25
1.3.5 Maximum Transmitting Speed Configuration........................................................ 1-25
1.3.6 Edge Port Configuration........................................................................................ 1-25
1.3.7 Path Cost Configuration ........................................................................................ 1-25
1.3.8 Port Priority Configuration ..................................................................................... 1-28
1.3.9 Point-to-point Link-Related Configuration ............................................................. 1-29
1.3.10 MSTP Configuration............................................................................................ 1-29
1.4 The mCheck Configuration .............................................................................................. 1-29
1.4.1 Configuration Prerequisites................................................................................... 1-30
1.4.2 Configuration Procedure ....................................................................................... 1-30
1.4.3 Configuration Example.......................................................................................... 1-30
1.5 Guard Function Configuration.......................................................................................... 1-31
1.5.1 Introduction............................................................................................................ 1-31
1.5.2 Configuration Prerequisites................................................................................... 1-32

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S7500 Series

  • Page 1: Table Of Contents

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Table of Contents Table of Contents Chapter 1 MSTP Configuration ....................1-1 1.1 MSTP Overview ......................... 1-1 1.1.1 MSTP Protocol Data Unit ..................1-1 1.1.2 Basic MSTP Terminologies..................1-2 1.1.3 Implementation of MSTP..................1-6 1.1.4 MSTP Implementation on Switches ................
  • Page 2 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Table of Contents 1.5.3 BPDU Guard Configuration................... 1-32 1.5.4 Root Guard Configuration ..................1-33 1.5.5 Loop Guard Configuration..................1-33 1.5.6 TC-BPDU Attack Guard Configuration..............1-34 1.6 Digest Snooping Configuration ..................1-34 1.6.1 Introduction......................
  • Page 3: Chapter 1 Mstp Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Chapter 1 MSTP Configuration When configuring MSTP, go to these sections for information you are interested in: MSTP Overview Root Bridge Configuration Leaf Node Configuration The mCheck Configuration...
  • Page 4: Basic Mstp Terminologies

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration The switches in a network transfer BPDUs between each other to determine the topology of the network. BPDUs carry enough information needed for switches to figure out the spanning tree.
  • Page 5 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration configuration: the same region name, the same VLAN-to-MSTI mappings (that is, VLAN 1 is mapped to MSTI 1, VLAN 2 is mapped to MSTI 2, and other VLANs are...
  • Page 6 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration VIII. Common root bridge The common root bridge is the root of the CIST. The common root bridge of the network shown in Figure 1-1 is a switch in region A0.
  • Page 7 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Connecting to the common root bridge Edge ports Port 1 Port 2 MST region Master port Alternate port Port 6 Port 5 Backup port Designated port Port 4...
  • Page 8: Implementation Of Mstp

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration 1.1.3 Implementation of MSTP MSTP divides a network into multiple MST regions at Layer 2. The CST is generated between these MST regions, and MSTIs can be generated in each MST region. As well as RSTP, MSTP uses configuration BPDUs to generate spanning trees.
  • Page 9: Mstp Implementation On Switches

    STP and RSTP and use them to generate spanning trees. In addition to the basic MSTP functions, H3C series switches also provide the following other functions for the convenience of users to manage their switches.
  • Page 10: Configuration Prerequisites

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Task Remarks Required To prevent network topology jitter caused by MSTP Configuration other related configurations, you are recommended to enable MSTP after other related configurations are performed.
  • Page 11: Mst Region Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration 1.2.2 MST Region Configuration I. Configuration procedure Follow these steps to configure an MST region: To do … Use the command … Remarks Enter system view —...
  • Page 12: Root Bridge/Secondary Root Bridge Configuration

    VLAN 30 being mapped to MSTI 2. <H3C> system-view [H3C] stp region-configuration [H3C-mst-region] region-name info [H3C-mst-region] instance 1 vlan 2 to 10 [H3C-mst-region] instance 2 vlan 20 to 30 [H3C-mst-region] revision-level 1 [H3C-mst-region] active region-configuration # Verify the above configuration.
  • Page 13 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration To do ... Use the command ... Remarks Enter system view — system-view stp [ instance instance-id ] root Specify the current switch primary [ bridge-diameter as the root bridge of a...
  • Page 14: Bridge Priority Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Note: You can configure a switch as the root bridge of multiple MSTIs. But you cannot configure two or more root bridges for one MSTI. So, do not configure root bridge for the same MSTI on two or more switches using the stp root primary command.
  • Page 15: Mstp Operation Mode Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Caution: Once you specify a switch as the root bridge or a secondary root bridge by using the stp root primary or stp root secondary command, the bridge priority of the switch is not configurable.
  • Page 16: Mst Region Maximum Hops Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration II. Configuration example # Configure the current switch to operate in the STP-compatible mode. <H3C> system-view [H3C] stp mode stp 1.2.6 MST Region Maximum Hops Configuration The maximum hop values configured on the region roots in an MST region limit the size of the MST region.
  • Page 17: Network Diameter Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration 1.2.7 Network Diameter Configuration In a switched network, any two switches can communicate with each other through a path, on which there may be some other switches. The network diameter of a network is measured by the number of switches;...
  • Page 18 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration period ensures that the newly generated configuration BPDUs can be propagated across the entire network. The Hello time parameter is for link failure detecting. A switch regularly sends hello packets to other switches at the interval specified by the Hello time parameter to detect the link failures.
  • Page 19 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Caution: The Forward delay parameter and the network diameter are correlated. Normally, a large network diameter corresponds to a large Forward delay. A too small Forward delay parameter may result in temporary redundant paths. And a too large Forward delay parameter may cause a network unable to resume the normal state in time after changes occurred to the network.
  • Page 20: Timeout Time Factor Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration 1.2.9 Timeout Time Factor Configuration A switch regularly sends protocol packets to its neighboring devices at the interval specified by the Hello time parameter to detect the link failures. Normally, a switch...
  • Page 21: Edge Port Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration To do ... Use the command ... Remarks Enter system view — system-view Required Configure the maximum stp interface interface-list The maximum transmitting transmitting speed transmit-limit packetnum...
  • Page 22 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration I. Configuration procedure (in system view) Follow these steps to configure a port as an edge port (in system view): To do ... Use the command ...
  • Page 23: Point-To-Point Link-Related Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration [H3C-Ethernet2/0/1] stp edged-port enable 1.2.12 Point-to-point Link-Related Configuration A point-to-point link directly connects two switches. If the roles of the two ports at the two ends of a point-to-point link meet certain criteria, the two ports can transit to the forwarding state rapidly by exchanging synchronization packets, eliminating the forwarding delay.
  • Page 24: Mstp Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration To do ... Use the command ... Remarks Required The auto keyword is adopted by default. The force-true keyword specifies that the link connected to the port is a Specify whether or point-to-point link.
  • Page 25 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Use the To do ... Remarks command ... Enter system view — system-view Required Enable MSTP stp enable MSTP is disabled by default. Optional By default, MSTP is enabled on all ports after you enable MSTP in system view.
  • Page 26: Leaf Node Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Configure in Ethernet port view. <H3C> system-view [H3C] stp enable [H3C] interface ethernet2/0/1 [H3C-Ethernet2/0/1] stp disable 1.3 Leaf Node Configuration Complete the following tasks to configure leaf node:...
  • Page 27: Mst Region Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration 1.3.2 MST Region Configuration Refer to section MST Region Configuration. 1.3.3 MSTP Operation Mode Configuration Refer to section MSTP Operation Mode Configuration. 1.3.4 Timeout Time Factor Configuration...
  • Page 28 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration To do ... Use the command ... Remarks Enter system view — system-view Specify the standard to Optional be used to calculate the pathcost-standard By default, the legacy...
  • Page 29 CIST for the port. III. Configuration example (A) # Configure the path cost of Ethernet2/0/1 in MSTI 1 to be 2,000. Configure in system view. <H3C> system-view [H3C] stp interface ethernet2/0/1 instance 1 cost 2000 Configure in Ethernet port view. 1-27...
  • Page 30: Port Priority Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration <H3C> system-view [H3C] interface ethernet2/0/1 [H3C-Ethernet2/0/1] stp instance 1 cost 2000 IV. Configuration example (B) # Change the path cost of Ethernet2/0/1 in MSTI 1 to the default one calculated with the IEEE 802.1D-1998 standard.
  • Page 31: Point-To-Point Link-Related Configuration

    III. Configuration example # Configure the port priority of Ethernet2/0/1 in MSTI 1 to be 16. Configure in system view. <H3C> system-view [H3C] stp interface ethernet2/0/1 instance 1 port priority 16 Configure in Ethernet port view. <H3C> system-view [H3C] interface ethernet2/0/1 [H3C-Ethernet2/0/1] stp instance 1 port priority 16 1.3.9 Point-to-point Link-Related Configuration...
  • Page 32: Configuration Prerequisites

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration In this case, you can force the port to transit to the MSTP mode by performing the mCheck operation on the port. Similarly, a port on an RSTP-enabled switch operating as an upstream switch transits to the STP-compatible mode when it has an STP-enabled switch connected to it.
  • Page 33: Guard Function Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration <H3C> system-view [H3C] interface ethernet2/0/1 [H3C-Ethernet2/0/1] stp mcheck 1.5 Guard Function Configuration 1.5.1 Introduction The following guard functions are available on an MSTP-enabled switch: BPDU guard, root guard, loop guard, and TC-BPDU attack guard.
  • Page 34: Configuration Prerequisites

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration upstream switch for a certain period, the switch selects a new root port; the original root port becomes a designated port; and the blocked ports transit to forwarding state. This may cause loops in the network.
  • Page 35: Root Guard Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration II. Configuration example # Enable the BPDU guard function. <H3C> system-view [H3C] stp bpdu-protection 1.5.4 Root Guard Configuration I. Configuration procedure Follow these steps to enable the root guard function in system view: To do ...
  • Page 36: Tc-Bpdu Attack Guard Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration To do ... Use the command ... Remarks Enter system view — system-view Enter Ethernet port interface interface-type — view interface-number Required Enable the loop guard function on...
  • Page 37: Digest Snooping Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration between them. (A configuration ID contains information such as region ID and configuration digest.) As some other vendors' switches adopt proprietary spanning tree protocols, they cannot interwork with other switches in an MST region even if they are configured with the same MST region-related settings as other switches in the MST region.
  • Page 38: Rapid Transition Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration To do ... Use the command ... Remarks Return to system — quit view Required Enable the digest snooping function The digest snooping function config-digest-snooping globally is disabled globally by default.
  • Page 39 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration An upstream MSTP switch sends an agreement packet to the downstream switch; and an MSTP downstream switch sends an agreement packet to the upstream switch only after it receives an agreement packet from the upstream switch.
  • Page 40: Rapid Transition Configuration

    RSTP in the way to implement rapid transition on designated ports. When a switch of this kind operating as the upstream switch connects with the H3C series switch running MSTP, the upstream designated port fails to change their states rapidly.
  • Page 41: Vlan-Vpn Tunnel Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration To do ... Use the command ... Remarks Enter system view — system-view Required stp interface interface-type Enable the rapid interface-number By default, the rapid transition transition function no-agreement-check function is disabled on a port.
  • Page 42: Vlan-Vpn Tunnel Configuration

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Operator’s Network Packet ingress/egress Packet ingress/egress device device Network Users Network Network A etwork B Figure 1-6 VLAN-VPN tunnel network hierarch 1.8.2 VLAN-VPN Tunnel Configuration Follow these steps to configure the VLAN-VPN tunnel function: To do ...
  • Page 43: Displaying And Debugging Mstp

    Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration 1.9 Displaying and Debugging MSTP To do ... Use the command ... display stp [ instance instance-id ] Display spanning tree-related [ interface interface-list | slot slot-number ]...
  • Page 44 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration Note: The “Permit:” shown in Figure 1-7 means the corresponding link permits packets of specific VLANs. III. Configuration procedure Configure Switch A. # Enter MST region view.
  • Page 45: Vlan-Vpn Tunnel Configuration Example

    1.11 VLAN-VPN Tunnel Configuration Example I. Network requirements S7500 series switches operate as the access devices of the operator’s network, that is, Switch C and Switch D in the network diagram. S3100 series switches operate as the access devices of the user’s network, that is, Switch A and Switch B in the network diagram.
  • Page 46 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration II. Network diagram Switch D Switch C Eth 2/0/2 Eth 2/ Eth 2/0/2 Eth 2/0/1 Eth 1/0/1 Eth 1 /0/1 Switch A Switch B Figure 1-8 Network diagram for VLAN-VPN tunnel configuratio III.
  • Page 47 Operation Manual – MSTP H3C S7500 Series Ethernet Switches Chapter 1 MSTP Configuration [H3C-Vlan10] quit # Disable the STP feature on Ethernet2/0/1 and then enable the VLAN VPN function on [H3C] interface Ethernet 2/0/1 [H3C-Ethernet2/0/1] port access vlan 10 [H3C-Ethernet2/0/1] stp disable...

Table of Contents