RSTP/MSTP诞生的背景:
一.1.STP协议工作时间慢,响应时间长
2.单靠STP,不能维护网络中的多个VLAN形成的环路
二.RSTP
1.解决STP的问题,响应时间长
2.从初始化到收敛完成至少要经历30S,最长50S
三、 RSTP配置实现:
stp enable 全局开启STP
stp mode rstp 配置STP模式为RSTP
stp root primary 配置SWA为根桥
stp bpdu-protection 开启bpdu的保护状态
interface GigabitEthernet 0/0/4
stp edged-port enable 设置边缘端口
——RSTP配置验证:
display stp brief 查看简要信息
display stp