(Optional) Configuring the Interface Status When the Peer-Link Fails
Context
On a dual-homing Ethernet, VXLAN, or IP network where M-LAG is deployed, when the peer-link fails but the DAD status is normal, interfaces except the management interface, peer-link interface, and stack interface on the backup device all enter the Error-Down state. When the faulty peer-link is restored, the M-LAG interface in Error-Down state goes Up after 240 seconds by default and other interfaces in Error-Down state go Up automatically.
In practice, uplink interfaces running routing protocols or DAD-enabled heartbeat interfaces should not enter the Error-Down state. You can configure the interface whether to enter the Error-Down state according to the actual situation.
Table 4-11 describes the Error-Down state of interfaces when the peer-link fails but the DAD status is normal.
Device Configuration |
Ethernet, VXLAN, or IP Network Where M-LAG Is Deployed |
---|---|
Default setting |
Interfaces except the management interface, peer-link interface, and stack interface on the backup device all enter the Error-Down state. |
Device where m-lag unpaired-port suspend is configured |
Only the M-LAG member interface and the interface configured with m-lag unpaired-port suspend are in Error-Down state. |
Device where m-lag unpaired-port reserved is configured |
Interfaces except the interface configured with m-lag unpaired-port reserved, management interface, peer-link interface, and stack interface on the backup device all enter the Error-Down state. |
Device where both m-lag unpaired-port suspend and m-lag unpaired-port reserved are configured |
Only the M-LAG member interface and the interface configured with m-lag unpaired-port suspend are in Error-Down state. |
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run m-lag unpaired-port reserved
The interface is configured not to enter the Error-Down state when the peer-link fails but the DAD status is normal.
You can configure m-lag unpaired-port suspend on other interfaces of the backup device so that the specified interface is configured to automatically enter the Error-Down state when the peer-link fails but the DAD status is normal.
You are advised to configure this command on interfaces of both the M-LAG master and slave devices, so the Error-Down state of interfaces is consistent after an active/standby switchover of the M-LAG master and backup devices.
This command cannot be configured on the peer-link interface and M-LAG member interfaces.
- Run commit
The configuration is committed.