interface loopback

Syntax

interface loopback <INSTANCE>

no interface loopback <INSTANCE>

Description

Creates a loopback interface and enters loopback configuration mode.

The no form of this command deletes a loopback interface.

Command context

config

Parameters

<INSTANCE>

Selects the loopback interface ID. Range: 0-255

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

switch# configure terminal
switch(config)# interface loopback 1
switch(config-loopback-if)#