Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear loop-detect enhanced interface

Syntax

Description

Restore a specified interface or all interfaces to their prior state after the device detects a loop and applies a configured action to break the loop.

In an EVPN-VXLAN fabric, you can configure loop detection on leaf devices for server-facing Layer 2 interfaces using the loop-detect statement in the [edit protocols] hierarchy. With that statement, you specify the action that the leaf device performs on the interface when it detects a loop, such as bringing the interface down. By default, the interface remains in the state imposed by the loop detection action until you run this command to manually restore the prior state. For example, if you configured the loop detection feature to bring the interface down upon detecting a loop, then this command brings the interface up again. You can also configure the revert-interval option to set a timer after which the device automatically reverts the interface to its state prior to the loop detection action.

Use this command after you've repaired the loop condition to return the interface or interfaces to their prior state in either of these cases:

  • if you didn't configure revert-interval. In this case, you must run this command to restore the the interface state.

  • If you want to restore the interface to its prior state before the configured revert-interval expires.

Options

interface-name

Interface to revert to the state prior to the loop detection action.

If you don't specify an interface name, this command defaults to restoring the state of all interfaces affected by the loop detection action.

Required Privilege Level

???

Sample Output

clear loop-detect enhanced interface

clear loop-detect enhanced interface interface-name

Release Information

Command introduced in Junos OS Release 20.4R1.