Huawei switch stp

Source: Internet
Author: User

650) this. width = 650; "src =" http://img1.51cto.com/attachment/201309/164626789.jpg "title =" stp.jpg "alt =" 164626789.jpg"/>

"Networking requirements 』
1. All devices run the Spanning Tree Protocol to generate the Tree Protocol.
2. SwitchB is used as the root bridge to block loops in the network and achieve redundant link backup.

"Switch STP configuration process 』
By changing the STP priority of the switch or port, You can manually specify the root bridge in the network and the STP role of the port to complete the redundant backup of the blocking loop and link.

SwitchB configuration]
1. The Global enable STP function is enabled by default)
[SwitchB] stp enable
2. Set SwtichB to the root (two methods: Set the Bridge priority of SwitchB to 0 or directly set SwitchB to the root)
[SwitchB] stp priotity 0
[SwitchB] stp root primary
3. Enable the root protection function on each specified port (in this example, all ports of SwtichB are set ports)
[SwitchB] API Ethernet 0/1
[SwitchB-Ethernet-0/1] stp root-protection

SwitchC configurations]
1. The Global enable STP function is enabled by default)
[SwitchB] stp enable
2. Configure SwtichC as the backup root (two methods: Set the Bridge priority of SwitcCB to 4096, or directly specify SwitchC as the backup root)
[SwitchB] stp priotity 4096
[SwitchB] stp root secondary
3. Enable the root protection function on the specified port (in this example, ports 0/1, 0/2, and 0/3 of SwtichC are specified ports)
[SwitchB] API Ethernet 0/1
[SwitchB-Ethernet-0/1] stp root-protection

Configurations related to other switches]
Disable the port stp function on the PC or configure it as an edge port and enable the BPDU protection function.
[SwitchD-Ethernet0/4] stp disable
[SwitchD-Ethernet0/5] stp edged-port enable
[SwitchD] stp bpdu-protection

Additional description]
After "bpdu-protection" is configured, if an edge port receives a BPDU packet, the edge port will be disabled and must be restored manually.
After "stp root-protection" is configured on the port, the role of this port can only be a specified port, and once the port receives a configuration message with a higher priority, the status of the port will be configured as listening and no packets will be forwarded. If you do not receive a better configuration message for a long enough time, the port will return to its normal status.



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.