The Spanning tree protocol, a two-tier link management protocol, provides a redundant link while preventing the network from generating loops. The STP of the switch is configured to realize the two redundant backup link function of the switch, so that the computer of the same VLAN can communicate with each other, and finally use the switch's spanning tree technology to realize the load balancing function of the VLAN, so that the two redundant links are in the working state.
Set up network topology map, where two switches are connected using F0/23 and F0/24. When you connect, you will find that one endpoint in the two link is displayed as a yellow flag, which indicates that the port is in the closed state. The current topology map only has the F0/23 port interconnection link is in the working state, but the other F0/24 port interconnection link is in the shutdown state, is called the redundant link, only then backs up the function.
1, the basic configuration of the switch
The configuration of the ①, switch SA is as follows:
②, switch SB's configuration is as follows:
2, switch Open STP protocol
Cisco switches the STP is enabled by default. Therefore, you do not have to start the STP settings.
3. Enable STP spanning tree in VLAN
The configuration of the ①, switch SA is as follows:
②, switch SB's configuration is as follows:
4, modify the build tree root Network Bridge and priority
To set the switch SA as the root Network bridge for the spanning tree
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Network/jhjs/