STP 相关配置
STP命令 | 相关设置 |
---|---|
• stp enable | 开启stp |
• stp mode stp/rstp/mstp | 设置stp模式 |
• display stp | 查看stp状态 |
• display stp brief | 查看stp状态 |
• stp root primary/secondary | 指定stp主根/备根 |
• stp priority 4096 | 指定根桥优先级 |
• interface gi0/0/0 stp port priority 16 | 指定RP |
• interface gi0/0/0 stp cost 2000000 | 指定DP |
stp edged-port enable | 边缘端口,(进入接PC的口配置) |
stp root-protection | 不允许交换机接汇聚交换机(根保护) |
stp bpdu-protection | BUDP(先配置边缘端口再配置) |
error-down auto-recovery cause bpdu-protection interval 30 | 自动恢复机制 |
单臂路由
什么是单臂路由?
在路由器的物理接口上,划分逻辑子接口。
实现不同