STP(六)
2014-03-14 13:59
141 查看
这一篇主要讲MSTP的配置,至于PVST+以及RPVST+,配置都比较简单,这里就不介绍了
配置MSTP:
启用MST:Sw1(config)#spanning-tree mode mst
进入到mst配置模式:sw1(config)#spanning-tree mst configuration
设置mst的region name和revision号:
sw1(config-mst)#name ccie
sw1(config-mst)#revision 1
映射VLAN:
sw1(config-mst)#instance 1 vlan 10,20
sw1(config-mst)#instance 2 vlan 30,40
默认情况下,所有的VLAN都映射到instance 0.
注:其它交换机配置和SW1配置完全相同,必须region name和revision number完全相同,否则属于不同的region。
配置交换机作为实例的根交换机:
sw1(config)#spanning-tree mst 1 root primary
至于pathcost、port-priority等都要在接口模式下配置:
Switch1(config-if)#spanning-tree mst 1 ?
cost Change the interface spanning tree path cost for an instance
port-priority Change the spanning tree port priority for an instance
Switch1(config-if)#
本文出自 “HeZhang” 博客,请务必保留此出处http://hezhang.blog.51cto.com/1347601/1376566
配置MSTP:
启用MST:Sw1(config)#spanning-tree mode mst
进入到mst配置模式:sw1(config)#spanning-tree mst configuration
设置mst的region name和revision号:
sw1(config-mst)#name ccie
sw1(config-mst)#revision 1
映射VLAN:
sw1(config-mst)#instance 1 vlan 10,20
sw1(config-mst)#instance 2 vlan 30,40
默认情况下,所有的VLAN都映射到instance 0.
注:其它交换机配置和SW1配置完全相同,必须region name和revision number完全相同,否则属于不同的region。
配置交换机作为实例的根交换机:
sw1(config)#spanning-tree mst 1 root primary
至于pathcost、port-priority等都要在接口模式下配置:
Switch1(config-if)#spanning-tree mst 1 ?
cost Change the interface spanning tree path cost for an instance
port-priority Change the spanning tree port priority for an instance
Switch1(config-if)#
本文出自 “HeZhang” 博客,请务必保留此出处http://hezhang.blog.51cto.com/1347601/1376566
相关文章推荐
- 生成树协议STP笔记(BCMSN)
- 配置Cisco VLAN、VLAN Trunk、VTP和 STP(精)
- STP实验
- 安装sql server 2000时又出现:安装程序配置服务器失败。参考服务器错误日志和 C:/WINNT/sqlstp.log 了解更多信息。
- STP 小记
- 生成树协议(STP)
- 验证交换机STP选举过程
- 华为往事(十八)--C&C08 STP:华为抢占制高点
- stp 协议
- STP的配置
- stp配置
- STP生成树学习笔记
- 解决MOSS、SharePoint 根据.stp模版生成站点的问题
- STP 简介----PVST+ RSTP和快速PVST+ (1)
- 生成树协议(stp)
- 三层交换(VLAN间互通+路由功能)+VTP+STP(PVST)综合实验
- 生成树协议STP
- 优化STP
- HSRP、STP、VTP、ACL、及其ACS和访问控制列表的做法
- STP-BPMN简介