set protocols loopback-detection interface enable

The set protocols loopback-detection interface enable command can be used to enable or disable loopback detection function on a specific interface.

The delete protocols loopback-detection interface enable command deletes the configuration.

NOTE:

To enable the loopback detection function, users need to enable loopback detection BOTH globally and at the per-interface level. The command set protocols loopback-detection enable <true | false> can be used to enable loopback detection function globally.

 

Command Syntax

set protocols loopback-detection interface <interface-name> enable <true | false>

delete protocols loopback-detection interface <interface-name> enable

 

Parameter

Parameter

Description

interface <interface-name>

Specifies the interface name. The value is a physical interface or an LAG interface.

enable <true | false>

Enable or disable loopback detection function on a specific interface. The value could be true or false.

  • true: Enable loopback detection function on a specific interface.

  • false: Disable loopback detection function on a specific interface.

By default, interface-based loopback detection function is disabled.

NOTE:

Loopback detection can be enabled on a physical interface or a LAG interface but cannot be enabled on the member interface of a LAG interface.

 

Example

  • Enable loopback detection function on interface te-1/1/7.

admin@PICOS# set protocols loopback-detection enable true admin@PICOS# set protocols loopback-detection interface te-1/1/7 enable true admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.