8.1 二层环路与STP的介绍
8.1.1 二层环路

8.1.2 冲突域

8.1.3 二层环路带来的问题

8.1.4 STP的基本概念:桥ID

8.1.5 STP的基本概念:根桥

8.1.6 STP的基本概念:Cost

8.1.7 STP的基本概念:Port ID

8.1.8 STP的基本概念:BPDU

示例:

启动所有的交换机设备,给他们开启STP协议:
[SW1]stp mode stp
[SW1]display stp brief
MST ID Port Role STP State Protection
0 GigabitEthernet1/0/1 DESI FORWARDING NONE
0 GigabitEthernet1/0/2 DESI FORWARDING NONE
[SW2]stp mode stp
[SW2]display stp brief
MST ID Port Role STP State Protection
0 GigabitEthernet1/0/1 ROOT FORWARDING NONE
0 GigabitEthernet1/0/3 DESI FORWARDING NONE
[SW3]stp mode stp
[SW3]display stp brief
MST ID Port Role STP State Protection
0 GigabitEthernet1/0/2 ROOT FORWARDING NONE
0 GigabitEthernet1/0/3 ALTE DISCARDING NONE
我们来抓给BPDU的包:

8.2 STP的选举过程

 
 
 
 
 
 
8.3 STP状态机与收敛的过程
8.3.1 STP的接口状态


