show interface loopback

Syntax

show interface loopback [brief | instance <ID>] [vsx-peer]

Description

This command displays the configuration and status of loopback interfaces.

Command context

Operator (>) or Manager (#)

Parameters

brief

Displays brief information about all configured loopback interfaces.

instance <ID>

Displays the configuration and status of a loopback interface ID. Range: 1-255

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

switch# show interface loopback

 Interface loopback1 is up
 IPv4 address 192.168.1.1/24
 
 Interface loopback2 is up
 IPv4 address 182.168.1.1/24
switch# show interface loopback brief

---------------------------------------------------------------------
Loopback      IP Address                                     Status
Interface
---------------------------------------------------------------------

loopback1   10.1.1.1/24                                         up
loopback1   1111:2222:3333:4444::6666/128                       up
switch# show interface loopback 1
 Interface loopback1 is up
 IPv4 address 192.168.1.1/24