34
Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y
[Sysname] quit
<Sysname> reboot
# Log into Device B. (Details not shown.)
# Shut down the physical interfaces used for IRF links. This example uses the crosslink ports
Ten-GigabitEthernet 2/0/17 to Ten-GigabitEthernet 2/0/20. By default, the four ports are shut
down to avoid loops.
<Sysname> system-view
[Sysname] interface range ten-gigabitethernet 2/0/17 to ten-gigabitethernet 2/0/20
[Sysname-if-range] shutdown
[Sysname-if-range] quit
# Bind Ten-GigabitEthernet 2/0/17 to Ten-GigabitEthernet 2/0/20 to IRF-port 2/2.
[Sysname] irf-port 2/2
[Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/17
[Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/18
[Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/19
[Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/20
[Sysname-irf-port2/2] quit
# Bring up the ports and save the configuration.
[Sysname] interface range ten-gigabitethernet 2/0/17 to ten-gigabitethernet 2/0/20
[Sysname-if-range] undo shutdown
[Sysname-if-range] quit
[Sysname] save
# Activate the IRF port configuration.
[Sysname] irf-port-configuration active
The two devices perform master election, and the one that has failed the election reboots to
form an IRF fabric with the master.
3.
Configure BFD MAD on the IRF fabric:
# Create VLAN 3, and add FortyGigE 1/1/1 and FortyGigE 2/1/1 to VLAN 3.
[Sysname] vlan 3
[Sysname-vlan3] port fortygige 1/1/1 fortygige 2/1/1
[Sysname-vlan3] quit
# Create VLAN-interface 3, and configure a MAD IP address for each member device on the
VLAN interface.
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad bfd enable
[Sysname-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[Sysname-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[Sysname-Vlan-interface3] quit
# Disable the spanning tree feature on FortyGigE 1/1/1 and FortyGigE 2/1/1.
[Sysname] interface range fortygige 1/1/1 fortygige 2/1/1
[Sysname-if-range] undo stp enable
[Sysname-if-range] quit
4.
Configure Device E as the intermediate device:
CAUTION:
If the intermediate device is also an IRF fabric, assign the two IRF fabrics different domain IDs
for correct split detection. False detection causes IRF split.