show interface

Syntax

show interface <PORT-NUMBER>
      

Description

Includes the friendly port name with the port's traffic statistics listing. A friendly port name configured to a port is automatically included when you display the port's statistics output.

If you configure port A1 with the name "O'Connor_10.25.101.43," the show interface output for this port appears similar to the following:

Usage

  • switch(config)# show interfaces 1
  • switch(config)# show interface 1 hc
  • switch(config)# show int queues 1

Example show interfaces 1

switch(config)# show interfaces 1 

Status and Counters - Port Counters for port 1

  Name  :
  MAC Address      : 1cc1de-4d8d7f
  Link Status      : Up
  Port Enabled     : <Yes/No>
  Totals (Since boot or last clear) :
   Bytes Rx        : 218,939              Bytes Tx        : 99,019
   Unicast Rx      : 538                  Unicast Tx      : 290
   Bcast/Mcast Rx  : 1,132                Bcast/Mcast Tx  : 166
  Errors (Since boot or last clear) :
   FCS Rx          : 0                    Drops Tx        : 0
   Alignment Rx    : 0                    Collisions Tx   : 0
   Runts Rx        : 0                    Late Colln Tx   : 0
   Giants Rx       : 0                    Excessive Colln : 0
   Total Rx Errors : 0                    Deferred Tx     : 0
  Others (Since boot or last clear) :
   Discard Rx      : 0                    Out Queue Len   : 0
   Unknown Protos  : 0
  Rates (5 minute weighted average) :
   Total Rx (bps) : 0                     Total Tx (bps) : 0
   Unicast Rx (Pkts/sec) : 0              Unicast Tx (Pkts/sec) : 0
   B/Mcast Rx (Pkts/sec) : 0              B/Mcast Tx (Pkts/sec) : 0
   Utilization Rx  :     0 %              Utilization Tx  :     0 %

Example show interface 1 hc

switch(config)# show interface 1 hc                             
Status and Counters - Port Counters for port 1

  Name  :
  MAC Address     : 1cc1de-4d8d7f
  Link Status     : Up
  Port Enabled    : <Yes/No>
  Totals (Since boot or last clear) :
   Bytes Rx        : 221,044              Bytes Tx        : 100,043
   Unicast Rx      : 545                  Unicast Tx      : 294
   Bcast/Mcast Rx  : 1,143                Bcast/Mcast Tx  : 168
  Errors (Since boot or last clear) :
   FCS Rx          : 0                    Drops Tx        : 0
   Alignment Rx    : 0                    Collisions Tx   : 0
   Runts Rx        : 0                    Late Colln Tx   : 0
   Giants Rx       : 0                    Excessive Colln : 0
   Total Rx Errors : 0                    Deferred Tx     : 0
  Others (Since boot or last clear) :
   Discard Rx      : 0                    Out Queue Len   : 0
   Unknown Protos  : 0
  Rates (5 minute weighted average) :
   Total Rx (bps) : 0                     Total Tx (bps) : 0
   Unicast Rx (Pkts/sec) : 0              Unicast Tx (Pkts/sec) : 0
   B/Mcast Rx (Pkts/sec) : 0              B/Mcast Tx (Pkts/sec) : 0
switch(config)#

Example show int queues 1

switch(config)# show int queues 1                                      
 Status and Counters - Port Counters for port 1

  Name  :
  MAC Address      : 1cc1de-4d8d7f
  Link Status      : Down
  Port Enabled     : <Yes/No>
  Port Totals (Since boot or last clear) :
   Rx Packets      : 1,754              Tx Packets      : 482
   Rx Bytes        : 229,698            Tx Bytes        : 103,963
   Rx Drop Packets : 0                  Tx Drop Packets : 0
   Rx Drop Bytes   : 0                  Tx Drop Bytes   : 0

  Egress Queue Totals (Since boot or last clear) :
     Tx Packets         Dropped Packets    Tx Bytes           Dropped Bytes
Q1  0                  0                  0                  0
Q2  0                  0                  0                  0
Q3  313                0                  59,681             0
Q4  0                  0                  0                  0
Q5  0                  0                  0                  0
Q6  0                  0                  0                  0
Q7  0                  0                  0                  0
Q8  169                0                  44,282             0

NOTE:

For a given port, if a friendly port name does not exist in the running-config file, the Name line in the above command output appears as Name : not assigned.