华为交换机端口汇聚的配置
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
交换机端口汇聚的配置
一、实验目的
通过对交换机端口汇聚的配置,了解交换机端口的一些基本配置信息,并掌握相关的重要命令,利用交换机Console口命令对交换机进行配置,明白端口汇聚的作用。
二、实验内容
1、修改交换机主机名
2、修改交换机端口地址与属性
3、配置交换机端口的静态MAC 地址表
4、实现交换机的端口汇聚
三、网络实验图
PC机
四、实验步骤
(1)、按拓扑图连线
连线:按拓扑图将Switch1的E1/0/1与Switch2
的E0/1相连,Switch1的E1/0/2与Switch2的E0/2
相连,PC机COM口与Switch1的Console口相连,网
线与E0/24相连。
(2)、设置Switch1的E1/0/1和E1/0/2端口
System View: return to User View with Ctrl+Z. [Quidway]sysname switch1
[switch1]interface ethernet 1/0/1
[switch1-Ethernet0/1]speed 100
[switch1-Ethernet0/1]duplex full
[switch1-Ethernet0/1]int e1/0/2
[switch1-Ethernet0/2]speed 100
[switch1-Ethernet0/2]duplex full
[switch1-Ethernet0/2]quit
(3)、设置Switch2的E0/1和E0/2端口
System View: return to User View with Ctrl+Z. [Quidway]sysname switch2
[switch2]interface ethernet 0/1
[switch2-Ethernet0/1]speed 100
[switch2-Ethernet0/1]duplex full
[switch2-Ethernet0/1]int e0/2
[switch2-Ethernet0/2]speed 100
[switch2-Ethernet0/2]duplex full
[switch2-Ethernet0/2]quit
(4)、汇聚交换机的E0/1和E0/2端口
交换机Switch1上端口汇聚
[switch1-Ethernet1/0/2]quit
[switch1]link-aggregation group 1 mode static
[switch1]interface e1/0/1
[switch1-Ethernet1/0/1]port link-aggregation
group 1
[switch1-Ethernet1/0/1]interface e1/0/2
[switch1-Ethernet1/0/2]port link-aggregation
group 1
交换机Switch2上端口汇聚
[switch2]link-aggregation e0/1 to e0/2 both
(5)、配置交换机1的VLAN1地址
[switch1]int vlan-interface 1
[switch1-Vlan-interface1]
%Apr 2 00:01:27:508 2000 switch1 L2INF/5/VLANIF
LINK STATUS CHANGE:- 1 - Vlan-interface1: is UP
[switch1-Vlan-interface1]ip address
192.168.1.1 255.255.255.0
[switch1-Vlan-interface1]
%Apr 2 00:01:41:967 2000 switch1
IFNET/5/UPDOWN:- 1 -Line protocol on the inter
face Vlan-interface1 is UP
[switch1-Vlan-interface1]quit
[switch1]disp int vlan 1
Vlan-interface1 current state :UP Line protocol current state :UP IP Sending Frames' Format is PKTFMT_ETHNT_2,
Hardware address is 000f-e220-938b Internet Address is 19
Description : HUAWEI, Quidway Series,
Vlan-interface1 Interface The Maximum Transmit Unit is 1500
(6)、配置交换机2的VLAN1地址
[switch2]interface vlan-interface 1
[switch2-Vlan-interface1]ip address
192.168.1.2 255.255.0
[switch2-Vlan-interface1]quit
[switch2]disp interface vlan 1
Vlan-interface1 current state :UPD
Line protocol current state :UP
[switch2-Ethernet1/0/2]