Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Description

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: 127.0.0.1
  • 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.

...

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

NOTE:

Don't forget the key word "lo" in the command when creating a loopback interface in the default VRF.


 Example

  • Create a loopback interface in the default VRF.
Code Block
admin@Xorplus# set l3-interface loopback lo address 1.1.1.1 prefix-length 32
admin@Xorplus# commit