interface loopback

Configures a loopback interface and enters loopback interface configuration mode.
Syntax
interface loopback port-number
interface loopback port-number
Command Default

A loopback interface is not configured.

Parameters
port-number
Specifies the port number for the loopback interface. The range is 1 through 32.
Modes

Global configuration mode

Usage Guidelines

A loopback interface adds stability to the network by working around route flap problems that can occur due to unstable links between the device and neighbors.

Loopback interfaces are always up, regardless of the states of physical interfaces.

The no form of the command removes the specified loopback interface.

.
Examples

The following example configures a loopback interface and enters loopback interface configuration mode.

device(config)# interface loopback 10
device(config-lbif-3)#