




已阅读5页,还剩21页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
生成树协议SpanningTreeProtocol 教学目标 Objectives 1 IP地址概念 ConceptofIPAddress 2 IP地址分类 ClassofIPAddress 3 保留和私有地址 ReservedandPrivateIPAddress 4 网络掩码和子网划分 NetworkMaskandSubnetting 5 可变长度子网掩码 VLSM 6 汇总和CIDR SummarizationandCIDR Objectives RedundanttopologiesSpanningTreeProtocol 冗余 Redundancy 冗余网络拓扑确保网络持续工作 避免单点故障Redundantnetworkingtopologiesaredesignedtoensurethatnetworkscontinuetofunctioninthepresenceofsinglepointsoffailure 冗余拓扑 RedundantTopologies 冗余拓扑 RedundantTopologies 1 冗余拓扑的目标是为了避免网络出现单点故障Agoalofredundanttopologiesistoeliminatenetworkoutagescausedbyasinglepointoffailure 2 所有的网络需要冗余来提高可靠性Allnetworksneedredundancyforenhancedreliability 简单的冗余交换拓扑 SimpleRedundantSwitchedTopology 简单的冗余交换拓扑 SimpleRedundantSwitchedTopology 1 冗余拓扑消除了单点故障Redundanttopologieseliminatesinglepointsoffailure 2 交换机对不知道地址的帧进行泛洪Switcheswillfloodframesforunknowndestinations 3 交换机对广播和组播也进行泛洪 Broadcastsandmulticastsarealsoflooded 4 冗余交换拓扑或许会带来广播风暴 多帧拷贝以及MAC地址表不稳定的问题Aredundantswitchedtopologymaycausebroadcaststorms multipleframecopies andMACaddresstableinstabilityproblems 广播风暴 BroadcastStorm 多帧传输 MultipleFrameTransmissions 在冗余交换网络中 对终端设备来讲 收到多帧相同数据是可能的 Inaredundantswitchednetworkitispossibleforanenddevicetoreceivemultipleframes MAC地址表不稳定 MACDatabaseInstability 交换机从错误的接口学到MAC地址 AswitchcanlearnthataMACaddressisonaportwhenitisnot 创建逻辑无环路拓扑 Creatingalogicalloopfreetopology 1 冗余增加了可靠性 但是同时将物理环路带进网络 Reliabilityisincreasedbyredundancy redundancyconnectionsintroducephysicalloopsintothenetwork 2 解决办法就是创建逻辑无环路拓扑 同时保留物理环存在Thesolutionistoallowphysicalloops butcreatealoopfreelogicaltopology 3 无环路拓扑称为树 并且是可扩展的树 Theloopfreelogicaltopologycreatediscalledatree Itisaspanningtreebecausealldevicesinthenetworkarereachableorspanned 4 创建无环路拓扑的算法称为生成树算法 Thealgorithmusedtocreatethisloopfreelogicaltopologyisthespanning treealgorithm STP术语 STPTerms 1 桥ID BridgeID 2 开销 Cost 3 桥协议数据单元 BPDU 桥ID BridgeID 1 BID用来识别每一个交换机 网桥 2 BID用来确定网络的中心 在STP中称为根桥 3 优先级默认为32768TheBIDconsistsofabridgeprioritythatdefaultsto32768 开销 Cost 最短路径是cost累加 而cost是基于链路的速率的 Shortestpathisbasedoncumulativelinkcosts Linkcostsarebasedonthespeedofthelink 桥协议数据单元 BPDU 1 交换机发送的创建逻辑无环路的数据包称为BPDUThemessagethataswitchsends allowingtheformationofaloopfreelogicaltopology iscalledaBridgeProtocolDataUnit BPDU 2 BPDU在阻塞的接口上也可以接收 这确保如果链路或设备出现问题 新的生成树会被计算BPDUscontinuetobereceivedonblockedports Thisensuresthatifanactivepathordevicefails anewspanningtreecanbecalculated 3 默认 BPDU2秒发送一次BydefaultBPDUsaresenteverytwoseconds Spanning TreeProtocol 生成树操作 Spanning TreeOperation Spanning TreeOperation cont 1 选举根桥 BID最小即是Selectasingleswitchthatwillactastherootofthespanningtree2 计算自己到根桥距离Calculatetheshortestpathfromitselftotherootswitch3 选择根端口 距离根桥最近的接口Chooseoneofitsportsasitsrootport foreachnon rootswitch Thisistheinterfacethatgivesthebestpathtotherootswitch 4 选指定端口和非指定端口 非指定端口被阻塞 Selectportsthatarepartofthespanningtree thedesignatedports Non designatedportsareblocked 生成树操作规则 Spanning TreeOperationRules 1 每个网络只有一个根桥Onerootbridgepernetwork 2 每个非根桥只有一个根端口Onerootportpernonrootbridge 3 每个段只有一个指定端口Onedesignatedportpersegment 4 非指定端口不被使用Nondesignatedportsareunused STP实例 STPExample 生成树端口状态 Spanning TreePortStates 生成树端口状态 Spanning TreePortStates 1 在阻塞状态 端口仅能接收BPDU 需要20秒改变这种状态Intheblockingstate portscanonlyreceiveBPDUs Itmaytakeupto20secondstochangefromthisstate 2 在侦听状态 交换机确定是否有到根桥的其它路径 该状态持续15秒 在该状态 用户的数据不能转发 也不能学习MAC地址 Inlisteningstate switchesdetermineifthereareanyotherpathstotherootbridge theforwarddelayandlastsfor15seconds Inthelisteningstate userdataisnotbeingforwardedandMACaddressesarenotbeinglearned 生成树端口状态 Spanning TreePortStates 3 在学习状态 用户的数据不能转发 但是可以学习MAC地址 该状态持续15秒 Inlearningstateuserdataisnotforwarded butMACaddressesarelearnedfromanytrafficthatisseen Thelearningstatelastsfor15secondsandisalsocalledtheforwarddelay 4 在转发状态 用户数据被转发 MAC地址继续学习 BPDU仍然工作 InforwardingstateuserdataisforwardedandMACaddressescontinuetobelearned BPDUsarestillprocessed CaseStudy Refertotheexhibit AllswitcheshavethedefaultSTPconfigurationandalllinksareFastEthernet WhichportonwhichswitchwillSp
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- DB61T 871-2014 玉米 登海702规范
- DB61T 853-2014 小麦 西高三号规范
- DB61T 808-2014 玉米 兴民18规范
- 维修框架合同(标准版)
- 婚纱摄影合同(标准版)
- 储备物资分类与标签管理方案
- 2025四川广元市旺苍县总工会招聘2名工会社会工作者备考练习题库及答案解析
- 施工现场消防安全控制方案
- 2025年滁州凤阳县人民医院派遣项目招聘1名考试参考试题及答案解析
- 城市污水管网管道沿线环境评估方案
- 4.《花之歌》教学设计-2024-2025学年统编版语文六年级上册
- 诉讼业务培训课件
- 12345热线培训课件
- 危险废弃物管理培训试题(附答案)
- 2025国投生物制造创新研究院有限公司招聘(31人)考试备考试题及答案解析
- 多彩的超轻泥教学课件
- 新学期,新征程+课件-2025-2026学年高二上学期开学第一课主题班会
- 赛事租赁用品租赁模式分析报告
- 学校防坠楼安全知识培训课件
- 护士长领导力提升与团队管理技巧
- 产前筛查答案及试题(附答案)
评论
0/150
提交评论