The loopback-detect auto action command specifies an action when automatic LBDT is triggered to detect loops in the VLAN where MAC address flapping is detected.
The undo loopback-detect auto action command restores the default action when automatic LBDT is triggered to detect loops in the VLAN where MAC address flapping is detected.
By default, the action is trap when automatic LBDT is triggered to detect loops in the VLAN where MAC address flapping is detected.
Parameter |
Description |
Value |
---|---|---|
trap | Indicates that the interface only sends a trap when loops are detected. |
- |
quitvlan | Indicates that the interface is removed from the VLAN where MAC address flapping is detected. |
- |
Usage Scenarios
When the switch is configured with MAC address flapping detection and automatic LBDT, if MAC address flapping is detected in a VLAN, automatic LBDT is triggered to detect loops in the VLAN. Then you can run the loopback-detect auto action command to configure an action on the interface to minimize the impact of loops on the entire network.
Prerequisites
Follow-up Procedure
Run the loopback-detect recovery-time command to configure the recovery time of the problematic interface.
Precautions
The quitvlan action that is configured using this command takes effect only in the scenario where automatic LBDT is triggered to detect a loop between interfaces in the VLAN where MAC address flapping is detected. The trap action is used in the scenario where automatic LBDT is triggered to detect a loop on the downstream network or device in the VLAN where MAC address flapping is detected.