因ensp做不了堆叠,所以用了华三的模拟器HCL,下载地址:H3C网络设备模拟器官方免费下载-新华三集团-H3C
拓朴如下:
1、堆叠配置步骤如下:
1、S1和S2配置堆叠过程:
[S1]
irf domain 1
irf member 1 priority 32
#
int Ten-GigabitEthernet1/0/49
shutdown
int Ten-GigabitEthernet1/0/50
shutdown
#
irf port 1/1
port group int Ten-GigabitEthernet1/0/49
port group int Ten-GigabitEthernet1/0/50
#
int range Ten-GigabitEthernet1/0/49 to Ten-GigabitEthernet1/0/50
undo shutdown
#
[S2]
irf domain 1
irf member 1 renumber 2
#
save force
reboot
#
int range Ten-GigabitEthernet1/0/49 to Ten-GigabitEthernet1/0/50
shutdown
#
irf port 2/2
port group int Ten-GigabitEthernet1/0/49
port group int Ten-GigabitEthernet1/0/50
#
int range Ten-GigabitEthernet1/0/49 to Ten-GigabitEthernet1/0/50
undo shutdown
#
[S1]
irf-port-configuration active
#
[S2]
irf-port-configuration active
#
2、验证堆叠:
这时,在S2上看 irf 配置,设备名已经变成S1,即和Master设备名称相同:
S1上:
3、接着配聚合口:
[S3]
int Vlan-interface 1
ip addr 10.1.1.254 24
#
int Bridge-Aggregation 1
link-aggregation mode dynamic
#
interface GigabitEthernet1/0/1
port link-aggregation group 1
#
interface GigabitEthernet1/0/2
port link-aggregation group 1
#
S1配置相同
4、查看聚合口状态:
5、验证:
PC1 和 PC2 分别 ping 网关正常