36
2.
Power off the two devices and connect IRF links and ARP MAD detection links according to
Figure
14
. Then power on the two devices.
# Create IRF port 2 on Device A, and bind it to the physical IRF port Ten-GigabitEthernet 1/0/25. Then
save the configuration.
<DeviceA> system-view
[DeviceA] interface ten-gigabitethernet 1/0/25
[DeviceA-Ten-GigabitEthernet1/0/25] shutdown
[DeviceA] irf-port 1/2
[DeviceA-irf-port1/2] port group interface ten-gigabitethernet 1/0/25
[DeviceA-irf-port1/2] quit
[DeviceA] interface ten-gigabitethernet 1/0/25
[DeviceA-Ten-GigabitEthernet1/0/25] undo shutdown
[DeviceA-Ten-GigabitEthernet1/0/25] save
# Create IRF port 1 on Device B, and bind it to the physical IRF port Ten-GigabitEthernet 2/0/26. Then
save the configuration.
<DeviceB> system-view
[DeviceB] interface ten-gigabitethernet 2/0/26
[DeviceB-Ten-GigabitEthernet2/0/26] shutdown
[DeviceB] irf-port 2/1
[DeviceB-irf-port2/1] port group interface ten-gigabitethernet 2/0/26
[DeviceB-irf-port2/1] quit
[DeviceB] interface ten-gigabitethernet 2/0/26
[DeviceB-Ten-GigabitEthernet2/0/26] undo shutdown
[DeviceB-Ten-GigabitEthernet2/0/26] save
# Activate IRF port configuration on Device A.
[DeviceA-Ten-GigabitEthernet1/0/25] quit
[DeviceA] irf-port-configuration active
# Activate IRF port configuration on Device B.
[DeviceB-Ten-GigabitEthernet2/0/26] quit
[DeviceB] irf-port-configuration active
3.
Master election is held between the two devices. As a result of the master election, Device B
automatically reboots to join the IRF virtual device as a subordinate switch. The system name on
both devices is
DevcieA
.
4.
Configure ARP MAD
# Enable MSTP globally on the IRF virtual device to prevent loops.
<DeviceA> system-view
[DeviceA] stp enable
# Connect the ARP MAD detection links according to
Figure 15
.
# Configure that the bridge MAC address of the IRF virtual device changes as soon as the master
leaves.
[DeviceA] undo irf mac-address persistent
# Create VLAN 3, and add port GigabitEthernet 1/0/1 (located on Device A) and port GigabitEthernet
2/0/1 (located on Device B) to VLAN 3.
[DeviceA] vlan 3
[DeviceA-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1
[DeviceA-vlan3] quit