Problems related to the networking requirements of switch loop STP Configuration

Source: Internet
Author: User
Tags switch loop cisco switch

Problems related to switch loop STP configuration in networking requirements: Cisco and H3C switch loop STP configuration solutions. The following two representative problems about switch loop STP Configuration, let's start with these two questions today. This allows you to bypass the class.

Some netizens raised the following question: if the network environment includes cisco switches and H3C switches and a loop needs to be formed, how should STP be configured? In addition, if there is a hub between the cisco switch and the H3C switch, can the stp pass through the hub? Next let's take a look at how RSTP is configured:

Switch loop STP configuration networking requirements

In the following network, SwitchC is the backup switch of SwitchB. When SwitchB fails, SwitchC forwards data. SwitchC and SwitchB are connected through two links, make sure that the other link works normally when a link fails ~ SwitchF is directly attached to the user's computer and connected to SwitchC and SwitchB through an upstream port.

This requirement can be obtained through ~ Configure rstp on the SwitchF switch. & Note:
SwitchA is generally a middle-end switch of H3C, such as S8505, S5516, and S6500 series switches.
SwitchB and SwitchC are generally S3500 series and S3550 series switches in H3C low-end switches.
SwitchD ~ SwitchF is generally the S3050 series, S3000 series, and S2000 series of H3C low-end switches.

Switch loop STP configuration networking Diagram
SwitchA is generally a middle-end switch of H3C, such as S8505, S5516, and S6500 series switches.
SwitchB and SwitchC are generally S3500 series and S3550 series switches in H3C low-end switches.
SwitchD ~ SwitchF is generally the S3050 series, S3000 series, and S2000 series of H3C low-end switches.

Switch loop STP configuration steps

◆ Switch loop STP configuration of SwitchA
# Start RSTP globally.
[Quidway] stpenable

# After RSTP is started globally, the RSTP of each port is started by default. Disable RSTP on the port that is not involved in RSTP calculation. Do not disable the port RSTP involved in RSTP calculation. (Only GigabitEthernet2/0/4 is listed here)
[Quidway] interfacegigabitethernet2/0/4
[Quidway-GigabitEthernet2/0/4] stpdisable

# Configure SwitchA as the root of a tree. You can set the Bridge priority of SwitchA to 0 and directly use the command to specify SwitchA as the root of a tree.
L set the Bridge priority of SwitchA to 0
[Quidway] stppriority0
L directly use the command to specify SwitchA as the root of the tree
[Quidway] stprootprimary
# Enable root protection on each specified port
[Quidway] interfaceGigabitethernet2/0/1
[Quidway-GigabitEthernet2/0/1] stproot-protection
[Quidway] interfaceGigabitethernet2/0/2
[Quidway-GigabitEthernet2/0/2] stproot-protection

◆ Switch loop STP configuration of SwitchB
# Start RSTP globally.
[Quidway] stpenable

# After RSTP is started globally, the RSTP of each port is started by default. Disable RSTP on the port that is not involved in RSTP calculation. Do not disable the port RSTP involved in RSTP calculation. (Ethernet0/4 is listed here)
[Quidway] interfaceethernet0/4
[Quidway-Ethernet0/4] stpdisable
# Configure SwitchC and SwitchB to back up each other and set the Bridge priority of SwitchB to 4096.
[Quidway] stppriority4096
# Enable root protection on each specified port
[Quidway] interfaceethernet0/1
[Quidway-Ethernet0/1] stproot-protection
[Quidway] interfaceethernet0/2
[Quidway-Ethernet0/2] stproot-protection
# The default values are used for the RSTP operation mode, time parameter, and port parameter.

◆ SwitchC Configuration
# Start RSTP globally.
[Quidway] stpenable

Switch loop STP configuration # After RSTP is started globally, the RSTP of each port is started by default, and the RSTP is disabled on the port not involved in RSTP calculation, do not disable the port RSTP involved in RSTP calculation. (Ethernet0/4 is listed here)
[Quidway] interfaceethernet0/4
[Quidway-Ethernet0/4] stpdisable
# Configure SwitchC and SwitchB to back up each other and set the Bridge priority of SwitchC to 8192.
[Quidway] stppriority8192
# Enable root protection on each specified port
[Quidway] interfaceethernet0/1
[Quidway-Ethernet0/1] stproot-protection
[Quidway] interfaceethernet0/2
[Quidway-Ethernet0/2] stproot-protection
# The default values are used for the RSTP operation mode, time parameter, and port parameter.

◆ SwitchD Configuration
# Start RSTP globally.
[Quidway] stpenable

# After RSTP is started globally, the RSTP of each port is started by default. Disable RSTP on the port that is not involved in RSTP calculation. Do not disable the port RSTP involved in RSTP calculation. (Ethernet0/4 is listed here)
[Quidway] interfaceethernet0/4
[Quidway-Ethernet0/4] stpdisable

# The port that will be directly connected to the user (Ethernet0/1 ~ Ethernet0/24) is configured as an edge port and enables BPDU protection. (Here, Ethernet0/1 is used as an example)
[Quidway] interfaceethernet0/1
[Quidway-Ethernet0/4] stpedged-portenable
[Quidway] stpbpdu-protection
# The default value is used for the RSTP operation mode, time parameter, and other port parameters.
In addition, the HUB does not support Spanning Tree algorithms and should not support passthrough.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.