没有合适的资源?快使用搜索试试~ 我知道了~
实验22链路聚合实验
资源推荐
资源详情
资源评论
实验二十二、交换机链路聚合
一、 实验目的
1、 了解链路聚合技术的使用场合;
2、 熟练掌握链路聚合技术的配置。
二、 应用环境
两个实验室分别使用一台交换机提供 20 多个信息点,两个实验室的互通通过一根级联
网线。每个实验室的信息点都是百兆到桌面。两个实验室之间的带宽也是 100M,如果实验
室之间需要大量传输数据,就会明显感觉带宽资源紧张。当楼层之间大量用户都希望以 100M
传输数据的时候,楼层间的链路就呈现出了独木桥的状态,必然造成网络传输效率下降等后
果。
解决这个问题的办法就是提高楼层主交换机之间的连接带宽,实现的办法可以是采用千
兆端口替换原来的 100M 端口进行互联,但这样无疑会增加组网的成本,需要更新端口模块,
并且线缆也需要作进一步的升级。另一种相对经济的升级办法就是链路聚合技术。
顾名思义,链路聚合,是将几个链路作聚合处理,这几个链路必须是同时连接两个相同
的设备的,这样,当作了链路聚合之后就可以实现几个链路相加的带宽了。比如,我们可以
将 4 个 100M 链路使用链路聚合作成一个逻辑链路,这样在全双工条件下就可以达到 800M
的带宽,即将近 1000M 的带宽。这种方式比较经济,实现也相对容易。
三、 实验设备
1、 DCS-3926S 交换机 2 台
2、 PC 机 2 台
3、 Console 线 1-2 根
4、 直通网线 4-8 根
四、 实验拓扑
五、 实验要求
设备
IP Mask
端口
交换机 A 192.168.1.11 255.255.255.0 0/0/1-2 trunking
交换机 B 192.168.1.12 255.255.255.0 0/0/3-4 trunking
PC1 192.168.1.101 255.255.255.0 交换机 A0/0/23
PC2 192.168.1.102 255.255.255.0 交换机 B0/0/24
如果链路聚合成功,则 PC1 可以 ping 通 PC2。
六、 实验步骤
第一步:正确连接网线,交换机全部恢复出厂设置,做初始配置,避免广播风暴出现
交换机A:
switch#config
switch(Config)#hostname switchA
switchA(Config)#interface vlan 1
switchA(Config-If-Vlan1)#ip address 192.168.1.11 255.255.255.0
switchA(Config-If-Vlan1)#no shutdown
switchA(Config-If-Vlan1)#exit
switchA(Config)#spanning-tree
MSTP is starting now, please wait...........
MSTP is enabled successfully.
switchA(Config)#
交换机B:
switch#config
switch(Config)#hostname switchB
switchB(Config)#interface vlan 1
switchB(Config-If-Vlan1)#ip address 192.168.1.12 255.255.255.0
switchB(Config-If-Vlan1)#no shutdown
switchB(Config-If-Vlan1)#exit
switchB(Config)#spanning-tree
MSTP is starting now, please wait...........
MSTP is enabled successfully.
switchB(Config)#
第二步:创建port group
交换机A:
switchA(Config)#port-group 1
switchA(Config)#
验证配置:
switchA#show port-group detail
Sorted by the ports in the group 1:
--------------------------------------------
switchA#show port-group brief
Port-group number : 1
Number of ports in port-group : 0 Maxports in port-channel = 8
Number of port-channels : 0 Max port-channels : 1
switchA#
交换机B
switchB(Config)#port-group 2
switchB(Config)#
第三步:手工生成链路聚合组(第三、四步任选其一操作)
交换机A:
switchA(Config)#interface ethernet 0/0/1-2
switchA(Config-Port-Range)#port-group 1 mode on
switchA(Config-Port-Range)#exit
switchA(Config)#interface port-channel 1
switchA(Config-If-Port-Channel1)#
验证配置:
switchA#show vlan
VLAN 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-Channel1
switchA# !port-channel1已经存在
交换机B:
switchB(Config)#int e 0/0/3-4
switchB(Config-Port-Range)#port-group 2 mode on
switchB(Config-Port-Range)#exit
switchB(Config)#interface port-channel 2
switchB(Config-If-Port-Channel2)#
验证配置:
switchB#show port-group brief
Port-group number : 2
Number of ports in port-group : 2 Maxports in port-channel = 8
Number of port-channels : 1 Max port-channels : 1
剩余10页未读,继续阅读
资源评论
qq_24590401
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- apk.tw_LineLite_v8a_v.2.17.1_sign.apk
- Elasticsearch实战:构建高效搜索系统的秘诀.zip
- HTML+CSS+JS网页设计:从入门到精通.zip
- 数据库课程设计:从理论到实践的全面指南.zip
- Python闭包:深入理解与应用场景解析.zip
- Win64OpenSSL-3-3-0.exe
- 课高分程设计-基于C++实现的民航飞行与地图简易管理系统-南京航空航天大学
- 航天器遥测数据故障检测系统python源码+文档说明+数据库(课程设计)
- 北京航空航天大学操作系统课设+ppt+实验报告
- 基于Vue+Echarts实现风力发电机中传感器的数据展示监控可视化系统+源代码+文档说明(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功