show interfaces

This topic explains the command that displays interface counters, parameters, and status, including brief status and protected status.

Syntax

show interfaces id [status | protected]

Parameter

id: Specify the interface or LAG. The id parameter represents the interface or LAG number or a range of interface numbers or LAG numbers. Use a hyphen to indicate a range. Use a comma to separate individual interfaces, ranges, or a combination of both.

status: Use this optional keyword to display a brief status for the interface.

protected: Use this optional keyword to display the protected status of the interface.

Default

No default value.

Mode

Privileged EXEC

Usage

Use the show interfaces command to display detailed interface counters, the parameters, and the status.

Use the show interfaces status command to display a brief status of the interface.

Use the show interfaces protected command to display the protected status of an interface.

Example

This example shows how to display the counters for interface 1/0/1:

CODE
Switch# show interfaces 1/0/1
1/0/1 is up
  Hardware is Gigabit Ethernet
  Auto-duplex, Auto-speed, media type is Copper
  flow-control is off
back-pressure is enabled
     0 packets input, 0 bytes, 0 throttles
     Received 0 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 multicast, 0 pause input
     0 input packets with dribble condition detected
     0 packets output, 0 bytes, 0 underrun
     0 output errors, 0 collisions, 0 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 PAUSE output

This example shows how to display the port status for interface 1/0/1:

CODE
Switch# show interfaces 1/0/1 status
Port  Name  Status      Vlan  Duplex  Speed    Type
1/0/1       connected   1     a-full  a-1000M  Copper

This example shows how to display the protected port state for interfaces 1/0/1 and 1/0/2:

CODE
Switch# show interfaces 1/0/1-1/0/2 protected
Port    | Protected State
--------+-----------------
1/0/1   | enabled
1/0/2   | enabled