Configures a loopback interface.
A loopback interface is not configured.
Global configuration mode
A loopback is a logical interface traditionally used to ensure stable routing operations.
Use the no form of this command to remove the specified loopback interface.
The following restrictions apply when the loopback interface is part of an active VXLAN overlay gateway. These restrictions are enforced to maintain consistency across the gateway.
You must first use the no activate command in VXLAN overlay gateway configuration mode to modify the loopback interfaces. .
Use the no form of this command with a port parameter to remove the specified loopback interface.
The following example creates a loopback interface with a port number of 25.
device# configure terminal device(config)# interface loopback 25 device(config-Loopback-25)#