interface loopback

Last Updated : Nov 06, 2012 |

Enters Loopback interface configuration mode. Use no interface loopback to delete a Loopback interface or sub-interface.

If the specified interface does not exist, the system creates it and enters its configuration mode.

Syntax

[no] interface loopback [interface_number[.ip_interface]]

Parameters

Parameter

Description

Possible Values

Default Value

interface_number

The number of the interface

1-99

ip_interface

The IP sub-interface number within this interface. A number of IP interfaces may be bound to a Layer 3 interface.

0-1024

User level

read-write

Context

general

Example

To create Loopback interface 1 and enter its configuration mode:

Gxxx-001(super)# interface loopback 1

To create a Layer 3 sub-interface:

Gxxx-001(super)# interface loopback 1.1