.
.

Spanning-tree recalculation on Switch

Example: When you disconnect a cable from a port/interface, then using the command show spanning-tree we see that the respective thrown from the table recalculation of protocol.

Spanning-tree recalculation on Switch


Host_A C:\> ping 192.168.1.2 (ping Switch A)
Host_A C:\>ipconfig (IP address Host_A)

Host_B C:\> ping 192.168.1.3 (ping Switch B)
Host_B C:\>ipconfig (IP address Host_B)

Switch_A#enable
Switch_A#class (password)
Switch_A#show interface vlan 1 (view table of VLAN 1 on Switch A)

Switch_B#enable
Switch_B#class (password)
Switch_B#show interface vlan 1 (view table of VLAN 1 on Switch B)

Switch_A#show spanning-tree (Display Protocol, interfaces, priorities, root ID, bridge ID)

Switch_B#show spanning-tree (Display Protocol, interfaces, priorities, root ID, bridge ID)