41
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot. You are recommended to save the current
running configuration and specify the configuration file for the next startup. Continue?
[Y/N]:y
Do you want to convert the content of the next startup configuration file
flash:/startup.cfg to make it available in IRF mode? [Y/N]:y
Please wait...
Saving the converted configuration file to the main board succeeded.
Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
Device B and Device A form an IRF after Device B reboots.
3.
Configure BFD MAD
# Create VLAN 3, and add port GigabitEthernet 1/4/0/1 (located on Device A) and port
GigabitEthernet 2/4/0/1 (located on Device B) to VLAN 3.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] port gigabitethernet 1/4/0/1 gigabitethernet 2/4/0/1
[Sysname-vlan3] quit
# Create VLAN-interface 3 and configure a MAD IP address for the 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 function on ports GigabitEthernet 1/4/0/1 and GigabitEthernet 2/4/0/1.
[Sysname] interface gigabitethernet 1/4/0/1
[Sysname-gigabitethernet-1/4/0/1] undo stp enable
[Sysname-gigabitethernet-1/4/0/1] quit
[Sysname] interface gigabitethernet 2/4/0/1
[Sysname-gigabitethernet-2/4/0/1] undo stp enable
4.
When the IRF links fail, the system outputs error messages for detecting multi-active devices and
prompts you to repair the links.
%May 6 15:10:05:477 2010 HP MAD/1/MAD_COLLISION_DETECTED: Multi-active devices
detected, please fix it.
Because the member ID of Device B is 2, when the MAD mechanism detects errors, the state of Device
B changes to recovery and all ports on Device B except for the reserved ones are shut down.
# Repair IRF links. Then, you are prompted that an IRF fabric merge will happen and you need to reboot
the IRF fabric.
%May 6 15:12:52:935 2010 HP STM/6/STM_LINK_STATUS_UP:
IRF port 1 is up.
%May 6 15:13:02:828 2010 HP STM/4/STM_MERGE_NEED_REBOOT:
IRF merge occurs and the IRF system needs a reboot.
# Log in to the console port of Device B and reboot the device.
<Sysname> reboot