add interface-loopback

In the R81.10.X releases, this command for the IPv4 loopback is available starting from the R81.10.00 version. IPv6 loopback is available starting from the R81.10.07 version.

Description

Adds a new loopback interface (A fixed interface in the system that is commonly used for dynamic routing purposes).

Syntax

add interface-loopback

........ipv4-address <ipv4-address> { mask-length <mask-length> | subnet-mask <subnet-mask> }

........ipv6-address <ipv6-address> ipv6-prefix-length <ipv6prefix-length>

Parameters

Parameter

Description

ipv4-address

Enter the IP address of the IPv4 interface

mask-length

Represents the network's mask length

subnet-mask

Enter the Subnet mask of the specified network

A subnet mask, or 255.255.255.255

ipv6-address

Enter the IP address of the IPv6 interface

ipv6--prefix-length

Represents the prefix length of the IPv6 address.

Example Command

add interface-loopback ipv4-address 192.168.1.1 mask-length 20

add interface-loopback ipv4-address 12.0.0.1 mask-length 24 ipv6-address 12::1 ipv6-prefix-length 64