Spanning Tree Troubleshooting

  • Identify the routing path of traffic 
    • Is there any HSRP
      • #show standby
    • Check VLANs
      • #show vlan brief
    • Which switch is the root switch and which ports are block ports
      • Check the spanning-tree details and find the root bridge
        • #show spanning-tree vlan [vlan#]
          • Summary and details of Root and Bridge ID and interface details
          • Verify all switches have matching spanning tree Root Bridge
          • Check Priority
  • Set switch as Span-tree Primary and Secondary
    • Primary
      • (config)#spanning-tree vlan [vlan#] root primary
      • (config)#spanning-tree vlan [vlan#] root secondary
  • Portfast and bpduguard is set on an interfaces or can be set at default for all access ports
    •  Interface
      • (config)#int [interface]
      • (config-if)#spanning-tree portfast
      • (config-if)#spanning-tree bpduguard enable
    • Default on all access ports
      • (config)# spanning-tree portfast bpduguard default