- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
5.1.1交换基础
(BasicofSwitching)Thelayer2switchingisaprocesswhichuseMACaddresstosubnetinLAN.1第2层交换是在LAN上使用设备硬件地址对网络进行分段的过程Switchingtechnologycanseparatethemajorconflictdomainintosmallseparateconflictdomain.2交换技术能将大的冲突域分隔为小的冲突域Spanning-TreeProtocolcanpreventloopinThelayer2switchingnetwork.3生成树协议可以防止在第2层交换式网络中产生环路Switchesimplementthelayer2switching.4交换机实现第2层交换5.1.2第2层交换的优越性
(Theadvantageofthelayer2switching)基于硬件的桥接(ApplicationSpecificIntegratedCircuits,ASIC)线速(Wirespeed)低延迟(Low-latency)低成本(Low-cost)5.1.2第2层交换的局限性
(Thedisadvantageofthelayer2switching)(cannotseparatebroadcastdomain)1默认不能分隔广播域01(broadcast、multicastandSTP’sslowconvergence,reducingthenetworkperformance,so,switchescannotcompletelyreplacetherouters)2广播、组播、以及生成树协议的慢收敛,降低了网络性能,因此,第2层交换机不能完全取代路由器025.1.3两种交换方法
(TwoSwitchingMethods)5.1.3存储转发特征
(Store-and-forwardFeature)Theentireframeisreceivedbeforeanyforwardingtakesplace.1.在转发之前整个帧被接收Latencyisgreaterwithlargerframesbecausetheentireframemustbereceivedbeforetheswitchingprocessbegins.2.由于交换开始之前要接收完整个帧,较大的数据帧延迟会较大5.1.3直通特征
(Cut-throughFeature)1.在接收完整帧之前,帧就被转发。Theframeisforwardedthroughtheswitchbeforetheentireframeisreceived.2.最快的是只要读到目的地址就转发。Ataminimumtheframedestinationaddressmustbereadbeforetheframecanbeforwarded.3.这种模式降低了延迟,但是不进行检错Thismodedecreasesthelatencyofthetransmission,butalsoreduceserrordetection.直通转发的类型:一、快速转发(Fast-forward?)二、无碎片方式?(Fragment-free)地址学习(Addresslearning)决定转发或过滤帧(Forward/Filterframedecision)避免环路(Loopavoidance)5.1.4交换机的三种交换功能
(ThreeSwitchFunctions)5.1.4交换机学习主机地址
(SwitchLearnHostAddress)初始MAC地址表是空的InitialMACaddresstableisemptyMACaddresstable0260.8c01.11110260.8c01.22220260.8c01.33330260.8c01.4444E0E1E2E3ABCD5.1.4交换机学习主机地址
(SwitchLearnHostAddress)A向C发送帧(StationAsendsaframetoSta
文档评论(0)