实验的2.5etherchannel配置

实验的2.5etherchannel配置

ID:28905411

大小:229.50 KB

页数:8页

时间:2018-12-14

实验的2.5etherchannel配置_第1页
实验的2.5etherchannel配置_第2页
实验的2.5etherchannel配置_第3页
实验的2.5etherchannel配置_第4页
实验的2.5etherchannel配置_第5页
资源描述:

《实验的2.5etherchannel配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、实用标准文案实验2.5EtherChannel的配置1.实验目的通过实验可以掌握:(1)EtherChannel的工作原理(2)EtherChannel的配置2.实验拓扑EtherChannel配置实验拓扑如图2-1所示。精彩文档实用标准文案图2-1EtherChannel配置实验拓扑3.实验步骤构成EtherChannel的端口必须具有相同的特性:Trunking的状态、Trunk的封装方式、双工、速率及所属的VLAN等。配置EtherChannel有手动配置和自动配置(PAGP或者LACP)两种方法。手动配置就是管理员指明哪些接口形成EtherCh

2、annel;自动配置就是让EtherChannel协商协议自动协商EtherChannel的建立,协商的协议有PAGP或者LACP两种。(1)手动配置EtherChannelS1(config)#intf0/13S1(config-if)#shutdown//关闭不必要的接口,否则会影响测试S1(config)#intport-channel?<1-48>Port-channelinterfacenumberS1(config)#intport-channel1//创建以太通道,需指定一个唯一的通道组号,组号的范围是1~48的正整数。要取消EtherC

3、hannel时用“nointerfaceport-channel1”S1(config)#intrangef0/14-15S1(config-if-range)#channel-group1mode?activeEnableLACPunconditionallyautoEnablePAgPonlyifaPAgPdeviceisdetecteddesirableEnablePAgPunconditionally精彩文档实用标准文案onEnableEtherchannelonlypassiveEnableLACPonlyifaLACPdeviceisdet

4、ectedS1(config-if-range)#channel-group1modeon//将物理接口指定到已创建的通道中S1(config-if-range)#switchporttrunkencapsulationdot1qS1(config-if-range)#switchportmodetrunk//配置通道中的物理接口的属性,这里是配置trunkS1(config)#port-channelload-balance?dst-ipDstIPAddrdst-macDstMacAddrsrc-dst-ipSrcXORDstIPAddrsrc-ds

5、t-macSrcXORDstMacAddrsrc-ipSrcIPAddrsrc-macSrcMacAddrS1(config)#port-channelload-balancedst-ip//配置EtherChannel的负载平衡方式S2(config)#intport-channel2//链路两端的channel-group是可以不一样的,这个百年好只是本地有效。S2(config)#intrangef0/1-2S2(config-if-range)#channel-group2modeonS2(config-if-range)#switchport

6、trunkencapsulationdot1qS2(config-if-range)#switchportmodetrunkS2(config-if-range)#exitS2(config)#port-channelload-balancedst-ip(2)查看EtherChannel信息S1#showetherchannelsummaryFlags:D-downP-inport-channelI-stand-alones-suspendedH-Hot-standby(LACPonly)R-Layer3S-Layer2U-inusef-failedt

7、oallocateaggregatoru-unsuitableforbundlingw-waitingtobeaggregatedd-defaultportNumberofchannel-groupsinuse:2Numberofaggregators:2GroupPort-channelProtocolPorts------+-------------+-----------+-----------------------------------------------1Po1(SD)-Fa0/14(D)Fa0/15(D)精彩文档实用标准文案//可以

8、看到编号为group1的etherchannel已经形成,“SU”表示EtherChannel

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。