02-19-2022 04:01 AM
I am learning Cisco configuration and want to configure loop guard, root guard, and BPDU guard on the switch ports, but not sure which interfaces should I configure those commands on that will not affect the STP. I saw some recommendations that I can configure spanning-tree loop guard default globally, but not sure if it affects the STP. Please advise. thank you
Solved! Go to Solution.
02-19-2022 04:50 AM
>...but not sure if it affects the STP.
Good insight, initially you should do nothing , meaning define correct root bridge according to your intended network layout and setup , check device logs , look for loops , should not appear. Then you may configure BPDU guard on ports in access mode or globally
M.
02-19-2022 05:29 AM
As my friend Mr.Marce mention you need to know the topology.
but for reference please see below photo where exactly you need each guard in topology "this topology is triangle STP"
02-19-2022 06:13 AM - edited 02-19-2022 06:14 AM
Hello
Regards route-guard it would more beneficial if you had boundary stp ports between differing stp domains but within a single stp domain I would refrain from applying this feature
The reason being, If you lost the direct connection between primary and secondary root switches then either those switches would need transition into having a root port to reach the primary root switch
02-19-2022 04:10 AM
follow
02-19-2022 04:50 AM
>...but not sure if it affects the STP.
Good insight, initially you should do nothing , meaning define correct root bridge according to your intended network layout and setup , check device logs , look for loops , should not appear. Then you may configure BPDU guard on ports in access mode or globally
M.
02-19-2022 05:29 AM
As my friend Mr.Marce mention you need to know the topology.
but for reference please see below photo where exactly you need each guard in topology "this topology is triangle STP"
02-19-2022 05:58 AM
Thank you so much for providing the diagram explaining how STP rootguard, loopguard and bpduguard should be configured.
I agree that an accurate map of the current network topology should be created before configuring the above technology, but currently I don't have a tool to map out the network layout for approximately 110 devices.
Is there a best way to figure out which device is elected as a root bridge from the device configuration? In my switch configuration the show spanning-tree shows some VLANs, Root ID and says this bridge is the root, but other VLANs does not say it is the root bridge.
thanks
02-19-2022 07:37 AM
approximately 110 device, Wow it huge I don't think it all in same STP domain? or many of them is L3 and Server ?
02-19-2022 06:13 AM - edited 02-19-2022 06:14 AM
Hello
Regards route-guard it would more beneficial if you had boundary stp ports between differing stp domains but within a single stp domain I would refrain from applying this feature
The reason being, If you lost the direct connection between primary and secondary root switches then either those switches would need transition into having a root port to reach the primary root switch
02-19-2022 06:24 AM
Thank you for your response.
02-19-2022 07:14 AM
Here is from my notes :
ROOT-GUARD - Root guard for spanning tree can be used to prevent a certain switch from becoming the root bridge. Even if you receive a superior BPDU from another switch, the root guard will prevent that switch from becoming the root bridge.
LOOPGAURD : Spanning Tree Loop Guard helps to prevent loops when you use fiber links.
BPDU-GUARD - Spanning Tree BPDU guard ensures that an interface will be error-disabled as soon as you receive a BPDU on it. This is useful on access ports where you shouldn't expect any BPDUs and will protect your switched network.
some reference :
https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/10588-74.html
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