MSTP原理与配置.ppt

上传人:牧羊曲112 文档编号:6512775 上传时间:2023-11-08 格式:PPT 页数:32 大小:645KB
返回 下载 相关 举报
MSTP原理与配置.ppt_第1页
第1页 / 共32页
MSTP原理与配置.ppt_第2页
第2页 / 共32页
MSTP原理与配置.ppt_第3页
第3页 / 共32页
MSTP原理与配置.ppt_第4页
第4页 / 共32页
MSTP原理与配置.ppt_第5页
第5页 / 共32页
点击查看更多>>
资源描述

《MSTP原理与配置.ppt》由会员分享,可在线阅读,更多相关《MSTP原理与配置.ppt(32页珍藏版)》请在三一办公上搜索。

1、MSTP原理与配置,Page1,前 言,本课程介绍MSTP(多生成树协议)的原理与配置。MSTP用于解决启用了VLAN的交换网络中的环路问题。,Page2,培训目标,学完本课程后,您应该能:描述MSTP的基本概念描述MSTP高级配置,Page3,目 录,MSTP基本概念MSTP高级配置,Page4,目 录,MSTP基本概念MSTP高级配置,Page5,单个生成树的弊端部分VLAN路径不通,LANA,LANB,9300-A,9300-B,5300,VLAN2,VLAN3,Root,D,D,D,D,D,R,R,Discarding,A,VLAN2,此路径被断开,VLAN3路径不通,VLAN3,VL

2、AN2,通过所有VLAN,Page6,单个生成树的弊端无法使用流量分担,LANA,LANB,9300-A,9300-B,5300,VLAN2,VLAN3,Root,D,D,D,D,D,R,R,Discarding,A,VLAN2,此路径被断开,不能流量分担,VLAN3,Page7,单个生成树的弊端次优二层路径,LANA,LANB,9300-A,9300-B,5300,VLAN2,VLAN3,Root,D,D,D,D,D,R,R,Discarding,A,VLAN2,创建VLAN3的三层接口,VLAN3,创建VLAN2的三层接口,VLAN3路径次优,Page8,MSTP基本概念多生成树实例(MS

3、T Instance),LANA,LANB,9300-A,9300-B,5300,VLAN2,VLAN3,Root,D,D,D,D,D,R,R,Discarding,A,VLAN2,创建VLAN3的三层接口,VLAN3,创建VLAN2的三层接口,VLAN3路径次优,Page9,MSTP基本概念多生成树实例(MST Instance),LANA,LANB,9300-A,9300-B,5300,VLAN2,VLAN3,D,D,D,D,R,R,A,Instance 2的根交换机,Instance 1:包含VLAN2,Instance 2:包含VLAN3,Instance 1的根交换机,D,R,A,D

4、,D,R,D,Page10,MST配置表(MST Configuration Table),4096个两字节元素,此数值表示VLAN 1所映射到的MST Instance的MSTID,此数值表示VLAN 4094所映射到的MST Instance的MSTID,Page11,MSTP基本概念MST区域(MST Region),RegionA,RegionC,RegionB,Instance 1的根交换机,Instance 1:包含VLAN2,Instance 1的根交换机,Instance 1:包含VLAN2,Page12,MST配置标识(MST Configuration Identifier

5、),Page13,MST Instance的基本计算过程,LANA,LANB,SWA,SWB,VLAN2,D,D,D,D,R,R,A,Instance 1:VLAN2,MSTI Regional Root,4096.00e0-fc16-ee43,8192.00e0-fc41-4259,32768.00e0-fc41-43b9,SWC,Page14,MSTP基本配置物理拓扑,LANA,LANB,SWA,SWB,SWC,VLAN2,VLAN3,A,MSTIRegional Root,Instance 1:VLAN2,Instance 2:VLAN3,MSTIRegional Root,A,Trun

6、k,Trunk,Trunk,E1/0/2,E1/0/3,E1/0/12,E1/0/13,E1/0/12,E1/0/13,E1/0/15,E1/0/15,Page15,MSTP基本配置配置SWA的MST域参数,SWAstp enableSWAstp mode mstpSWAstp region-configurationSWA-mst-regionregion-name RegionASWA-mst-regionrevision-level 1SWA-mst-regioninstance 1 vlan 2SWA-mst-regioninstance 2 vlan 3SWA-mst-regiona

7、ctive region-configurationSWA-mst-regionquitSWAstp instance 1 priority 4096SWAstp instance 2 priority 8192SWA,说明:SWB、SWC配置MST域参数类似,不再赘述。,Page16,MSTP基本配置设置RSTP点到点链路和边缘端口,SWAinterface Ethernet 1/0/12SWA-Ethernet1/0/12stp point-to-point force-trueSWAinterface Ethernet 1/0/15SWA-Ethernet1/0/15stp point-

8、to-point force-true,SWBinterface Ethernet 1/0/13SWB-Ethernet1/0/13stp point-to-point force-trueSWBinterface Ethernet 1/0/15SWB-Ethernet1/0/15stp point-to-point force-true,SWCinterface Ethernet 1/0/12SWC-Ethernet1/0/12stp point-to-point force-trueSWCinterface Ethernet 1/0/13SWC-Ethernet1/0/13stp poin

9、t-to-point force-trueSWCinterface Ethernet 1/0/2SWC-Ethernet1/0/2stp edged-port enable SWCinterface Ethernet 1/0/3SWC-Ethernet1/0/3stp edged-port enable,Page17,MSTP基本配置验证MSTP基本信息,SWAdisplay stp brief MSTID Port Role STP State Protection 0 Ethernet1/0/12 DESI FORWARDING NONE 0 Ethernet1/0/15 ROOT FOR

10、WARDING NONE 1 Ethernet1/0/12 DESI FORWARDING NONE 1 Ethernet1/0/15 DESI FORWARDING NONE 2 Ethernet1/0/12 DESI FORWARDING NONE 2 Ethernet1/0/15 ROOT FORWARDING NONE,SWBdisplay stp brief MSTID Port Role STP State Protection 0 Ethernet1/0/13 DESI FORWARDING NONE 0 Ethernet1/0/15 DESI FORWARDING NONE 1

11、 Ethernet1/0/13 DESI FORWARDING NONE 1 Ethernet1/0/15 ROOT FORWARDING NONE 2 Ethernet1/0/13 DESI FORWARDING NONE 2 Ethernet1/0/15 DESI FORWARDING NONE,Page18,MSTP基本配置验证MSTP基本信息,SWCdisplay stp brief MSTID Port Role STP State Protection 0 Ethernet1/0/2 DESI FORWARDING NONE 0 Ethernet1/0/3 DESI FORWARD

12、ING NONE 0 Ethernet1/0/12 ALTE DISCARDING NONE 0 Ethernet1/0/13 ROOT FORWARDING NONE 1 Ethernet1/0/2 DESI FORWARDING NONE 1 Ethernet1/0/12 ROOT FORWARDING NONE 1 Ethernet1/0/13 ALTE DISCARDING NONE 2 Ethernet1/0/3 DESI FORWARDING NONE 2 Ethernet1/0/12 ALTE DISCARDING NONE 2 Ethernet1/0/13 ROOT FORWA

13、RDING NONE,Page19,目 录,MSTP基本概念MSTP高级配置,Page20,MSTP工作模式,SWBstp mode stp SWBstp mode rstp SWBstp mode mstp,SWBstp mcheck,Page21,设置交换机为主用/备用根交换机,SWAstp instance 0 root primary SWAdisplay stp instance 0-CIST Global InfoMode MSTP-CIST Bridge:0.000f-e212-f8e1Bridge Times:Hello 2s MaxAge 20s FwDly 15s MaxH

14、op 20CIST Root/ERPC:0.000f-e212-f8e1/0CIST RegRoot/IRPC:0.000f-e212-f8e1/0CIST RootPortId:0.0CIST Root Type:PRIMARY root,SWBstp instance 0 root secondary SWBdisplay stp instance 0-CIST Global InfoMode MSTP-CIST Bridge:4096.000f-e212-f890Bridge Times:Hello 2s MaxAge 20s FwDly 15s MaxHop 20CIST Root/E

15、RPC:0.000f-e212-f8e1/199999CIST RegRoot/IRPC:4096.000f-e212-f890/0CIST RootPortId:128.13CIST Root Type:SECONDARY root,Page22,配置MSTP最大跳数,SWAstp max-hops 30 SWAdisplay stp-CIST Global InfoMode MSTP-CIST Bridge:0.000f-e212-f8e1Bridge Times:Hello 2s MaxAge 20s FwDly 15s MaxHop 30CIST Root/ERPC:0.000f-e2

16、12-f8e1/0CIST RegRoot/IRPC:0.000f-e212-f8e1/0CIST RootPortId:0.0BPDU-Protection:disabledCIST Root Type:PRIMARY rootTC or TCN received:3Time since last TC:0 days 1h:23m:36s,Page23,调整时间参数,SWAstp timer?forward-delay Specify forward delay hello Specify hello time interval max-age Specify max age,SWAstp

17、timer-factor?INTEGER Aged out time factor,Page24,网络直径与时间参数的关系,SWAstp bridge-diameter?INTEGER Bridge diameter,Page25,配置边缘端口保护,SWAstp bpdu-protection SWASWAdisplay stp-CIST Global InfoMode MSTP-CIST Bridge:32768.000f-e212-f8e1Bridge Times:Hello 2s MaxAge 20s FwDly 15s MaxHop 20CIST Root/ERPC:32768.000

18、f-e212-f8e1/0CIST RegRoot/IRPC:32768.000f-e212-f8e1/0CIST RootPortId:0.0BPDU-Protection:enabledTC or TCN received:0Time since last TC:0 days 1h:19m:5s,Page26,配置根交换机的指定端口保护,SWAstp interface Ethernet 1/0/13 root-protection SWASWAdisplay stp interface Ethernet 1/0/13-CISTPort13(Ethernet1/0/13)FORWARDIN

19、G-Port Protocol:enabled Port Role:CIST Designated Port Port Priority:128 Port Cost(Dot1T):Config=auto/Active=199999 Desg.Bridge/Port:0.000f-e212-f8e1/128.13 Port Edged:Config=disabled/Active=disabled Point-to-point:Config=auto/Active=true Transit Limit:3 packets/hello-time Protection Type:Root Num o

20、f Vlans Mapped:1 PortTimes:Hello 2s MaxAge 20s FwDly 15s RemHop 0 BPDU Sent:18 TCN:0,Config:0,RST:0,MST:18 BPDU Received:0 TCN:0,Config:0,RST:0,MST:0,Page27,配置环路保护功能,SWBstp interface Ethernet 1/0/13 loop-protection SWBSWBdisplay stp interface Ethernet 1/0/13-CISTPort13(Ethernet1/0/13)FORWARDING-Port

21、 Protocol:enabled Port Role:CIST Root Port Port Priority:128 Port Cost(Dot1T):Config=auto/Active=199999 Desg.Bridge/Port:0.000f-e212-f8e1/128.13 Port Edged:Config=disabled/Active=disabled Point-to-point:Config=auto/Active=true Transit Limit:3 packets/hello-time Protection Type:Loop Num of Vlans Mapp

22、ed:1 PortTimes:Hello 2s MaxAge 20s FwDly 15s RemHop 0 BPDU Sent:6 TCN:0,Config:0,RST:0,MST:6 BPDU Received:705 TCN:0,Config:0,RST:0,MST:705,Page28,配置TC-BPDU保护功能,SWBstp tc-protection?disable TC protection function disable enable TC protection function enable,Page29,问 题,MST配置标识包括几部分?CIST包括几部分?Master端口有什么作用?,Page30,总 结,MSTP概念 MSTP基本配置,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号