show interface

Syntax

show interface [<IFNNAME>|<IFRANGE>] [brief | physical | extended [non-zero]]
show interface [lag | loopback | tunnel | vlan ] [<ID>] [brief | physical]
show interface [lag | loopback | tunnel | vlan ] [<ID>] [extended | non-zero]

Description

Displays active configurations and operational status information for interfaces.

Command context

config

Parameters

<IFNAME>

Specifies a interface name.

<IFRANGE>

Specifies the port identifier range.

brief

Displays brief info in tabular format.

physical

Display the physical connection info in tabular format.

extended

Displays additional statistics.

non-zero

Displays only non zero statistics.

LAG

Displays LAG interface information.

LOOPBACK

Displays loopback interface information.

TUNNEL

Displays tunnel interface information.

VLAN

Displays VLAN interface information.

<LAG-ID>

Specifies the LAG number. Range: 1-256

<LOOPBACK-ID>

Specifies the LOOPBACK number. Range: 0-255

<TUNNEL-ID>

Specifies the tunnel ID. Range: 1-255

<VLAN-ID>

Specifies the VLAN ID. Range: 1-4094

VXLAN

Displays the VXLAN interface information.

<VXLAN-ID>

Specifies the VXLAN interface identifier. Default: 1

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

The following example shows when the interface is configured as a route-only port:

switch# show interface 1/1/1
Interface 1/1/1 is up
 Admin state is up
 Link state: up for 2 days (since Sun Jun 21 05:30:22 UTC 2020)
 Link transitions: 1
 Description: Backup data center link
 Hardware: Ethernet, MAC Address: 70:72:cf:fd:e7:b4
 MTU 1500
 Type 1GbT
 Full-duplex
 qos trust none
 Speed 1000 Mb/s
 Auto-negotiation is on
 Flow-control: off
 Error-control: off
 Energy-Efficient Ethernet is enabled
MDI mode: MDIX
	L3 Counters: Rx Enabled, Tx Enabled
 Rate collection interval: 300 seconds

  Rates              Rx            Tx             Total  
 -------------------------------------------------------
 Mbits/sec         0.00          0.00            0.00   
 Kbits/sec         0.00          0.00            0.00   
  Unicast          0.00          0.00            0.00   
  Multicast        0.00          0.00            0.00   
  Broadcast        0.00          0.00            0.00   
 Utilization%      0.00          0.00            0.00   

 Statistics          Rx            Tx           Total   
 -------------------------------------------------------
 Packets              0            0              0     
  Unicast             0            0              0     
  Multicast           0            0              0     
  Broadcast           0            0              0     
 Bytes                0            0              0     
 Jumbos               0            0              0     
 Dropped              0            0              0     
 Filtered             0            0              0     
 Pause Frames         0            0              0     
 L3 Packets           0            0              0     
 L3 Bytes             0            0              0     
 Errors               0            0              0     
  CRC/FCS             0           n/a             0     
  Collision          n/a           0              0     
  Runts               0           n/a             0     
  Giants              0           n/a             0     

When the interface is currently linked at a downshifted speed:

switch(config-if)# show interface 1/1/1

Interface 1/1/1 is up
 ...
 Auto-negotiation is on with downshift active

When the interface is currently linked with energy-efficient-ethernet negotiated:


Interface 1/1/1 is up
 ...
 Energy-Efficient Ethernet is enabled