北京网站备案域名,温州制作网站公司,网站建设发展状况,南充做网站的华为设备参考#xff1a;RSTP环路避免实验#xff08;华为#xff09;
一#xff0c;技术简介
RSTP (Rapid Spanning Tree Protocol) 是从STP发展而来
• RSTP标准版本为IEEE802.1w
• RSTP具备STP的所有功能#xff0c;可以兼容STP运行
• RSTP和STP有所不同 减少了…华为设备参考RSTP环路避免实验华为
一技术简介
RSTP (Rapid Spanning Tree Protocol) 是从STP发展而来
• RSTP标准版本为IEEE802.1w
• RSTP具备STP的所有功能可以兼容STP运行
• RSTP和STP有所不同 减少了端口状态 增加了端口角色 BPDU格式及发送方式不同 当交换网络拓扑结构发生变化时RSTP可以更快地恢复网络的连通性 二实验目的
基于RSTP配置根网桥、备份根网桥、边缘端口。 三配置命令
Switch3
配置根网桥 Switch#configure terminal Switch(config)#spanning-tree mode rapid-pvst 启用生成树协议选用RSTP Switch(config)#spanning-tree vlan 1-100 priority 0 配置STP的VLAN范围及优先级 Switch(config)#end Switch#show running-config Switch2
配置备份根网桥和边缘端口 Switch#configure terminal Switch(config)#spanning-tree mode rapid-pvst 启用生成树协议选用RSTP Switch(config)#spanning-tree vlan 1-100 priority 4096 配置STP的VLAN范围及优先级 - Switch(config)#int f0/1 Switch(config-if)#spanning-tree portfast 启用PortFast边缘端口 Switch(config-if)#end Switch#show running-config Switch1
配置边缘端口 Switch#configure terminal Switch(config)#spanning-tree mode rapid-pvst 启用生成树协议选用RSTP Switch(config)#spanning-tree vlan 1-100 priority 32768 配置VLAN范围及优先级 - Switch(config)#int f0/1 Switch(config-if)#spanning-tree portfast 启用PortFast特性 Switch(config-if)#end Switch#show running-config 四实验结果
利用PC1连续 ping PC2进行测试 ping -t 192.168.1.2 断掉环路任意一条链路都能快速恢复通信
test1 test2