HCL实验:H3C堆叠+链路聚合

HCL实验:H3C堆叠+链路聚合_第1张图片

 

堆叠

1号设备配置:

sys

[H3C]irf member 1 renumber 1 //指定成员1

[H3C]int range FortyGigE 1/0/53 to FortyGigE 1/0/54

[H3C-if-range]shutdown //交换机加入堆叠组之前需要关闭

[H3C-if-range]quit

[H3C]irf-port 1/1 //创建IRF端口组

[H3C-irf-port1/1]port group int FortyGigE 1/0/53 //绑定物理端口到IRF组

[H3C-irf-port1/1]port group int FortyGigE 1/0/54 //绑定物理端口到IRF组

[H3C-irf-port1/1]quit

[H3C]int range FortyGigE 1/0/53 to FortyGigE 1/0/54

[H3C-if-range]undo shutdown

[H3C-if-range]quit

[H3C]irf-port-configuration active //激活IRF

[H3C]save

2号设备配置:

sys

[H3C]irf member 1 renumber 2

[H3C]int range FortyGigE 1/0/53 to FortyGigE 1/0/54

[H3C-if-range]shutdown

[H3C-if-range]quit

[H3C]irf-port 1/2

[H3C-irf-port1/2]port group interface FortyGigE 1/0/53

[H3C-irf-port1/2]port group interface FortyGigE 1/0/54

[H3C-irf-port1/2]quit

[H3C]int range FortyGigE 1/0/53 to FortyGigE 1/0/54

[H3C-if-range]undo shutdown

[H3C-if-range]quit

[H3C]save

[H3C]irf-port-configuration active

[H3C]save

连接线路后同时重启两台交换机: [H3C]reboot

启动成功后: [H3C]dis irf //查看irf信息 [H3C]dis irf link //查看irf端口状态 dis irf configuration //查看irf配置 dis irf topology //查看irf关系拓扑

端口聚合:

选择两台物理交换机的51口作为聚合口

system-view //进入配置模式

[H3C]int Bridge-Aggregation 51 //创建链路聚合组端口1

[H3C-Bridge-Aggregation1]link-aggregation mode dynamic //链路聚合模式动态

[H3C-Bridge-Aggregation1]quit

[H3C]interface Ten-GigabitEthernet 1/0/51interface Ten-GigabitEthernet 1/0/51  //进入1号交换机51口

[H3C-Ethernet1/0/1]port link-aggregation group 51 //加入链路聚合组

[H3CEthernet1/0/1]quit //退出

[H3C]interface Ten-GigabitEthernet 2/0/51 //进入2号交换机51口

[H3C-Ethernet1/0/2]port link-aggregation group 1 //加入链路聚合组

[H3C-Ethernet1/0/1]quit

[H3C]interface Bridge-Aggregation 51

[SW-Bridge-Aggregation51]port link-type trunk //修改聚合端口改为trunk模式

[SW-Bridge-Aggregation51]port trunk permit vlan all //方行所有vlan

汇聚交换机端口聚合:

system-view

[huiju]interface Bridge-Aggregation 51

[huiju-Bridge-Aggregation51]link-aggregation mode dynamic

[huiju-Bridge-Aggregation51]quit

[huiju]interface Ten-GigabitEthernet 1/0/51

[huiju-Ten-GigabitEthernet1/0/51]port link-aggregation group 51

[huiju-Ten-GigabitEthernet1/0/51]quit

[huiju]interface Ten-GigabitEthernet 1/0/52

[huiju-Ten-GigabitEthernet1/0/52]port link-aggregation group 51

[huiju-Ten-GigabitEthernet1/0/52]quit

[huiju]interface Bridge-Aggregation 51

[huiju-Bridge-Aggregation51]port link-type trunk

[huiju-Bridge-Aggregation51]port trunk permit vlan all

[huiju-Bridge-Aggregation51]quit

[huiju]save

查看命令

[huiju]display link-aggregation summary //简要信息

[huiju]display link-aggregation verbose //详细信息

你可能感兴趣的:(网络,网络,运维)