![H3C S5820 series Configuration Manual Download Page 37](http://html1.mh-extra.com/html/h3c/s5820-series/s5820-series_configuration-manual_4186693037.webp)
1-30
Figure 1-13
Network diagram for an IRF virtual device that uses LACP MAD detection
Configuration procedure
1) Set member IDs
# Keep the default member ID of Device A unchanged.
# Set the member ID of Device B to 2.
<Sysname> system-view
[Sysname] irf member 1 renumber 2
Warning: Renumbering the switch number may result in configuration change or loss. Continue?
[Y/N]:y
[Sysname]
2) Power off the two devices and connect IRF links and LACP MAD detection links according to
Figure 1-13
. Then power on the two devices.
# Create IRF port 2 on Device A, and bind it to physical IRF port Ten-GigabitEthernet 1/0/25. Then save
your configuration.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/25
[Sysname-Ten-GigabitEthernet1/0/25] shutdown
[Sysname] irf-port 1/2
[Sysname-irf-port 1/2] port group interface ten-gigabitethernet 1/0/25
[Sysname-irf-port 1/2] quit
[Sysname] interface ten-gigabitethernet 1/0/25
[Sysname-Ten-GigabitEthernet1/0/25] undo shutdown
[Sysname-Ten-GigabitEthernet1/0/25] save
# Create IRF port 1 on Device B, and bind it to physical IRF port Ten-GigabitEthernet 1/0/26. Then save
your configuration.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 2/0/26
[Sysname -Ten-GigabitEthernet2/0/26] shutdown
[Sysname] irf-port 2/1
[Sysname-irf-port 2/1] port group interface ten-gigabitethernet 1/0/25
[Sysname-irf-port 2/1] quit
[Sysname] interface ten-gigabitethernet 2/0/26
[Sysname-Ten-GigabitEthernet2/0/26] undo shutdown
[Sysname-Ten-GigabitEthernet2/0/26] save
# Activate IRF port configuration on Device A.
[Sysname-Ten-GigabitEthernet1/0/25] quit
[Sysname] irf-port-configuration active
# Activate IRF port configuration on Device B.