HCL软件,堆叠工程尝试,S5820V2-54QS-GE

因公司建设实验室需求,学习了交换机堆叠

模拟设备链接H3CS5820V2-54QS-GE文档
HCL软件中以S5820V2-54QS-GE为例,这个交换机拥有48个1GBase-T接口,4个SFP Plus / FCoE接口,2个QSFP+口,后面6个口都可以进行设备堆叠。

  • 先用堆叠线直接将各个交换机连起来
    下图是第一次连接,做四个交换机的堆叠,这个是失败了的,失败在于irf-port 1/1 不能和2/1相连,irf-port 3/2 不能和irf-port 4/2相连。正确联法是第二张图。
    HCL软件,堆叠工程尝试,S5820V2-54QS-GE_第1张图片

  • 下图是成功的堆叠图,不一样在于2和3交换机的堆叠口的分配
    HCL软件,堆叠工程尝试,S5820V2-54QS-GE_第2张图片

下面的配置命令行是按照图二来的。
1. 设备1

<H3C>sys
[H3C]irf member 1 priority 10
[H3C]interface Ten-GigabitEthernet 1/0/49
[H3C-Ten-GigabitEthernet1/0/49]shutdown
[H3C-Ten-GigabitEthernet1/0/49]quit
[H3C]interface Ten-GigabitEthernet 1/0/50
[H3C-Ten-GigabitEthernet1/0/50]shutdown
[H3C-Ten-GigabitEthernet1/0/50]quit
[H3C]irf-port 1/1
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/49
[H3C-irf-port1/1]quit
[H3C]irf-port 1/2
[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/50
[H3C-irf-port1/2]quit
[H3C]interface Ten-GigabitEthernet 1/0/49
[H3C-Ten-GigabitEthernet1/0/49]undo shutdown
[H3C-Ten-GigabitEthernet1/0/49]quit
[H3C]interface Ten-GigabitEthernet 1/0/50
[H3C-Ten-GigabitEthernet1/0/50]undo shutdown
[H3C-Ten-GigabitEthernet1/0/50]quit
[H3C]save
[H3C]irf-port-configuration active

2.设备2

```
sys
[H3C]irf member 2 renumber 2
[H3C]quit
reboot
sys
[H3C]interface Ten-GigabitEthernet 2/0/49
[H3C-Ten-GigabitEthernet2/0/49]shutdown
[H3C-Ten-GigabitEthernet2/0/49]quit
[H3C]interface Ten-GigabitEthernet 2/0/50
[H3C-Ten-GigabitEthernet2/0/50]shutdown
[H3C-Ten-GigabitEthernet2/0/50]quit
[H3C]irf-port 2/1
[H3C-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/49
[H3C-irf-port2/1]quit
[H3C]irf-port 2/2
[H3C-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/50
[H3C-irf-port2/2]quit
[H3C]interface Ten-GigabitEthernet 2/0/49
[H3C-Ten-GigabitEthernet2/0/49]undo shutdown
[H3C-Ten-GigabitEthernet2/0/49]quit
[H3C]interface Ten-GigabitEthernet 2/0/50
[H3C-Ten-GigabitEthernet2/0/50]undo shutdown
[H3C-Ten-GigabitEthernet2/0/50]quit
[H3C]save
[H3C]irf-port-configuration active

3.设备3


<H3C>sys
[H3C]irf member 1 renumber 3
[H3C]quit
reboot
sys
[H3C]interface Ten-GigabitEthernet 3/0/49
[H3C-Ten-GigabitEthernet3/0/49]shutdown
[H3C-Ten-GigabitEthernet3/0/49]quit
[H3C]interface Ten-GigabitEthernet 3/0/50
[H3C-Ten-GigabitEthernet3/0/50]shutdown
[H3C-Ten-GigabitEthernet3/0/50]quit
[H3C]irf-port 3/1
[H3C-irf-port3/1]port group interface Ten-GigabitEthernet 3/0/49
[H3C-irf-port3/1]quit
[H3C]irf-port 3/2
[H3C-irf-port3/2]port group interface Ten-GigabitEthernet 3/0/50
[H3C-irf-port3/2]quit
[H3C]interface Ten-GigabitEthernet 3/0/49
[H3C-Ten-GigabitEthernet3/0/49]undo shutdown
[H3C-Ten-GigabitEthernet3/0/49]quit
[H3C]interface Ten-GigabitEthernet 3/0/50
[H3C-Ten-GigabitEthernet3/0/50]undo shutdown
[H3C-Ten-GigabitEthernet3/0/50]quit
[H3C]save
[H3C]irf-port-configuration active

4.设备4


<H3C>sys
[H3C]irf member 1 renumber 4
[H3C]quit
reboot
sys
[H3C]interface Ten-GigabitEthernet 4/0/49
[H3C-Ten-GigabitEthernet4/0/49]shutdown
[H3C-Ten-GigabitEthernet4/0/49]quit
[H3C]interface Ten-GigabitEthernet 4/0/50
[H3C-Ten-GigabitEthernet4/0/50]shutdown
[H3C-Ten-GigabitEthernet4/0/50]quit
[H3C]irf-port 4/1
[H3C-irf-port4/1]port group interface Ten-GigabitEthernet 4/0/49
[H3C-irf-port4/1]quit
[H3C]irf-port 4/2
[H3C-irf-port4/2]port group interface Ten-GigabitEthernet 4/0/50
[H3C-irf-port4/2]quit
[H3C]interface Ten-GigabitEthernet 4/0/49
[H3C-Ten-GigabitEthernet4/0/49]undo shutdown
[H3C-Ten-GigabitEthernet4/0/49]quit
[H3C]interface Ten-GigabitEthernet 4/0/50
[H3C-Ten-GigabitEthernet4/0/50]undo shutdown
[H3C-Ten-GigabitEthernet4/0/50]quit
[H3C]save
[H3C]irf-port-configuration active

配置完成后检验,在任意一个交换机终端都可以,
* indicates the device is the master. 主设备
+ indicates the device through which the user logs in.目前用户正在通过该设备登录

HCL软件,堆叠工程尝试,S5820V2-54QS-GE_第3张图片

  • 在irf-port的配置中,第一张图的拓扑是错的,我也不知道为什么相邻的交换机必须是1/2 和2/1 配对 ,2/2 和3/1 配对,就是第二的分口要不同。
  • 第一次图示的配置中就出现了1/1 和2/1配对,这是不对的,配置好后,dis irf不会看到1和2 堆叠,只能看到1和4堆叠了,并不能看到所有的都堆叠了。

你可能感兴趣的:(H3C)