interface loopback

Syntax

interface loopback <ID>

no interface loopback <ID>

Description

Creates a loopback interface and changes to the config-loopback-if context. Loopback interfaces are layer 3.

The no form of this command deletes a loopback interface.

Command context

config

Parameters

<INSTANCE>

Specifies the loopback interface ID. Range: 1 to 256

Authority

Administrators or local user group members with execution rights for this command.

Examples

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