MSTP原理与配置.ppt_第1页
MSTP原理与配置.ppt_第2页
MSTP原理与配置.ppt_第3页
MSTP原理与配置.ppt_第4页
MSTP原理与配置.ppt_第5页
已阅读5页,还剩27页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

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,VLAN2,通过所有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基本概念多生成树实例(MSTInstance),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基本概念多生成树实例(MSTInstance),LANA,LANB,9300-A,9300-B,5300,VLAN2,VLAN3,D,D,D,D,R,R,A,Instance2的根交换机,Instance1:包含VLAN2,Instance2:包含VLAN3,Instance1的根交换机,D,R,A,D,D,R,D,Page10,MST配置表(MSTConfigurationTable),4096个两字节元素,此数值表示VLAN1所映射到的MSTInstance的MSTID,此数值表示VLAN4094所映射到的MSTInstance的MSTID,Page11,MSTP基本概念MST区域(MSTRegion),RegionA,RegionC,RegionB,Instance1的根交换机,Instance1:包含VLAN2,Instance1的根交换机,Instance1:包含VLAN2,Page12,MST配置标识(MSTConfigurationIdentifier),Page13,MSTInstance的基本计算过程,LANA,LANB,SWA,SWB,VLAN2,D,D,D,D,R,R,A,Instance1:VLAN2,MSTIRegionalRoot,4096.00e0-fc16-ee43,8192.00e0-fc41-4259,32768.00e0-fc41-43b9,SWC,Page14,MSTP基本配置物理拓扑,LANA,LANB,SWA,SWB,SWC,VLAN2,VLAN3,A,MSTIRegionalRoot,Instance1:VLAN2,Instance2:VLAN3,MSTIRegionalRoot,A,Trunk,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域参数,SWAstpenableSWAstpmodemstpSWAstpregion-configurationSWA-mst-regionregion-nameRegionASWA-mst-regionrevision-level1SWA-mst-regioninstance1vlan2SWA-mst-regioninstance2vlan3SWA-mst-regionactiveregion-configurationSWA-mst-regionquitSWAstpinstance1priority4096SWAstpinstance2priority8192SWA,说明:SWB、SWC配置MST域参数类似,不再赘述。,Page16,MSTP基本配置设置RSTP点到点链路和边缘端口,SWAinterfaceEthernet1/0/12SWA-Ethernet1/0/12stppoint-to-pointforce-trueSWAinterfaceEthernet1/0/15SWA-Ethernet1/0/15stppoint-to-pointforce-true,SWBinterfaceEthernet1/0/13SWB-Ethernet1/0/13stppoint-to-pointforce-trueSWBinterfaceEthernet1/0/15SWB-Ethernet1/0/15stppoint-to-pointforce-true,SWCinterfaceEthernet1/0/12SWC-Ethernet1/0/12stppoint-to-pointforce-trueSWCinterfaceEthernet1/0/13SWC-Ethernet1/0/13stppoint-to-pointforce-trueSWCinterfaceEthernet1/0/2SWC-Ethernet1/0/2stpedged-portenableSWCinterfaceEthernet1/0/3SWC-Ethernet1/0/3stpedged-portenable,Page17,MSTP基本配置验证MSTP基本信息,SWAdisplaystpbriefMSTIDPortRoleSTPStateProtection0Ethernet1/0/12DESIFORWARDINGNONE0Ethernet1/0/15ROOTFORWARDINGNONE1Ethernet1/0/12DESIFORWARDINGNONE1Ethernet1/0/15DESIFORWARDINGNONE2Ethernet1/0/12DESIFORWARDINGNONE2Ethernet1/0/15ROOTFORWARDINGNONE,SWBdisplaystpbriefMSTIDPortRoleSTPStateProtection0Ethernet1/0/13DESIFORWARDINGNONE0Ethernet1/0/15DESIFORWARDINGNONE1Ethernet1/0/13DESIFORWARDINGNONE1Ethernet1/0/15ROOTFORWARDINGNONE2Ethernet1/0/13DESIFORWARDINGNONE2Ethernet1/0/15DESIFORWARDINGNONE,Page18,MSTP基本配置验证MSTP基本信息,SWCdisplaystpbriefMSTIDPortRoleSTPStateProtection0Ethernet1/0/2DESIFORWARDINGNONE0Ethernet1/0/3DESIFORWARDINGNONE0Ethernet1/0/12ALTEDISCARDINGNONE0Ethernet1/0/13ROOTFORWARDINGNONE1Ethernet1/0/2DESIFORWARDINGNONE1Ethernet1/0/12ROOTFORWARDINGNONE1Ethernet1/0/13ALTEDISCARDINGNONE2Ethernet1/0/3DESIFORWARDINGNONE2Ethernet1/0/12ALTEDISCARDINGNONE2Ethernet1/0/13ROOTFORWARDINGNONE,Page19,目录,MSTP基本概念MSTP高级配置,Page20,MSTP工作模式,SWBstpmodestpSWBstpmoderstpSWBstpmodemstp,SWBstpmcheck,Page21,设置交换机为主用/备用根交换机,SWAstpinstance0rootprimarySWAdisplaystpinstance0-CISTGlobalInfoModeMSTP-CISTBridge:0.000f-e212-f8e1BridgeTimes:Hello2sMaxAge20sFwDly15sMaxHop20CISTRoot/ERPC:0.000f-e212-f8e1/0CISTRegRoot/IRPC:0.000f-e212-f8e1/0CISTRootPortId:0.0CISTRootType:PRIMARYroot,SWBstpinstance0rootsecondarySWBdisplaystpinstance0-CISTGlobalInfoModeMSTP-CISTBridge:4096.000f-e212-f890BridgeTimes:Hello2sMaxAge20sFwDly15sMaxHop20CISTRoot/ERPC:0.000f-e212-f8e1/199999CISTRegRoot/IRPC:4096.000f-e212-f890/0CISTRootPortId:128.13CISTRootType:SECONDARYroot,Page22,配置MSTP最大跳数,SWAstpmax-hops30SWAdisplaystp-CISTGlobalInfoModeMSTP-CISTBridge:0.000f-e212-f8e1BridgeTimes:Hello2sMaxAge20sFwDly15sMaxHop30CISTRoot/ERPC:0.000f-e212-f8e1/0CISTRegRoot/IRPC:0.000f-e212-f8e1/0CISTRootPortId:0.0BPDU-Protection:disabledCISTRootType:PRIMARYrootTCorTCNreceived:3TimesincelastTC:0days1h:23m:36s,Page23,调整时间参数,SWAstptimer?forward-delaySpecifyforwarddelayhelloSpecifyhellotimeintervalmax-ageSpecifymaxage,SWAstptimer-factor?INTEGERAgedouttimefactor,Page24,网络直径与时间参数的关系,SWAstpbridge-diameter?INTEGERBridgediameter,Page25,配置边缘端口保护,SWAstpbpdu-protectionSWASWAdisplaystp-CISTGlobalInfoModeMSTP-CISTBridge:32768.000f-e212-f8e1BridgeTimes:Hello2sMaxAge20sFwDly15sMaxHop20CISTRoot/ERPC:32768.000f-e212-f8e1/0CISTRegRoot/IRPC:32768.000f-e212-f8e1/0CISTRootPortId:0.0BPDU-Protection:enabledTCorTCNreceived:0TimesincelastTC:0days1h:19m:5s,Page26,配置根交换机的指定端口保护,SWAstpinterfaceEthernet1/0/13root-protectionSWASWAdisplaystpinterfaceEthernet1/0/13-CISTPort13(Ethernet1/0/13)FORWARDING-PortProtocol:enabledPortRole:CISTDesignatedPortPortPriority:128PortCost(Dot1T):Config=auto/Active=199999Desg.Bridge/Port:0.000f-e212-f8e1/128.13PortEdged:Config=disabled/Active=disabledPoint-to-point:Config=auto/Active=trueTransitLimit:3packets/hello-timeProtectionType:RootNumofVlansMapped:1PortTimes:Hello2sMaxAge20sFwDly15sRemHop0BPDUSent:18TCN:0,Config:0,RST:0,MST:18BPDUReceived:0TCN:0,Config:0,RST:0,MST:0,Page27,配置环路保护功能,SWBstpinterfaceEthernet1/0/13loop-protectionSWBSWBdisplaystpinterfaceEthernet1/0/13-CISTPort1

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论