【文件属性】:
文件名称:STP算法的验证--CCNA资源---: 生成树协议(STP)
文件大小:692KB
文件格式:PPT
更新时间:2021-04-26 02:49:03
生成树协议(STP)
STP算法的验证3-1
两条不等速率链路连接的两台交换机的STP选举
优先级:32768 MAC地址: 001f.caff.1000
优先级:32768
MAC地址: 0021.1ba5.6980
100M
10M
F0/24
F0/23
F0/24
F0/23
Root Bridge
Root Port
DP
根网桥信息
本地交换机信息
本地交换机接口信息
端口23阻塞
24为根端口
根网桥端口
都是指定端口
*
SW1
SW2
SW1#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 001f.caff.1000
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 001f.caff.1000
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- ---------------------
Fa0/23 Desg FWD 100 128.25 P2p
Fa0/24 Desg FWD 19 128.26 P2p
SW2#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 001f.caff.1000
Cost 19
Port 26 (FastEthernet0/24)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0021.1ba5.6980
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 15
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- -----------------------
Fa0/23 Altn BLK 100 128.25 P2p
Fa0/24 Root FWD 19 128.26 P2p
下面主要STP选举,分为3个部分,第一部分是链条交换机不同速率链路连接,第二部分两台交换机等速率端口交叉连接,第三部分三台交换机环状拓扑连接。通过这三部分让学员巩固前面所学知识。
两条不等速率链路连接的两台交换机的STP选举,验证STP算法。
首先,根据拓扑图进行STP选举;
然后,通过show spanning-tree命令进行验证;需要明确:交换机默认为每个VLAN一个生成树实例,而优先级为32768+VLAN ID;
最后,通过显示信息明确各个端口的状态等信息。
在讲解这个例子的时候结合演示,把结果清晰地展示给学员。
*