Technical documentation
发布日期:2022-04-05 浏览次数:2783 来源:杨广成
RSTP与MSTP的配置实例与演示-EI CCNP学习考试技术文档
官方微信同电话:17316362402,联系WOLF-LAB(沃尔夫)实验室获取免费CCNP培训学习资料视频,
思科CCNA,CCNP培训,CCIE;华为HCIA,HCIP,HCIE等学习视频,IT技术,学习技巧,考证等
1. 配置sw2成为vlan 1的Root。
SW2: spanning-tree vlan 1 root primary |
2. 在sw3上开启debug spanning-tree events,将sw3的F0/23接口shutdown。观察F0/13接口的状态。
SW3: interface f0/23 shutdown
02:04:47: STP: VLAN0001 Fa0/13 -> listening
02:05:02: STP: VLAN0001 Fa0/13 -> learning
02:05:17: STP: VLAN0001 Fa0/13 -> forwarding //此接口从Block状态到RP forwarding状态需要30s
SW3#show spanning-tree vlan 1 VLAN0001 Aging Time 300
Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Fa0/13 Root FWD 19 128.13 P2p |
4. 在sw1的F0/1接口开启端口加速,将F0/1接口shutdown,然后再no shutdown,观察F0/1接口的状态。
SW1: interface FastEthernet0/1 spanning-tree portfast shutdown no shutdown
02:21:21: set portid: VLAN0001 Fa0/1: new port id 8001 02:21:21: STP: VLAN0001 Fa0/1 ->jump to forwarding from blocking //直接跳转到forwarding状态 |
6. 在sw1 sw2 sw3上开启backbonefast特性。将sw1的F0/11-12接口shutdown。在sw3上观察F0/13接口的状态。
SW1 SW2 SW3: spanning-tree backbonefast |
02:33:09: STP: VLAN0001 heard root 28673-000b.5f01.4380 on Fa0/13
//收到次级BPDU,会向Root发出RLQ的请求,收到Root回复的RLQ的Reply,立刻响应次级BPDU。
02:14:28: STP: VLAN0001 Fa0/13 -> listening
02:14:43: STP: VLAN0001 Fa0/13 -> learning
02:14:58: STP: VLAN0001 Fa0/13 -> forwarding //此接口从Block状态到DP forwarding状态需要30s Fa0/13 Desg FWD 19 128.13 P2p |
8. 在sw1 sw2 sw3上,创建vlan 2-7,将vlan2-4划入instance 1,将vlan 5-7划入instance 2,将生成树类型配置为mst。
SW1 SW2 SW3: vlan 2-7
spanning-tree mst configuration name WOLF revision 10 instance 1 vlan 2-4 instance 2 vlan 5-7
spanning-tree mode mst |
我们提供:
思科CCNA,CCNP,CCIE;华为HCIA,HCIP,HCIE等学习视频,IT技术,学习技巧,考证等
联系WOLF-LAB(沃尔夫)实验室获取免费学习资料视频
官方微信同电话:17316362402
官方QQ:2569790740