当前位置:文档之家› 项目2-多生成树协议MSTP[27页]

项目2-多生成树协议MSTP[27页]

14
项目二 多生成树协议MSTP
MST修正号
ruijie(config-mst)# revision version
交换机名称为ruijie 处于MST配置模式
15
项目二 多生成树协议MSTP
(4)设置实例的交换机优先级
设置MSTP交换机优先级
指定交换机优先级
ruijie(config)# spanning-tree [mst instance-id] priority priority
端口编号
处于特权模式
18
项目二 多生成树协议MSTP
5.应用实例 要求: (1)创建2个实例Instance1和Instance2 ,将实例Instance1与VLAN10关联,将实 例Instance2与VLAN20关联。 (2)SW1为实例Instance1的根交换机, SW2为实例Instance2的根交换机。
21
项目二 多生成树协议MSTP
SW1(config)#Spanning-tree mst 1 Priority 4096
(2)配置交换机SW2
SW2(config)#Spanning-tree SW2(config)#Spanning-tree mode mstp SW2(config)#spanning-tree mst configuration
指定具体实例
17
项目二 多生成树协议MSTP
(6)显示MSTP配置
显示MST相关信息
实例编号
ruijie#show spanning-tree mst { configuration | instance-id [ interface interface-id ] }
交换机名称为ruijie
MST配置信息
22
项目二 多生成树协议MSTP
SW2(config-mst)#revision 1 SW2(config-mst)#name test1 SW2(config-mst)#instance 1 VLAN 10 SW2(config-mst)#instance 2 VLAN 20 SW2(config)#Spanning-tree mst 2 Priority 4096
交换机名称为ruijie 处于全局配置模式
生成树协议类型值
11
项目二 多生成树协议MSTP
(3)配置区域属性 进入MST配置模式
ruijie(config)#spanning-tree mst configuration
交换机名称为ruijie 处于全局配置模式
12
项目二 多生成树协议MSTP
ቤተ መጻሕፍቲ ባይዱ
实例标志
23
项目二 多生成树协议MSTP
(3)配置交换机SW3
SW3(config)#Spanning-tree SW3 (config)#Spanning-tree mode mstp SW3(config)#spanning-tree mst configuration SW3(config-mst)#revision 1 SW3(config-mst)#name test1 SW3(config-mst)#instance 1 VLAN 10 SW3(config-mst)#instance 2 VLAN 20
RSTP能够避免网络出现广播风暴问题。 发现公司的网络流量都集中在一台根交换机上 ,所有链路都以它为中心向外拓展,另一台非 根交换机工作量较少,负载明显不平衡。
3
项目二 多生成树协议MSTP
2.2 相关知识
1.MSTP概述
MSTP(Multiple Spanning Tree Protocol,多生成树协议)是在传统的 STP、RSTP 的基础上发展而来的新的生 成树协议。MSTP遵循的标准是IEEE 802.1S。能够解决VLAN对环路影响及 负载均衡问题。
电子工业出版社 张国清主编《高级交换与路由技术》配套课件
项目二 多生成树协议MSTP
二O一六年八月十日
项目二 多生成树协议MSTP
知识目标、技能要求 1.了解MSTP概念; 2.掌握MSTP特性及其配置技能; 3.掌握小型网络一般调试技能及故障排除 方法。
2
项目二 多生成树协议MSTP
2.1 问题提出
19
项目二 多生成树协议MSTP
20
项目二 多生成树协议MSTP
(1)配置交换机SW1
SW1(config)#Spanning-tree SW1(config)#Spanning-tree mode mstp SW1(config)#spanning-tree mst configuration SW1(config-mst)#revision 1 SW1(config-mst)#name test1 SW1(config-mst)#instance 1 VLAN 10 SW1(config-mst)#instance 2 VLAN 20
9
项目二 多生成树协议MSTP
4.MSTP配置 (1)启动生成树协议
启用生成树协议
ruijie (config)# spanning-tree
交换机名称为ruijie 处于全局配置模式
10
项目二 多生成树协议MSTP
(2)设置生成树协议类型 设置生成树协议类型
ruijie (config)# spanning-tree mode mstp/rstp/stp
交换机名称为ruijie 处于全局配置模式
指定具体实例
16
项目二 多生成树协议MSTP
(5)配置实例的端口优先级
设置MSTP端口优先级
指定端口优先级
ruijie(config-if)# spanning-tree mst instance-id port-priority priority
交换机名称为ruijie 处于端口配置模式
4
项目二 多生成树协议MSTP
5
项目二 多生成树协议MSTP
6
项目二 多生成树协议MSTP
2.MSTP的区域与实例
7
项目二 多生成树协议MSTP
3.MSTP的多种生成树 (1)实例生成树(MSTI) (2)区域生成树(IST) (3)区域间生成树(CST) (4)CIST生成树。
8
项目二 多生成树协议MSTP
ruijie(config-mst)#instance instance-id VLAN VLAN-range
交换机名称为ruijie 处于MST配置模式
VLAN范围
13
项目二 多生成树协议MSTP
MST名称
ruijie(config-mst)#name name
交换机名称为ruijie 处于MST配置模式
相关主题