36
[Sysname] irf member 2
Info: Member ID change will take effect after the switch reboots and operates in IRF mode.
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] shutdown
[Sysname-Ten-GigabitEthernet3/0/1] quit
[Sysname] irf-port 1
[Sysname-irf-port1] port group interface ten-gigabitethernet 3/0/1
[Sysname-irf-port1] quit
[Sysname] interface ten-gigabitethernet 3/0/1
[Sysname-Ten-GigabitEthernet3/0/1] undo shutdown
[Sysname-Ten-GigabitEthernet3/0/1] quit
# Save the current configuration to the startup configuration file.
[Sysname] quit
<Sysname> save
# Connect the two devices as shown in
.
# Switch the operating mode of the device to IRF.
<Sysname> system-view
[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 fabric after Device B reboots.
3.
Configure LACP MAD
# Create a dynamic aggregate interface and enable LACP MAD.
<Sysname> system-view
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] mad enable
[Sysname-Bridge-Aggregation2] quit
# Assign ports GigabitEthernet 1/4/0/2 and GigabitEthernet 2/4/0/2 to the aggregate interface for
LACP MAD detection.
[Sysname] interface gigabitethernet 1/4/0/2
[Sysname-GigabitEthernet1/4/0/2] port link-aggregation group 2
[Sysname-GigabitEthernet1/4/0/2] quit
[Sysname] interface gigabitethernet 2/4/0/2
[Sysname-GigabitEthernet2/4/0/2] port link-aggregation group 2
4.
Configure Device C as the intermediate switch
Device C needs to act as the intermediate switch to forward and process extended LACPDUs exchanged
between Device A and Device B for MAD detection.