interfaces loopback <interface-name>
Defines a loopback interface.
A configuration node is automatically created for the lo loopback interface on startup.
- interface-name
- The name of a loopback interface, lo or lon, where n ranges from 1 through 99999.
Configuration mode
interfaces {
loopback interface-name
}
Use this command to configure a loopback interface.
Use the set form of this command to create a loopback interface. However, the system automatically creates a configuration node for the lo loopback interface on startup, so you should not need to use the set form of this command to create the lo loopback interface unless you have deleted it.
Use the delete form of this command to remove all loopback interfaces or just one. The system creates an empty configuration node for the lo interface the next time the system starts.
Use the show form of this command to display the configured loopback interfaces.