10-01-2013 10:43 PM - edited 03-07-2019 03:47 PM
Dear Team,
In an STP topology , if loop occurs we will face very much high latency in the network. So if we are unable to login to a switch how can we troubleshoot the issue and what will cause looping in a network even after STP is enabled. How to troubleshoot the STP looping issue. please guide.
Thanks in advance,
Naveen
10-01-2013 10:53 PM
HI Naveen,
I hope it will helps
------------------------------------------
BPDU Guard
(note portfast may not be configured)
BPDU Filter:
Root Guard
UDLD (Unidirectional Link Detection)
Loop guard
---------------------------------------------------------------------------
Regards
10-01-2013 11:04 PM
Are the STP timers all at their default values? What SPT protection do you have in place? (BPDU Guard, Loop Guard, Root Guard, BPDU Filters)
I have included some commands that you can run to check what the current setup of the STP topology is (Which switch the Root bridge is, which ports are in what state, etc)
View all possible STP parameters for all VLANs. Port information is summarized.
Switch# show spanning-tree
View all possible STP information for all VLANs. Port information is very detailed.
Switch# show spanning-tree detail
View the total number of switch ports currently in each of the STP states.
Switch# show spanning-tree [vlan vlan-id] summary
Find the root bridge ID, the root port, and the root path cost.
Switch# show spanning-tree [vlan vlan-id] root
Show the bridge ID and STP timers for the local switch.
Switch# show spanning-tree [vlan vlan-id] bridge
Show the STP activity on a specific interface.
Switch# show spanning-tree interface type port
Show the STP UplinkFast status.
Switch# show spanning-tree uplinkfast
Show the STP BackboneFast status.
Switch# show spanning-tree backbonefast
Lastly - some definitions to help you in your quest for knowledge
Loopguard:- Unidirectional link failures may cause a root port or alternate port to become designated as root if BPDUs are absent. Some software failures may introduce temporary loops in the network. The loop guard feature checks if a root port or an alternate root port receives BPDUs. If the port is receiving BPDUs, the loop guard feature puts the port into an inconsistent state until it starts receiving BPDUs again.
BPDU Guard:-BPDUGuard enables on access port which helps the switches to put the port in shut down mode once it receives the superior BPDU. e.g. In case of metro ethernet, SP puts switches at customer building and make that switch ar root bridge. Now imagine if some other customer switch sends a superior BPDU then the STP need to be converged again and lead of serious issues.
Rootguard:- It is enabled on the designated ports of root switch, so that if those ports listen to the superior BPDU then put that port in inconsistent state.
HTH
10-02-2013 12:22 AM
Hello Naveen,
I think you are asking a question about what to do in that scenario right? Not that you are having an issue right now.
Well based on what you said:
So if we are unable to login to a switch how can we troubleshoot the issue and what will cause looping in a network even after STP is enabled. How to troubleshoot the STP looping issue
Well if you can access the devices just cross your fingers and pray to god that this is just a bad dream I mean if you cannot access it you will need to go to each redundant link and start disconnecting cables until you take out the one that was causing the loop
But why don't we configure the network in such a way that we can prevent this:
https://supportforums.cisco.com/docs/DOC-14223
That link will show you some guidelines my friend and remember to follow me on my website
For more information about Core and Security Networking follow my website at http://laguiadelnetworking.com
Any question contact me at jcarvaja@laguiadelnetworking.com
Cheers,
Julio Carvajal Segura
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide