好文档就是一把金锄头!
欢迎来到金锄头文库![会员中心]
电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

实验六:交换机链路聚合.doc

10页
  • 卖家[上传人]:博****1
  • 文档编号:542802719
  • 上传时间:2023-03-20
  • 文档格式:DOC
  • 文档大小:123.01KB
  • / 10 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 交换机链路聚合一、 实验目的1、 了解链路聚合技术的使用场合;2、 熟练掌握链路聚合技术的配置二、 应用环境两个实验室分别使用一台交换机提供20多个信息点,两个实验室的互通通过一根级联网线每个实验室的信息点都是百兆到桌面两个实验室之间的带宽也是100M,如果实验室之间需要大量传输数据,就会明显感觉带宽资源紧张当楼层之间大量用户都希望以100M传输数据的时候,楼层间的链路就呈现出了独木桥的状态,必然造成网络传输效率下降等后果解决这个问题的办法就是提高楼层主交换机之间的连接带宽,实现的办法可以是采用千兆端口替换原来的100M端口进行互联,但这样无疑会增加组网的成本,需要更新端口模块,并且线缆也需要作进一步的升级另一种相对经济的升级办法就是链路聚合技术顾名思义,链路聚合,是将几个链路作聚合处理,这几个链路必须是同时连接两个相同的设备的,这样,当作了链路聚合之后就可以实现几个链路相加的带宽了比如,我们可以将4个100M链路使用链路聚合作成一个逻辑链路,这样在全双工条件下就可以达到800M的带宽,即将近1000M的带宽这种方式比较经济,实现也相对容易三、 实验设备1、 DCS-3926S交换机2台2、 PC机2台3、 Console线1-2根4、 直通网线4-8根四、 实验拓扑五、 实验要求设备IPMask端口交换机A192.168.1.11255.255.255.00/0/1-2 trunking交换机B192.168.1.12255.255.255.00/0/3-4 trunkingPC1192.168.1.101255.255.255.0交换机A0/0/23PC2192.168.1.102255.255.255.0交换机B0/0/24如果链路聚合成功,则PC1可以ping 通PC2。

      六、 实验步骤第一步:正确连接网线,交换机全部恢复出厂设置,做初始配置,避免广播风暴出现交换机A:switch#configswitch(Config)#hostname switchAswitchA(Config)#interface vlan 1switchA(Config-If-Vlan1)#ip address 192.168.1.11 255.255.255.0switchA(Config-If-Vlan1)#no shutdownswitchA(Config-If-Vlan1)#exitswitchA(Config)#spanning-treeMSTP is starting now, please wait...........MSTP is enabled successfully.switchA(Config)#交换机B:switch#configswitch(Config)#hostname switchBswitchB(Config)#interface vlan 1switchB(Config-If-Vlan1)#ip address 192.168.1.12 255.255.255.0switchB(Config-If-Vlan1)#no shutdownswitchB(Config-If-Vlan1)#exitswitchB(Config)#spanning-treeMSTP is starting now, please wait...........MSTP is enabled successfully.switchB(Config)#第二步:创建port group交换机A:switchA(Config)#port-group 1switchA(Config)#验证配置:switchA#show port-group detailSorted by the ports in the group 1:--------------------------------------------switchA#show port-group briefPort-group number : 1Number of ports in port-group : 0 Maxports in port-channel = 8Number of port-channels : 0 Max port-channels : 1switchA#交换机BswitchB(Config)#port-group 2switchB(Config)#第三步:手工生成链路聚合组(第三、四步任选其一操作)交换机A:switchA(Config)#interface ethernet 0/0/1-2switchA(Config-Port-Range)#port-group 1 mode onswitchA(Config-Port-Range)#exitswitchA(Config)#interface port-channel 1switchA(Config-If-Port-Channel1)#验证配置:switchA#show vlanVLAN Name Type Media Ports---- ------------ ---------- --------- -------------------1 default Static ENET Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6 Ethernet0/0/7 Ethernet0/0/8 Ethernet0/0/9 Ethernet0/0/10 Ethernet0/0/11 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14 Ethernet0/0/15 Ethernet0/0/16 Ethernet0/0/17 Ethernet0/0/18 Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21 Ethernet0/0/22 Ethernet0/0/23 Ethernet0/0/24 Port-Channel1switchA# !port-channel1已经存在交换机B:switchB(Config)#int e 0/0/3-4switchB(Config-Port-Range)#port-group 2 mode onswitchB(Config-Port-Range)#exitswitchB(Config)#interface port-channel 2switchB(Config-If-Port-Channel2)#验证配置:switchB#show port-group briefPort-group number : 2Number of ports in port-group : 2 Maxports in port-channel = 8Number of port-channels : 1 Max port-channels : 1switchB#第四步: LACP动态生成链路聚合组(第三、四步任选其一操作)switchA(Config)#interface ethernet 0/0/1-2switchA(Conifg-Port-Range)#port-group 1 mode activeswitchA(Config)#interface port-channel 1switchA(Config-If-Port-Channel1)#验证配置:switchA#show vlanVLAN Name Type Media Ports---- ------------ ---------- --------- -------------------1 default Static ENET Ethernet0/0/3 Ethernet0/0/4 Ethernet0/0/5 Ethernet0/0/6 Ethernet0/0/7 Ethernet0/0/8 Ethernet0/0/9 Ethernet0/0/10 Ethernet0/0/11 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14 Ethernet0/0/15 Ethernet0/0/16 Ethernet0/0/17 Ethernet0/0/18 Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21 Ethernet0/0/22 Ethernet0/0/23 Ethernet0/0/24 Port-Channel1switchA# !port-channe。

      点击阅读更多内容
      关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
      手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
      ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.