实训(验)报告
系 别: 计算机
专 业: 网络技术专业
年级班级: 103-1
课程名称: 网络互联技术
学生姓名:
学 号: 10302020115
实训(验)报告
姓名
专业与班级
计算机网络103-1
学号
10302020115
成绩
实训(验)项目
交换机链路聚合
学时
教师评语:
教师签名:
课程名称
网络互联技术
教材
网络设备互联技术
实训(验)时间
90分钟
指导教师姓名
曾老师
实训(验)目的
1、 了解链路聚合技术的使用场合;
2、 熟练掌握链路聚合技术的配置。
实训(验)要求
交换机A, 192.168.1.65 255.255.255.0 0/0/1-2 trunking
交换机B, 192.168.1.71 255.255.255.0 0/0/3-4 trunking
PC1, 192.168.1.66 255.255.255.0 交换机 A0/0/23
PC2, 192.168.1.72 255.255.255.0 交换机 B0/0/24
主要
设施
设备
1、 DCS-3926S 交换机 2 台
2、 PC 机 2 台
3、 Console 线 1-2 根
4、 直通网线 4-8 根
操作
方法
快递客服问题件处理详细方法山木方法pdf计算方法pdf华与华方法下载八字理论方法下载
步骤
(实训过程)
第一步:正确连接网线,交换机全部恢复出厂设置,做初始配置,避免广播风暴出现
交换机A:
switch#config
switch(Config)#hostname switchA
switchA(Config)#interface vlan 1
switchA(Config-If-Vlan1)#ip address 192.168.1.65 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.
交换机B:
switch#config
switch(Config)#hostname switchB
switchB(Config)#interface vlan 1
switchB(Config-If-Vlan1)#ip address 192.168.1.71 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)#
交换机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
操作
方法
步骤
(实训过程)
交换机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)#
第四步: LACP动态生成链路聚合组
switchA(Config)#interface ethernet 0/0/1-2
switchA(Conifg-Port-Range)#port-group 1 mode active
switchA(Config)#interface port-channel 1
交换机B:
switchB(Config)#interface ethernet 0/0/3-4
switchB(Conifg-Port-Range)#port-group 2 mode passive
switchB(Config)#interface port-channel 2
验证配置:
switchB#show port-group brief
Port-group number : 2
Number of ports in port-group : 2Maxports in port-channel = 8
Number of port-channels : 1Max port-channels : 1
switchB#
实训
结果
(数据处理与成果说明)
使用PC1 ping PC2能ping通说明链路聚合组连接正确
使用PC1 ping PC2拔掉交换机B端口4的网线,仍然可以通(需要一点时间),此时用show
vlan 看看结果,port-channel消失。只有一个端口连接的时候,没有 必 要 再 维 持 一 个 port-channel了。
思
考
与
体
会
链路聚合是将几个链路作聚合处理链路聚合之后就可以实现几个链路相加的带宽了