Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set l3-interface loopback address command creates a loopback interface and configures its IP address.

Command Syntax

set l3-interface loopback {lo | <vrf-name>} address <ip-address> prefix-length <int>




loopback {lo | <vrf-name>}

Specifies a loopback interface. The value is a string.

  • lo: use lo for default VRF loopback.
  • <vrf-name>: use VRF name for a VRF loopback.

address <ip-address>

Specifies the IP address of a loopback interface.

  • Ipv4 default value:
  • Ipv6 default value: ::1
prefix-length <int>

The IPv4 network prefix length is fixed to 32.

The IPv6 network prefix length is fixed to 128.

Usage Guidelines

A loopback interface is always Up.

The IP address of a loopback interface is usually specified as the source address of packets.


  • Create a loopback interface.
admin@Xorplus# set l3-interface loopback lo address prefix-length 32
admin@Xorplus# commit
  • No labels