H3C Technologies H3C S7500E Series Switches User Manual
Page 35
1-28
[Sysname] interface ten-gigabitethernet 1/3/0/25
[Sysname-Ten-GigabitEthernet1/3/0/25] shutdown
[Sysname-Ten-GigabitEthernet1/3/0/25] quit
[Sysname] irf-port 1/2
[Sysname-irf-port 1/2] port group interface ten-gigabitethernet 1/3/0/25
[Sysname-irf-port 1/2] quit
[Sysname] interface ten-gigabitethernet 1/3/0/25
[Sysname-Ten-GigabitEthernet1/3/0/25] undo shutdown
[Sysname-Ten-GigabitEthernet1/3/0/25] save
# Configure Device B.
[Sysname] chassis convert mode irf
This command will convert the device to IRF mode and the device will reboot. Are you sure?
[Y/N]: y
The device reboots automatically to switch its operating mode. After logging in to the device again,,
change the member ID of the device to 2.
[Sysname] irf member 1 renumber 2
Warning: Renumbering the switch number may result in configuration change or loss. Continue?
[Y/N]:y
[Sysname] quit
The device reboots automatically to make the configuration of the member ID take effect. After logging
in to the device again, create IRF-port1 of the device, and bind it to the physical IRF port
Ten-GigabitEthernet 2/3/0/25, and then save the configurations.
[Sysname] interface ten-gigabitethernet 2/3/0/25
[Sysname-Ten-GigabitEthernet2/3/0/25] shutdown
[Sysname-Ten-GigabitEthernet2/3/0/25] quit
[Sysname] irf-port 2/1
[Sysname-irf-port 2/1] port group interface ten-gigabitethernet 2/3/0/25
[Sysname-irf-port 2/1] quit
[Sysname] interface ten-gigabitethernet 2/3/0/25
[Sysname-Ten-GigabitEthernet2/3/0/25] undo shutdown
[Sysname-Ten-GigabitEthernet2/3/0/25] save
2) Power off the two devices. Connect them as shown in
with cables. Power them on, and
the IRF virtual device is established.
3) Configure LACP MAD detection
# Create a dynamic aggregation port and enable LACP MAD detection.
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] mad enable
[Sysname-Bridge-Aggregation2] quit
# Add ports 1/3/0/2 and 2/3/0/2 to the aggregation port and they are dedicated to the LACP MAD
detection for Device A and Device B.
[Sysname] interface gigabitethernet 1/3/0/2
[Sysname-GigabitEthernet1/3/0/2] port link-aggregation group 2