文档介绍:西安邮电学院
实验报告
课题名称: IP网络基础实验
实验名称:交换机链路聚合配置
小组编号: 6号
小组成员: 李晓晓王冰洁梁璐常梅梅
实验地点: 1#123
实验日期: 2011年6月1日
指导老师: 郭娟
本实验要求掌握链路聚合原理,掌握交换机链路聚合的配置和使用。
本实验需要交换机2台
交换机1和交换机2通过链路聚合端口相连,由2个物理端口聚合而成,本实验主要内容包括
静态聚合、动态聚合的配置。
下面给出静态链路聚合的步骤,动态聚合请读者自己设计实现方案。以S1的配置为例,S2的
配置与此类似。
⑴创建链路聚合组。
S1(config)# interface smartgroup1
⑵添加端口 fei_1/1、fei_1/2 到 smartgroup 1,并设置端口的链路聚合模式为on。
S1(config)# interface fei_1/1
S1 (config-if)# smartgroup 1 mode on
S1 (config-if)exit
S1(config)# interface fei_1/2
S1 (config-if)# smartgroup 1 mode on
S1 (config-if)exit
⑶设置 smartgroup 1 的VLAN链路类型为Trunk 或Hybrid。
S1(config)# interface smartgroup1
S1 (config-if)# switchport mode trunk
⑷把 smartgroup加入VLAN 10、VLAN 20 ,例如:
S1(config-if)# switchport trunk vlan 10
S1(config-if)# switchport trunk vlan 20
4 思考题
⒈自己设计方案,完成动态聚合的配置,并查看聚合端口的状态。
答:以S1的配置为例,S2的配置与此类似。
⑴创建链路聚合组。
S1(config)# interface smartgroup1
⑵添加端口 fei_1/1、fei_1/2 到 smartgroup 1,并设置端口的链路聚合模式为on。
S1(config)# interface fei_1/1
S1 (config-if)# smartgroup 1 mode active
S1 (config-if)exit
S1(config)# interface fei_1/2
S1 (config-if)# smartgroup 1 mode active
S1 (config-if)exit
⑶设置 smartgroup 1 的VLAN链路类型为Trunk 或Hybrid。
S1(config)# interface smartgroup1
S1 (config-if)# switchport mode trunk
⑷把 smartgroup加入VLAN 10、VLAN 20 ,例如:
S1(config-if)# switchport trunk vlan 10
S1