3.1.10. show interface

Syntax

show interfaces IF_PORTS

show interfaces IF_PORTS status

show interfaces IF_PORTS potected

Parameter


IF_PORTS Specifiy port to show.


Default

No default value for this command.

Mode

Privileged EXEC

Usage

Use “show interface” command to show detail port counters, parameters and status. Use “show interface status” command to show brief port status. Use “show interface protected” command to show protected status.

Example

This example shows how to show current counters.

Switch# show interfaces fa1
Hardware is Fast Ethernet
Auto-duplex, Auto-speed, media type is Copper flow-control is off
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 show current protected port state.

Switch# show interfaces fa1-2 protected
Port | Protected State
-------+-----------------
fa1 |enabled
fa2 |enabled
This example shows how to show current port status
Switch show interfaces fa1 status
Port Name Status Vlan Duplex Speed Type
fa1 connected 1 full a-100M Copper