Dec 07

Failure Reasons for Troubleshooting STP

Troubleshooting STP

Spanning Tree Protocol’s (STP) main function is to stop broadcast storms and loops by preventing traffic from flowing through redundant links between devices. The problem arises when STP fails to do so. Mostly algorithm failures lead to bridging loops and it is extremely difficult to troubleshoot because of the lack of visibility. Some of the reasons for which the STP can fail are:

  1. Spanning Tree Convergence: When bridges and switches are transitioning into a forwarding or blocking state, the BPDUs can get lost causing a blocked state to change into a forwarding state. This makes the algorithm fail.
  2. Duplex Mismatch: When there is a mismatch in the duplex mode between two devices it can cause collisions resulting in bridging loops.
  3. Unidirectional Link: When a device sends packets but does not receive any response packets from the other device, the connection becomes one way and has an uncollaborated setup.
  4. Corrupted Packets: It is the most common form of disruption when the during transit the packets become corrupted and coverts the blocking ports to forwarding ports that confuses STP. This happens due to mismatch in duplex modes, using unsuitable cables, or the cable is too lengthy.
  5. Resource Errors: If the CPU resources of the device are overburdened, they cause problems while transmitting BPDUs which could result in the vulnerability of the STPs prevention capabilities.

The process to start troubleshooting for Spanning Tree Protocol requires knowledge of the topology of the bridge network, location of root bridge, and blocked ports. The following options can help to troubleshoot the STP.

  1. Diagnose Bridging Loop: The bridging loop issue can be diagnosed if you find all the users on one bridge domain got connection problems at the same time. Another method is to capture traffic from a flooded link and check for its matches all over.
  2. Restore Connectivity Quickly: This can be resolved by disabling all the ports that provided redundancy to the network. Try disabling the blocking ports first one at a time and check whether the connectivity has been restored or not. Once you find the faulty port causing the loop, the problem will be solved.
  3. Check Ports: To troubleshoot ports, you need to check a few things like –
  • Check the blocked ports to see if it is receiving the BPDUs and how many BPDUs were received. The command show spanning-tree bridge-group provides information regarding the same.
  • Check for a duplex mismatch on the ports using the command show interfaces[interface-number] status. It shows the speed and duplex status on the port or interface.
  • Sometimes large amounts traffic overwhelms the port causing BPDUs to get lost. To check port utilization use command show interfaces.
  • Due to packet corruption, the packets don’t reach their destination in the correct condition. So, the command show interfaces show an error counter which indicates if any unusual activity has occurred.
  1. Check for Resource Errors: These errors can be checked by using the command show processes cpu which allows you to see CPU utilization and can decide how overstretched it is.

Call Logitrain on 1800 159 151 today.

Looking for an IT Job?

Please call us on 1800 159 151, or complete the form below.

  • This field is for validation purposes and should be left unchanged.

Recent Posts

Can you get a job with just a CCNA certificate?

Can you get a job with just a CCNA certificate?

People often worry about getting jobs after acquiring a few years of education or a specific certificate. This is the exact situation with people who.. Read More →
Does a CCNA Certification help in getting Good Jobs?

Does a CCNA Certification help in getting Good Jobs?

The CCNA certificate will surely help you get in a better position right now. This certificate holds much power because of its course. It mainly.. Read More →

The supply of this course/package/program is governed by our terms and conditions. Please read them carefully before enrolling, as enrolment is conditional on acceptance of these terms and conditions. Courses run subject to registrations.


Find out why we are the leading choice to help boost your career in Australia

Prepare to get IT job ready in 8 weeks

Trained 10,000+ professionals and counting

Experienced Provider: Operating Since 2004

Trained staff from 1000+ Australian Businesses

We Have Placed Candidates In

Over 1000 organisations have relied on Logitrain to be their trusted training partner.

High-quality, cost-effective training in Australia
Learn More
  • OpenPay
  • This field is for validation purposes and should be left unchanged.

Dont’ Wait. Fill the form for a free no-obligation information session with our course specialists.

About The Author

Delivering Classroom and Live Virtual Training with Price Beat Guarantee

EOFY Offer: Book and pay for a course before 30 June. Attend training until 31 August.