<DeviceB> system-view
[DeviceB] irf member 1 renumber 2
Warning: Renumbering the switch number may result in
configuration change or loss. Continue? [Y/N]:y
[DeviceB]
(2) 将两台设备断电后,按图 1-13 所示连接 IRF 链路,然后将两台设备上电。
# 在 Device A 上创建设备的 IRF 端口 2,与物理端口 Ten-GigabitEthernet1/0/25 绑
定,并保存配置。
<DeviceA> system-view
[DeviceA] interface ten-gigabitethernet 1/0/25
[DeviceA-Ten-GigabitEthernet1/0/25] shutdown
[DeviceA] irf-port 1/2
[DeviceA-irf-port 1/2] port group interface ten-
gigabitethernet 1/0/25
[DeviceA-irf-port 1/2] quit
[DeviceA] interface ten-gigabitethernet 1/0/25
[DeviceA-Ten-GigabitEthernet1/0/25] undo shutdown
[DeviceA-Ten-GigabitEthernet1/0/25] save
# 在 Device B 上创建设备的 IRF 端口 1,与物理端口 Ten-GigabitEthernet2/0/26 绑
定,并保存配置。
<DeviceB> system-view
[DeviceB] interface ten-gigabitethernet 2/0/26
[DeviceB-Ten-GigabitEthernet2/0/26] shutdown
[DeviceB] irf-port 2/1
[DeviceB-irf-port 2/1] port group interface ten-
gigabitethernet 2/0/26
[DeviceB-irf-port 2/1] quit
[DeviceB] interface ten-gigabitethernet 2/0/26
[DeviceB-Ten-GigabitEthernet2/0/26] undo shutdown
[DeviceB-Ten-GigabitEthernet2/0/26] save
# 激活 DeviceA 的 IRF 端口配置。
[DeviceA-Ten-GigabitEthernet1/0/25] quit
[DeviceA] irf-port-configuration active
# 激活 DeviceB 的 IRF 端口配置。
[DeviceB-Ten-GigabitEthernet2/0/26] quit
[DeviceB] irf-port-configuration active
(3) 两台设备间会进行 Master 竞选,竞选失败的一方将自动重启,重启完成后,
IRF 形成,系统名称统一为 DeviceA。
(4) 配置 LACP MAD 检测
# 创建一个动态聚合端口,并使能 LACP MAD 检测功能。
<DeviceA> system-view