1-31
[Sysname-Ten-GigabitEthernet2/0/26] quit
[Sysname] irf-port-configuration active
3) Two devices reboot automatically. Then, an IRF virtual device is established.
4) Configure LACP MAD detection
# Create a dynamic aggregation interface and enable LACP MAD detection.
<Sysname> system-view
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] mad enable
[Sysname-Bridge-Aggregation2] quit
# Add ports GigabitEthernet 1/0/1 and GigabitEthernet 2/0/1 to the aggregation interface and they are
dedicated to the LACP MAD detection for Device A and Device B.
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-aggregation group 2
[Sysname-GigabitEthernet1/0/1] quit
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] port link-aggregation group 2
5) Configure Device C as the intermediate device
Acting as the intermediate device, Device C needs to support LACP to forward and process LACP
protocol packets, and help Device A and Device B implement MAD detection. An LACP-supported
switch is used here to save the cost.
# Create a dynamic aggregation interface.
<Sysname> system-view
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] quit
# Add ports GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the aggregation interface and they are
used for the LACP MAD detection.
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-aggregation group 2
[Sysname-GigabitEthernet1/0/1] quit
[Sysname] interface gigabitethernet 1/0/2
[Sysname-GigabitEthernet1/0/2] port link-aggregation group 2
Configuration Example of Using the BFD MAD Detection
Network requirements
As shown in
Figure 1-14
, Device A and Device B are members of an IRF virtual device, which adopts
BFD MAD detection.
Figure 1-14
Network diagram for an IRF virtual device that uses BFD MAD detection
Configuration procedure
1) Set member IDs