36
[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
After the IRF port configuration is activated, the two devices automatically elect a master. In this
example, Device A is the master. Device B automatically reboots and joins the Device A as a
subordinate switch to form an IRF fabric. The system name of the IRF fabric is
DevcieA
.
4.
Configure ARP MAD:
# Enable the spanning tree feature globally on the IRF fabric to prevent loops.
<DeviceA> system-view
[DeviceA] stp enable
# Connect the ARP MAD links as shown in
# Configure the IRF fabric to change its bridge MAC address as soon as the master leaves.
[DeviceA] undo irf mac-address persistent
# Create VLAN 3, and add port GigabitEthernet 1/0/1 (on Device A) and port GigabitEthernet
2/0/1 (on Device B) to VLAN 3.
[DeviceA] vlan 3
[DeviceA-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1
[DeviceA-vlan3] quit
# Create VLAN-interface 3, assign it an IP address, and enable ARP MAD on the interface.
Because ARP MAD is not run between IRF domains, you can use the default value 0.
[DeviceA] interface vlan-interface 3
[DeviceA-Vlan-interface3] ip address 192.168.2.1 24
[DeviceA-Vlan-interface3] mad arp enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain is: 0]:
The assigned domain ID is: 0
5.
Configure Device C:
# Enable the spanning tree feature globally on Device C to prevent loops.
<DeviceC> system-view
[DeviceC] stp enable
# Create VLAN 3, and add GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to VLAN 3.
[DeviceC] vlan 3
[DeviceC-vlan3] port gigabitethernet 1/0/1 gigabitethernet 1/0/2
[DeviceC-vlan3] quit