interface loopback
To create a loopback interface and enter interface configuration mode, use the interface loopback command. To remove a loopback interface, use the no form of this command.
interface loopback number
no interface loopback number
Syntax Description
number |
Interface number; valid values are from 0 to 1023. |
Command Default
None
Command Modes
Global configuration mode
Command History
Release |
Modification |
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
Use the interface loopback command to create or modify loopback interfaces.
From the loopback interface configuration mode, the following parameters are available:
- description —Provides a description of the purpose of the interface.
- ip —Configures IP features, such as the IP address for the interface, Address Resolution Protocol (ARP) attributes, load balancing, Unicast Reverse Path Forwarding (RPF) or IP Source Guard.
- logging —Configure logging of events.
- shutdown —Shut down traffic on the interface.
This command does not require a license.
Examples
This example shows how to create a loopback interface:
switch(config)# interface loopback 50
switch(config-if)# ip address 10.1.1.1/24
switch(config-if)#