Loops are present in the network, and all loops are formed due to confusion caused by ambiguous destination paths. The loop has a great impact on the network. Spanning Tree protocol is a good solution to this problem.
The idea of spanning a tree protocol topology is that, regardless of the physical connection between switches, the switch can automatically discover a network with no loop topology, and the network of the logical topology must be tree-based.
In addition, spanning tree (STP) has other versions, such as fast spanning tree (RSTP), multiple spanning tree (MSTP)
This experiment environment mainly verifies that the fast spanning tree protocol is used to quickly switch the backup link when the network link is interrupted.
1 because the spanning tree is turned on by default, you can view the spanning tree when you are connected.
22 switches are configured with VLAN3 and the connected link is configured in trunk mode while the port of the Xia Lian Terminal is configured in acess mode
3, enable fast spanning tree
Validation experiment, shutdown port to simulate network failure
Simultaneous mutual ping between terminals
Any port connected to the shutdown switch
You can see the connection changes
viewing ping conditions
Visible is still continuing to ping, the network is not due to the disconnection of a port exception, this experiment ended
Learning Network 5--spanning tree via Cisco emulator Cisco PACKET Tracer