set l3-interface loopback disable


The set l3-interface loopback disable command can be used to enable or disable a loopback interface.


Command Syntax

set l3-interface loopback <interface-name> disable <true | false>


Parameters

Parameter

Description

loopback <interface-name>

Specifies the name of the loopback interface. The value is a string.

disable <true | false>

Enables or disables the loopback interface. The value could be true or false.

  • true: Disable the loopback interface.
  • false: Enable the loopback interface.

When a loopback interface is created, it is enabled by default.


Example

  • Disable loopback interface lo2.
admin@Xorplus# set l3-interface loopback lo2 disable true
admin@Xorplus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.