Command:

show port

Mode:

Switch> (enable)


Syntax:

show port [mod[/port]]


Syntax Description:

mod

(Optional) Variable that specifies the number of the module.

port

(Optional) Variable that specifies the number of the port on the module.


Command Description:

Use the show port command to display port status and counters.

If you do not specify a mod, the ports on all modules are shown.

If you do not specify a port, all the ports on the module are shown.

In the Status field for the switch ports, the following applies:

 

In the show port command display, the combination of the 32-port module (WS-X4502) and 4-port 100FX card results in an entry that lists 36 ports. If the uplink card is not installed, only ports 1 through 32 are listed. 

Although me1 resides on the supervisor engine module for the Catalyst 4000 family switches, me1 port information is not displayed by the show module or show port CLI commands.

 


Example:

This example shows how to display the status and counters for ports on module2:

Console> show port 2

Port  Name               Status     Vlan       Level  Duplex Speed Type

----- ------------------ ---------- ---------- ------ ------ ----- ------------

 2/1                     connected  1          normal   full  1000 1000BaseSX

 2/2                     connected  1          normal   full  1000 1000BaseSX

 2/3                     notconnect 1          normal   full  1000 No GBIC

 2/4                     notconnect 1          normal   full  1000 No GBIC

 2/5                     notconnect 1          normal   full  1000 No GBIC

2/34                    reflector  rspan-2    normal a-full a-100 10/100BaseTX

Port  Security Secure-Src-Addr   Last-Src-Addr     Shutdown Trap     IfIndex

----- -------- ----------------- ----------------- -------- -------- -------

 2/1  disabled                                     No       disabled 90

 2/2  disabled                                     No       disabled 91

 2/3  disabled                                     No       disabled 92

 2/4  disabled                                     No       disabled 93

 2/5  disabled                                     No       disabled 94

 2/6  disabled                                     No       disabled 95




Port   Send FlowControl    Receive FlowControl   RxPause TxPause Unsupported

       admin    oper       admin    oper                         opcodes

-----  -------- --------   -------- --------     ------- ------- -----------

 2/1   desired  off        off      off          0       0       0

 2/2   desired  off        off      off          0       0       0

 2/3   desired  off        off      off          0       0       0

 2/4   desired  off        off      off          0       0       0

 2/5   desired  off        off      off          0       0       0

 2/6   desired  off        off      off          0       0       0



Port  Align-Err  FCS-Err    Xmit-Err   Rcv-Err    UnderSize

----- ---------- ---------- ---------- ---------- ---------

 2/1           -          0          1          0         0

 2/2           -          8          2          8         0

 2/3           -          0          0          0         0

 2/4           -          0          0          0         0

 2/5           -          0          0          0         0

 2/6           -          0          0          0         0



Port  Single-Col Multi-Coll Late-Coll  Excess-Col Carri-Sen Runts     Giants

----- ---------- ---------- ---------- ---------- --------- --------- ---------

 2/1           0          0          0          0         1         0         0

 2/2           0          0          0          0         1         0         0

 2/3           0          0          0          0         0         0         0

 2/4           0          0          0          0         0         0         0

 2/5           0          0          0          0         0         0         0

 2/6           0          0          0          0         0         0         0



Last-Time-Cleared

--------------------------

Fri Apr 9 1999, 18:54:17


Console>

 

The table below describes the possible fields (depending on the port type queried) in
the show port command output.


Table: show port Command
Output Fields

Field Description

Port

Module and port number.

Name

Name (if configured) of the port.

Status

Status of the port. For the Catalyst 4000 family and Catalyst 2948G switches, possible displays are connected, notconnect, faulty, remfault, disable, remdisable, configerr, remcfgerr, reflector, and disagree.

Vlan

VLANs to which the port belongs.

Duplex

Duplex setting for the port (auto, full, fdx, half, hdx, a-half, a-hdx, a-full, or a-fdx).

Speed

Speed setting for the port Valid values are auto, 10,100, 155, a-10, a-100,4, 16, a-14,or a-16.

Type1

Port type, for example, 100BASE-FX MM, 100BASE-FX SM, 10/100BASE-TX.

Security

Status of whether port security is enabled or disabled.

Secure-Src-Addr

Secure MAC address for the security enabled port.

Last-Src-Addr

Source MAC address of the last packet received by the port.

Shutdown

Status of whether the port was shut down because of security.

Trap

Status of whether port trap is enabled or disabled.

IfIndex

Number of the ifIndex.

Broadcast-Limit

Broadcast threshold configured for the port.

Broadcast-Drop

Number of broadcast/multicast packets dropped because the broadcast limit for the port was exceeded.

Send admin

Flow-control administration. Possible settings: on indicates the local port sends flow control to the far end; off indicates the local port does not send flow control to the far end; desired indicates the local end sends flow control to the far end if the far end supports it.

FlowControl oper

Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol.

Receive admin

Flow-control administration. Possible settings: on indicates the local port requires the far end to send flow control; off indicates the local port does not allow the far end to send flow control; desired indicates the local end allows the far end to send flow control.

FlowControl oper

Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol.

RxPause

Number of Pause frames received.

TxPause

Number of Pause frames transmitted.

Unsupported Opcodes

Number of unsupported operating codes.

Align-Err

Number of frames with alignment errors (frames that do not end with an even number of octets and have a bad CRC) received on the port.

FCS-Err

The number of valid size frames with FCS errors but no framing errors

Xmit-Err

Number of transmit errors that occurred on the port (indicating that the internal transmit buffer is full)

Rcv-Err

Number of receive errors that occurred on the port (indicating that the internal receive buffer is full)

UnderSize

Number of received frames less than 64 octets long (but are otherwise well-formed)

Single-Col

Number of times one collision occurred before the port transmitted a frame to the media successfully

Multi-Coll

Number of times multiple collisions occurred before the port transmitted a frame to the media successfully

Late-Coll

Number of late collisions (collisions outside the collision domain)

Excess-Col

Number of excessive collisions that occurred on the port (indicating that a frame encountered 16 collisions and was discarded)

Carri-Sen

Number of times the port sensed a carrier (to determine whether the cable is currently being used)

Runts

Number of received runt frames (frames that are smaller than the minimum IEEE 802.3 frame size) on the port

Giants

Number of received giant frames (frames that exceed the maximum IEEE 802.3 frame size) on the port

Last-Time-Cleared

Last time the port counters were cleared

Auto-Part

The number of times the port entered the auto-partition state due to excessive consecutive collisions

Data-rate mismatch

The number of valid size frames experienced overrun or underrun

Src-addr change

The number of times the last source address changed

Good-bytes

The total number of octets in frames with no error

Short-event

The number of times activity with a duration less than the ShortEventMax Time (74 to 82 bit times) is detected

1These fields will change according to the system configuration.


Misconceptions:

None

Related commands:
None

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)