一、 组网需求:
所有交换机都运行MSTP
所有交换机都在同一区域内
配置两个MST实例:MSTI 1和MSTI 2
二、 组网图:
![]()
三、 配置步骤:
STP的基本配置:
l 区域配置,共分为五步
1. 进入区域配置视图(system view)
stp region-configuration
2. 配置域名
region-name name
3. 配置修订级别
revision-level level
4. 配置VLAN和实例的映射
instance instance-id vlan vlan-list
5. 激活区域配置
active region-configuration
l 使能STP (system view)
stp enable/ disable
如上图:Switch A, B, C和D
[S6500] stp region-configuration
[S6500-mst-region] region-name test1
[S6500-mst-region] revision-level 0
[S6500-mst-region] instance 1 vlan 2
[S6500-mst-region] instance 2 vlan 3
[S6500-mst-region]quit
[S6500] stp enable
STP的高级配置:
l 配置STP的工作模式(system view)
stp mode stp/ mstp
l 配置交换机为首选根桥(system view)
stp instance instane-id root primary
The root is CIST Root if instance-id is 0
l 配置交换机为备份根桥
stp instance instance-id root secondary
l 配置端口为边缘端口
stp interface interface-list edged-port enable (system view)
stp edged-port enable (port view)
l 配置BPDU保护(system view)
stp bpdu-protection
l 配置根桥保护(port view)
stp root-protection
l 配置环路保护(port view)
stp loop-protection
四、 配置关键点:
对于某一个端口,其中环路保护和根桥保护以及边缘端口只能配置其中之一。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作