cc/td/doc/product/lan/cat6000/sw_5_2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

show port
show port broadcast
show port capabilities
show port cdp
show port channel
show port counters
show port flowcontrol
show port negotiation
show port protocol
show port qos
show port status
show proc
show protocolfilter
show qos info
show qos mac-cos
show qos statistics
show rsmautostate
show snmp

show port

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

show port [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module. If you do not specify a number, the ports on all modules are shown.

/port_num

(Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the status and counters for port 1 on module 1:

Console> show port 1/1
Port  Name               Status     Vlan       Duplex Speed Type
----- ------------------ ---------- ---------- ------ ----- ------------
 1/1                     connected  1            full  1000 1000BaseSX
 
Port  Security Secure-Src-Addr   Last-Src-Addr     Shutdown Trap     IfIndex
----- -------- ----------------- ----------------- -------- -------- -------
 1/1  disabled                                     No       disabled 3
 
Port     Broadcast-Limit Broadcast-Drop
-------- --------------- --------------------
 1/1                   -              0
 
Port   Send FlowControl    Receive FlowControl   RxPause    TxPause
       admin    oper       admin    oper
-----  -------- --------   -------- --------     ---------- ----------
 1/1   desired  on         off      off          0          0
 
Port  Status     Channel   Admin Ch    Neighbor                         Neighbor
                 Mode      Group Id    Device                              Port
----- ---------- --------- ----- ----- ----------------------------------- -----
 
 1/1  connected  auto      123   0
 
Port  Align-Err  FCS-Err    Xmit-Err   Rcv-Err    UnderSize 
----- ---------- ---------- ---------- ---------- ---------
 1/1           0          0          0          0         0
 
Port  Single-Col Multi-Coll Late-Coll  Excess-Col Carri-Sen Runts     Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
 1/1           0          0          0          0        23         0         0
 
Last-Time-Cleared
--------------------------
Fri Feb 25 2000, 20:41:52 
 

Table 2-29 describes the possible fields (depending on the port type queried) in the show port command output.


Table 2-29: show port Command Output Fields
Field Description

Port

Module and port number.

Name

Name (if configured) of the port.

Status

Status of the port (connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor).

Vlan

VLANs to which the port belongs.

Duplex

Duplex setting for the port (auto, full, half).

Speed

Speed setting for the port (auto, 10, 100, 1000).

Type1

Port type, for example, 1000BaseSX or 100BaseFX.

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.

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

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-Coll

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.

CE-State

Connection entity status.

Conn-State

Connection state of the port, as follows:

  • Disabled---The port has no line module or was disabled by the user.

  • Connecting---The port attempted to connect or was disabled.

  • Standby---The connection was withheld or was the inactive port of a dual-homing concentrator.

  • Active---The port made a connection.

  • Other---The concentrator was unable to determine the Conn-State.

Type

Type of port, such as A---A port and B---B port.

Neig

Type of port attached to this port. The neighbor can be one of these types:

  • A---A port

  • B---B port

  • M---M port

  • S---Slave port

  • U---The concentrator cannot determine the type of the neighbor port.

Ler Con

Status of whether the port is currently in a LER condition.

Est

Estimated LER.

Alm

LER at which a link connection exceeds the LER alarm threshold.

Cut

LER cutoff value (the LER at which a link connection is flagged as faulty).

Lem-Ct

Number of LEM errors received on the port.

Lem-Rej-Ct

Number of times a connection was rejected because of excessive LEM errors.

Last-Time-Cleared

Last time the port counters were cleared.

Auto-Part

Number of times the port entered the auto-partition state due to excessive consecutive collisions.

Data-rate mismatch

Number of valid size frames that experienced overrun or underrun.

Src-addr change

Number of times the last source address changed.

Good-bytes

Total number of octets in frames with no error.

Short-event

Number of short events received.

1These fields will change according to the system configuration.

show port broadcast

Use the show port broadcast command to display broadcast information.

show port broadcast [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module. If you do not specify a number, the ports on all modules are shown.

/port_num

(Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

On the 1000BaseX switching module, when you specify a port for broadcast suppression, the traffic is suppressed only in the network-to-Catalyst 6000 and 6500 series switch bus direction.

Example

This example shows how to display broadcast information for port 2 on module 1:

Console> show port broadcast 1/2
Port     Broadcast-Limit Broadcast-Drop
-------- --------------- --------------------
1/2                20 %532
Console> 
 

Table 2-30 describes the possible fields (depending on the port type queried) in the show port broadcast command output.


Table 2-30: show port broadcast Command Output Fields
Field Description

Port

Module and port number.

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.

show port capabilities

Use the show port capabilities command to display the capabilities of the modules and ports in a switch.

show port capabilities [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module.

/port_num

(Optional) Number of the port on the module.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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

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

Example

This example shows how to list the port capabilities for module 2, port 1:

Console> show port capabilities 2/1
Model                    WS-X6K-SUP1-2GE
Port                     2/1
Type                     1000BaseSX
Speed                    1000
Duplex                   full
Trunk encap type         802.1Q,ISL
Trunk mode               on,off,desirable,auto,nonegotiate
Channel                  yes
Broadcast suppression    percentage(0-100)
Flow control             receive-(off,on,desired),send-(off,on,desired)
Security                 yes
Membership               static
Portfast                 yes
QOS                      rx-(1q4t),tx-(2q2t)
Rewrite                  no
UDLDCapable
Console> (enable)
 

Table 2-31 describes the possible fields (depending on the type of port queried) and the values in the show port capabilities command output.


Table 2-31: show port capabilities Command Output Fields
Field Description

Model

Module model number.

Port

Module number and port number.

Type1

Port type, for example, 1000BaseSX or 100BaseFX.

Speed1

Speed setting for the port (auto, 10, 100, 1000).

Duplex

Duplex mode (half, full, auto).

Trunk encap type

Trunk encapsulation type (ISL, 802.1Q, 802.10, or no).

Trunk mode

Trunk administrative status of the port (on, off, auto, desirable, nonegotiate, or no).

Channel

Status of which ports can form a channel group. The ports are shown in mod_num/port_num format. For example, 3/1-2 indicates module 3, ports 1 and 2. Also, any ports in range [mod/1-mod/high_port] or no ports may be indicated.

Broadcast suppression

Percentage of total available bandwidth that can be used by broadcast traffic (0-100).

Flow control

Flow-control options you can set (receive-[off, on, desired], send-[off, on, desired], or no).

Security

Status of whether port security is enabled (yes, no).

Membership

Method of membership assignment of a port or range of ports to a VLAN (static, dynamic).

Portfast

Status of whether the spanning-tree port fast-start feature on the port is enabled (yes, no).

Qos

Port type of the transmit and receive drop thresholds.

Rewrite

Status of whether the port supports inline rewrite (yes, no).

UDLD

Status of whether the port is UDLD-capable or not.

1These fields will change depending on the system configuration.

Related Commands

set port channel
set port broadcast
set port security
set port speed
set spantree portfast
set trunk

show port cdp

Use the show port cdp command to display port CDP enable state and message interval on the port.

show port cdp [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module.

/port_num

(Optional) Number of the port on the module.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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

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

Example

This example shows how to display CDP information for all ports:

Console> show port cdp
CDP               :enabled
Message Interval  :60
Hold Time         :180
CDP Enhancement   :disabled
 
Port      CDP Status
--------  ----------
 1/1      enabled
 1/2      enabled 
Console> 
 

Table 2-32 describes the fields in the show port cdp command output.


Table 2-32: show port cdp Command Output Fields
Field Description

CDP

Status of whether CDP is enabled or not.

Message-Interval

Interval between CDP message exchange with neighbor.

Hold Time

Hold time setting.

CDP Enhancement

Status of whether CDP enhancement is enabled or not.

Port

Module and port number.

CDP Status

CDP status of the port (enabled, disabled).

show port channel

Use the show port channel command to display EtherChannel information for a specific module or port.

show port channel [mod[/port]] [statistics | info]
show port channel [mod[/port]] [info [spantree | trunk | protcol | gmrp | gvrp | qos]]
Syntax Description

[/port

(Optional) Number of the module and the port.

statistics

(Optional) Keyword to display statistics about the port (PAgP packets sent and received).

info

(Optional) Keyword to display port information such as speed, duplex status, priority, secure or dynamic status, trunk status. When used with any of the options (spantree | trunk | protcol | gmrp | gvrp | qos), will display associated VLANs and the specified feature-related parameters to be displayed in the output.

spantree | trunk | protcol | gmrp | gvrp | qos

(Optional) Keyword to display feature-related parameters.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

If mod or /port is not specified, EtherChannel information is shown for all channeling ports on all modules.

The protocol conditions are: on indicates the port will receive all the flood traffic for that protocol; off indicates the port will not receive any flood traffic for that protocol; auto indicates the port will not receive any flood traffic for that protocol.

The GVRP registration status is defined as: normal allows dynamic registering and deregistering each VLAN (except VLAN 1) on the port; fixed supports manual VLAN creation and registration and prevents VLAN deregistration; forbidden statically deregisters all the VLANs (except VLAN 1) from the port.

Examples

This example shows how to display Ethernet channeling information for module 4:

Console> show port channel 4
Port  Status     Channel   Admin Ch    Neighbor                         Neighbor
                 Mode      Group Id    Device                              Port
----- ---------- --------- ----- ----- ----------------------------------- -----
 4/1  notconnect desirable 69    0    
 4/2  disabled   desirable 69    0    
 4/3  connected  on        151   769   WS-C6006    12345678                4/7  
 4/4  connected  on        151   769   WS-C6006    12345678                4/8  
 4/5  notconnect desirable 70    0    
 4/6  notconnect desirable 70    0    
 4/7  connected  on        152   770   WS-C6006    12345678                4/3  
 4/8  connected  on        152   770   WS-C6006    12345678                4/4  
 4/7  connected  on        152   770   WS-C6006    12345678                4/3  
 4/8  connected  on        152   770   WS-C6006    12345678                4/4  
Console> 
 

This example shows how to display port statistics:

Console> show port channel 4 statistics
Port  Admin   PAgP Pkts   PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts
      Group   Transmitted Received  InFlush   RetnFlush OutFlush  InError      
----- ------- ----------- --------- --------- --------- --------- ---------
 4/1       69          20         0         0         0         0         0
 4/2       69         105        60         0         0         0         0
 4/3      151           0         0         0        10         0         0
 4/4      151           0         5         0         0         0         0
 4/5       70           0         0         0         0         0         0
 4/6       70          42         0         0         2         0         0
 4/7      152           0        92         0         0         0         0
 4/8      152           0         0         0         0         0         0
Console>      
 

This example shows how to to display port information:

Console> show port channel info
Switch Frame Distribution Method:ip both
 
Port  Status     Channel   Admin Channel Speed Duplex Vlan PortSecurity/
                 mode      group id                        Dynamic port
----- ---------- --------- ----- ------- ----- ------ ---- -------------
3/1  notconnect on           21     833 100   half      1 -             
3/2  notconnect on           21     833 100   half      1 -             
3/3  notconnect on           21     833 100   half      1 -             
3/4  notconnect on           21     833 100   half      1 -             
----- ---------- --------- ----- ------- ----- ------ ---- -------------
 
Port  ifIndex Oper-group Neighbor          Neighbor Neighbor
                         device-id         port-id  Oper-group
----- ------- ---------- ----------------- -------- ----------
3/1  -                1 
3/2  -                1 
3/3  -                1 
3/4  -                1 
----- ------- ---------- ----------------- -------- ----------
 
Port  Oper-Distribution
----- -----------------
3/1  ip both          
3/2  ip both          
3/3  ip both          
3/4  ip both          
----- -----------------
Port  Trunk-status Trunk-type    Trunk-vlans
----- ------------ ------------- -----------------------------------------------
3/1  not-trunking negotiate     1-1005
3/2  not-trunking negotiate     1-1005
3/3  not-trunking negotiate     1-1005
3/4  not-trunking negotiate     1-1005
----- ------------ ------------- -----------------------------------------------
 
Port  Portvlancost-vlans
----- --------------------------------------------------------------------------
3/1  1,3,5-10
3/2  1,3,5-10
3/3  1,3,5-10
3/4  1,3,5-10
----- --------------------------------------------------------------------------
 
Port  Port     Portfast Port    Port
      priority          vlanpri vlanpri-vlans
----- -------- -------- ------- ------------------------------------------------
3/1        32 disabled      12 2,4,90
3/2        32 disabled      12 2,4,90
3/3        32 disabled      12 2,4,90
3/4        32 disabled      12 2,4,90
----- -------- -------- ------- ------------------------------------------------
 
Port  IP       IPX      Group
----- -------- -------- --------
3/1  on       auto-on  auto-on 
3/2  on       auto-on  auto-on 
3/3  on       auto-on  auto-on 
3/4  on       auto-on  auto-on 
----- -------- -------- --------
 
Port  GMRP     GMRP         GMPR
      status   registration forwardAll
----- -------- ------------ ----------
3/1  enabled  normal       disabled  
3/2  enabled  normal       disabled  
3/3  enabled  normal       disabled  
3/4  enabled  normal       disabled  
----- -------- ------------ ----------
        
Port  GVRP     GVRP
      status   registeration
----- -------- -------------
3/1  disabled normal      
3/2  disabled normal      
3/3  disabled normal      
3/4  disabled normal      
----- -------- -------------
 
Port  Qos-Tx Qos-Rx Qos-Trust    Qos-DefCos
----- ------ ------ ------------ ----------
3/1  1q4t   1q4t   untrusted             0
3/2  1q4t   1q4t   untrusted             0
3/3  1q4t   1q4t   untrusted             0
3/4  1q4t   1q4t   untrusted             0
----- ------ ------ ------------ ----------
Console>    
 

These examples show how to display feature-specific parameter information:

Console> (enable) show port channel 1 info spantree
Port  Port     Portfast Port    Port
      priority          vlanpri vlanpri-vlans
----- -------- -------- ------- ------------------------------------------------
1/1        32 disabled       0 
1/2        32 disabled       0 
Console>    
 
Console> (enable) show port channel 1 info trunk
Port  Trunk-status Trunk-type    Trunk-vlans
----- ------------ ------------- -----------------------------------------------
1/1  not-trunking negotiate     1-1005
1/2  not-trunking negotiate     1-1005
Console>    
 
Console> (enable) show port channel 1 info proto
Port  IP       IPX      Group
----- -------- -------- --------
1/1  on       auto-on  auto-on 
1/2  on       auto-on  auto-on 
Console>    
 
Console> (enable) show port channel 1 info gmrp
Port  GMRP     GMRP         GMPR
      status   registration forwardAll
----- -------- ------------ ----------
1/1  enabled  normal       disabled  
1/2  enabled  normal       disabled  
Console>    
 
Console> (enable) show port channel 1 info gvrp
Port  GVRP     GVRP
      status   registeration
----- -------- -------------
1/1  disabled normal      
1/2  disabled normal      
Console>    
 
Console> (enable) show port channel 1 info qos
Port  Qos-Tx Qos-Rx Qos-Trust    Qos-DefCos
----- ------ ------ ------------ ----------
1/1  1q4t   1q4t   untrusted             0
1/2  1q4t   1q4t   untrusted             0
Console>    
 

Table 2-33 describes the possible fields (depending on the type of port queried) and the values in the show port channel command outputs.


Table 2-33: show port channel Command Output Fields
Field Description

Port

Module and port number.

Status

Channeling status of the port (connected, notconnect).

Channel mode

Status of whether EtherChannel is on, off, auto, or desirable on the port.

Admin Group

Number of the admin group.

PAgP Pkts Transmitted

Number of PAgP packets transmitted.

PAgP Pkts Received

Number of PAgP packets received.

PAgP Pkts InFlush

Number of PAgP flush packets received.

PAgP Pkts RetnFlush

Number of PAgP flush packets returned.

PAgP Pkts OutFlush

Number of PAgP flush packets transmitted.

PAgP Pkts InError

Number of PAgP error packets received.

Channel ID

Number of the channel group.

Neighbor device

Neighboring device with which the port is channeling.

Neighbor port

Port on the neighboring device with which the port is channeling.

Speed

Speed setting for the port (auto, 10, 100, 1000).

Duplex

Duplex setting for the port (auto, full, half).

Vlan

VLAN to which the port belongs.

Port priority

Priority associated with the port.

PortSecurity/Dynamic port

Status of whether the port is secure or dynamic.

ifIndex

Interface number to which the port belongs.

Oper-group

Capability of the group.

Neighbor device-id

Device ID of the neighboring device with which the port is channeling.

Neighbor port-id

Port ID of the neighboring device with which the port is channeling.

Neighbor Oper-group

Capability of the neighboring device.

Oper-Distribution

Frame distribution method operating status on a per-port basis (ip source, ip destination, ip both, mac source, mac destination, mac both, hotstandby-active; hotstandby-idle).

Trunk-status

Status of whether the port is trunking or not.

Trunk-type

Type of trunk port.

Trunk-vlans

VLANs to which the port belongs.

Portvlancost-vlans

Port VLAN cost.

Portfast

Status of the whether the fast-start mode is enabled or disabled.

Port vlanpri

Port VLAN priority.

Port vlanpri-vlans

Port number.

IP

Status of the IP protocol (on, off, auto).

IPX

Status of the IPX protocol (on, off, auto).

Group

Status of the VINES, AppleTalk, and DECnet protocols protocol (on, off, auto).

GMRP status

Status of whether GMRP is enabled or disabled.

GMRP registration

Status of the administrative control of an outbound port (normal, fixed, forbidden).

GMRP forward/all

Status of whether the Forward All feature is enabled or disabled.

GVRP status

Status of whether GVRP is enabled or disabled.

GVRP registration

Status of the administrative control of an outbound port (normal, fixed, forbidden).

Qos-Tx

Transmit drop threshold.

Qos-Rx

Receive drop threshold.

Qos-Trust

Status of whether the port is trusted or untrusted.

Qos-DefCos

CoS value.

Related Commands

set port channel
show channel
show channel group

show port counters

Use the show port counters command to show all the counters for a port.

show port counters [mod_num/port_num]
Syntax Description

mod_num

(Optional) Number of the module for which to show port counter information.

/port_num

(Optional) Number of the port on the module for which to show port counter information.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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

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

Example

This example shows the output of the show port counters command:

Console> show port counters
 
Port  Align-Err  FCS-Err    Xmit-Err   Rcv-Err    UnderSize
----- ---------- ---------- ---------- ---------- ---------
 1/1           0          0          0          0         0
 1/2           0          0          0          0         0
 4/1           0          0          0          0         0
 4/2           0          0          0          0         0
 4/3           0          0          0          0         0
 4/4           0          0          0          0         0
 
Port  Single-Col Multi-Coll Late-Coll  Excess-Col Carri-Sen Runts     Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
 1/1          12          0          0          0         0         0         -
 1/2           0          0          0          0         0         0         0
 4/1           0          0          0          0         0         0         0
 4/2           0          0          0          0         0         0         0
 4/3           0          0          0          0         0         0         0
 4/4           0          0          0          0         0         0         0
 
Last-Time-Cleared
--------------------------
Wed Sep30 1998, 14:58:19
 

Table 2-34 describes the possible fields (depending on the port type queried) in the show port counters command output.


Table 2-34: show port counters Command Output Fields
Field Description

Port

Module and port number.

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

Number of frame check sequence errors that occurred on the port.

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-Coll

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

Multi-Coll

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

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.

Related Command

show port

show port flowcontrol

Use the show port flowcontrol command to display per-port status information and statistics related to flow control.

show port flowcontrol [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module.

/port_num

(Optional) Number of the port on the module. If you do not specify a number, flow-control information on all the ports on the module are shown.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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

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

Example

This example shows how to display the flow-control port status and statistics for module 6:

Console> show port flowcontrol 6
Port   Send FlowControl    Receive FlowControl   RxPause    TxPause
       admin    oper       admin    oper
-----  -------- --------   -------- --------     ---------- ----------
 6/1   desired  off        off      off          0          0
 6/2   desired  off        off      off          0          0
 6/3   desired  off        off      off          0          0
 6/4   desired  off        off      off          0          0
 6/5   desired  off        off      off          0          0
 6/6   desired  off        off      off          0          0
 6/7   desired  off        off      off          0          0
 6/8   desired  off        off      off          0          0 
Console> 
 

Table 2-35 describes the fields in the show port flowcontrol command output.


Table 2-35: show port flowcontrol Command Output Fields
Field Description

Port

Module and port number.

Send-Flowcontrol-
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.

Send-Flowcontrol-
Oper

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

Receive-Flowcntl-
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.

Receive-Flowcntl-
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.

Related Command

set port flowcontrol

show port negotiation

Use the show port negotiation command to display the link negotiation protocol setting for the specified port.

show port negotiation [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module.

/port_num

(Optional) Number of the port on the module.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the link negotiation protocol settings on module 3, port 1:

Console> show port negotiation 3/1
Port     Link Negotiation
------- --------------------
3/1 enabled
Console> 
Related Commands

show port flowcontrol
set port negotiation

show port protocol

Use the show port protocol command to view protocol filters configured on the ports on the EtherChannel ports.

show port protocol [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module.

/port_num

(Optional) Number of the port on the module.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

If you do not specify a /port_num, filters configured on all the ports on the module are shown.

Example

This example shows how to view protocol filters on configured ports:

Console> show port protocol
Port     Vlan       IP       IP Hosts IPX      IPX Hosts Group    Group Hosts
-------- ---------- -------- -------- -------- --------- -------- -----------
1/1     1          on       0        on       0         on       0
1/2     1          on       0        on       0         on       0
2/1     1          on       3        auto-on  0         auto-on  0
2/2     1          on       0        on       0         on       0
2/3     1          on       0        on       0         on       0
2/4     1          on       0        on       0         on       0
2/5     1          on       0        on       0         on       0
2/6     1          on       0        on       0         on       0
2/7     1          on       0        on       0         on       0
2/8     1          on       0        on       0         on       0
2/9     1          on       0        on       0         on       0
2/10    1          on       0        on       0         on       0
2/11    1          on       0        on       0         on       0
2/12    1          on       0        on       0         on       0
Console> 
Related Command

set port protocol

show port qos

Use the show port qos command to display QoS-related information for a specific port.

show port qos mod_num/port_num
Syntax Description

mod_num/port_num

Number of the module and port.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display QoS-related information for module 1, port 2:

Console> show port qos 2/1
QoS is disabled on 2/1
Port 2/1 has 2 transmit queue with 2 drop thresholds.
Port 2/1 has 1 receive queue with 4 drop thresholds.
QoS setting in NVRAM:
The qos trust type is set to trustcos.
Default CoS = 2    (no force)
Run time setting of QoS:
The qos trust type is set to untrusted.
Default CoS = 0    (force)
Console> 
Related Commands

set qos
set qos drop-threshold
set qos mac-cos
set qos map
set qos txq-ratio
set qos wrr

show port status

Use the show port status command to display port status information.

show port status [mod_num[/port_num]]
Syntax Description

mod_num

(Optional) Number of the module.

/port_num

(Optional) Number of the port on the module.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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

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

Example

This example shows how to display port status information for all ports:

Console> show port status
Port  Name               Status     Vlan Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ------------
 1/1                     connected  52 half   100100BaseTX
 1/2                     notconnect  half   100100BaseTX
Console> 
 

Table 2-36 describes the fields in the show port status command output.


Table 2-36: show port status Command Output Fields
Field Description

Port

Module and port number.

Name

Name (if configured) of the port.

Status

Status of the port (connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor).

Vlan

VLANs to which the port belongs.

Duplex

Duplex setting for the port (auto, full, half).

Speed

Speed setting for the port (auto, 10, 100, 1000).

Type1

Port type (100BaseTX)

1These fields will change according to the system configuration.

show proc

Use the show proc command to display CPU, memory allocation, and process utilization information.

show proc [cpu | mem]
Syntax Description

cpu

(Optional) Keyword to specify CPU information.

mem

(Optional) Keyword to specify memory allocation information.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

This command can only be entered in privileged mode. If you do not specify cpu or mem, process information is displayed.

The mem keyword allows you to display memory allocation information, such as how much each process has allocated and how much it has freed.

Examples

This example shows how to display CPU information:

Console> (enable) show proc cpu
(W)CPU utilization for five seconds: 1.0%; one minute: 1. 0%; five minutes: 1. %
 
PID Runtime(ms) Invoked uSecs   5Sec   1Min    5min   TTY Process
0   0           0       0       99.10%  99.0 %  99.0 %  0    idle            
1   1           36      1000     0.0 %   0.0 %   0.0 %  0    Flash MIB Updat 
2   1342        2846    460000   0.0 %   0.0 %   0.0 %  0    SynDiags        
3   730172      4440594 400000   0.0 %   0.0 %   0.0 %  0    SynConfig       
4   33752       424120  1000     0.0 %   0.0 %   0.0 %  0    Statuspoll      
5   7413        44916   1000     0.0 %   0.0 %   0.0 %  0    SWPoll64bCnt    
6   9568        15889836 1000     0.0 %   0.0 %   0.0 %  0    SL_TASK         
7   746         636118  105000   0.0 %   0.0 %   0.0 %  0    RedundantTask   
Console> (enable) 
 

This example shows how to display process information:

Console> (enable) show proc mem
 
Total: 10945712, Used: 1438992, Free: 9506720
PID TTY Allocated Freed  Holding Process
0   0   706240    2832   703408  idle            
1   0   240       0      240     Flash MIB Updat 
2   0   164944    164144 800     SynDiags        
3   0   208224    2992   205232  SynConfig       
4   0   96        0      96      Statuspoll      
5   0   2592      2560   32      SWPoll64bCnt    
6   0   80        0      80      SL_TASK         
7   0   2272      1952   320     RedundantTask   
Console> (enable) 
 

This example shows how to display process utilization information:

Console> (enable) show proc
PID Q  T  PC         Runtime(ms) Invoked uSecs  Stacks    TTY Process
0   1  rd 0x80407b10 0           0       0      1640/6144 0   idle            
1   65376 st 0x80407d8c 1           36      1000   1188/6144 0   Flash MIB Upda 
2   2  st 0x80407d8c 1342        2846    460000 3160/6144 0   SynDiags        
3   1  rd 0x80407d8c 729979      4439406 400000 1672/6144 0   SynConfig       
4   2  si 0x80407d8c 33739       424007  1000   1572/6144 0   Statuspoll      
5   4  si 0x80407d8c 7413        44916   1000   1888/6144 0   SWPoll64bCnt    
6   2  si 0x80407d8c 9565        15885713 1000   1096/6144 0   SL_TASK         
7   2  si 0x80407d8c 746         635948  105000 1192/6144 0   RedundantTask   
Console> (enable) 
 

Table 2-37 describes the possible fields in the show proc command outputs:


Table 2-37: show proc Command Output Fields
Field Description

CPU Utilization

Sum of all the loads from all the processess running on the CPU in the last 5 seconds, 1 minute, and 5 minutes.

PID

Process ID.

Runtime

Time the process has run since getting created (in milliseconds).

Invoked

Number of times the process was invoked since getting created.

uSecs

Maximum time a process ran in a single invocation.

5sec

Percentage of time this process ran on the CPU in the last 5-second interval.

1Min

Percentage of time this process ran on the CPU in the last 1-minute interval.

5Min

Percentage of time this process ran on the CPU in the last 5-minute interval.

TTY

TTY associated with the process.

Process

Name of the process.

Allocated

Sum of all the memory allocated by the process since it was created, and includes the memory previously freed.

Freed

Sum of memory the process has freed until now.

Holding

Amount of memory the process is currently holding.

PC

Calling PC for "show_process" function.

Q

Process priority in terms of numbers. Low number means high priority.

T

State of the process (Running, we=waiting for event, st=sleeping, si=sleeping on an interval, rd=ready to run, id=idle, xx=dead/zombie).

Stacks

Size of the stack used by the process/the total stack size allocated to the process (in bytes).

show protocolfilter

Use the show protocolfilter command to list whether protocol filtering is enabled or disabled.

show protocolfilter
Syntax Description

This command has no keywords or arguments.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display whether protocol filtering is enabled or disabled:

Console> show protocolfilter
Protocol filtering is enabled on this switch.
Console> 
Related Command

set port protocol

show qos info

Use the show qos info command to display QoS-related information for a specified port.

show qos info {runtime | config} {mod_num/port_num}
show qos info config
port_type tx | rx
Syntax Description

runtime

Keyword to show the current QoS runtime information.

config

Keyword to show the NVRAM setting of QoS.

mod_num /port_num

Number of the module and the port.

port_type

Only valid values for port_type is 2q2t for transmit and 1q4t for receive.

tx

Keyword to specify the transmit drop threshold.

rx

Keyword to specify the receive drop threshold.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

You can enter the show qos info runtime mod_num/port_num command to view the currently used values in the hardware or the show qos info runtime mod_num/port_num command to view the values that have been configured administratively (present in NVRAM). The outputs differ when QoS has been disabled. When QoS is disabled, the values set on all the ports are different from the values present in NVRAM. When QoS is enabled, the values in NVRAM are used to program the hardware.

The display of show qos info runtime mod_num/port_num shows both the absolute values and the percentages you specified for the drop thresholds, queue sizes, and WRR. However, the absolute values may not exactly match the percentages specified due to the granularity of permitted settings in hardware.

The number preceding the t in the port-type determines the number of threshold values that the hardware supports. For example, with 2q2t, two thresholds are specified; with 1q4t, four thresholds are specified.

The number preceding the q in the port-type determines the number of the queues that the hardware supports. For example, with 2q2t, two queues are specified; with 1q4t, four queues are specified.

Examples

This example shows how to display QoS-related NVRAM transmit threshold information:

Console> (enable) show qos info config 2q2t tx
QoS setting in NVRAM for 2q2t transmit:
QoS is disabled
Default CoS = 0 
Queue and Threshold Mapping:
Queue Threshold CoS
----- --------- ---------------
1     1         0 1
1     2         2 3
2     1         4 5
2     2         6 7
Tx drop thresholds:
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        40% 100%
2        40% 100%
Queue Sizes:
Queue #  Sizes - percentage (abs values )
-------  -------------------------------------
1        80%
2        20%
WRR Configuration:
Ports have transmit ratios between queue 1 and 2 of
100:256
Console> (enable) 
 

This example shows how to display QoS-related NVRAM receive threshold information:

Console> (enable) show qos info config 1q4t rx
QoS setting in NVRAM for 1q4t receive:
QoS is enabled
Rx drop thresholds:
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        50% 60% 80% 100%
Console> (enable) 
 

This example shows how to display all QoS-related NVRAM threshold information:

Console> (enable) show qos info config 2q2t tx
QoS setting in NVRAM for 2q2t transmit:
QoS is enabled
Queue and Threshold Mapping:
Queue Threshold CoS            
----- --------- ---------------
1     1         0 1 
1     2         2 3 
2     1         4 5 
2     2         6 7 
Tx drop thresholds:
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        40% 100% 
2        40% 100% 
Queue Sizes:
Queue #  Sizes - percentage (abs values )
-------  -------------------------------------
1        80% 
2        20% 
WRR Configuration:
Ports with 2q2t have ratio of 100:255 between transmit queue 1 and 2 
Console> (enable) 

This example shows how to display the current QoS runtime information:

Console> (enable) show qos info runtime 1/1
Run time setting of QoS:
QoS is enabled on 2/1
Port 2/1 has 2 transmit queue with 2 drop thresholds (2q2t).
Port 2/1 has 1 receive queue with 4 drop thresholds (1q4t).
The qos trust type is set to trust-cos.
Default CoS = 0    
Queue and Threshold Mapping:
Queue Threshold CoS            
----- --------- ---------------
1     1         0 1 
1     2         2 3 
2     1         4 5 
2     2         6 7 
Rx drop thresholds:
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        50% (38912 bytes) 60% (46688 bytes) 80% (62240 bytes) 100% (73696
bytes) 
Tx drop thresholds:
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        40% (144224 bytes) 100% (360416 bytes) 
2        40% (32864 bytes) 100% (77792 bytes) 
Queue Sizes:
Queue #  Sizes - percentage (abs values )
-------  -------------------------------------
1        80% (360416 bytes)
2        20% (81888 bytes)
WRR Configuration:
Ports with speed 1000Mbps have ratio of 100:255 between transmit queue 1
and 2 (25600:65280 bytes)
Console> (enable) 
Related Command

set qos

show qos mac-cos

Use the show qos mac-cos command to display the currently configured QoS-related information for the MAC address and VLAN pair.

show qos mac-cos dest_mac [vlan]
show qos mac-cos all

dest_mac

MAC address of the destination host.

vlan

(Optional) Number of the VLAN; valid values are 1 to 1005.

all

Keyword to specify all MAC address and VLAN pairs.

Syntax Description
Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

You can enter the show qos mac-cos command to display the currently configured QoS-related information. You can enter the show qos info config to view the NVRAM setting of QoS. This command might be useful to check if the NVRAM setting is different from the hardware setting. For example, if you configure some settings for QoS while QoS is disabled, the setting is saved in NVRAM but the hardware is operating at a different set of parameters.

Examples

This example shows how to display currently configured QoS-related information for all MAC address and VLAN pairs:

Console> (enable) show qos mac-cos all
VLAN  Dest MAC            CoS
----  ------------------  ---
1      01-02-03-04-05-06  2
9 04-05-06-07-08-09 3
Console> (enable) 
 

This example shows how to display currently configured QoS-related information for a specific MAC address:

Console> (enable) show qos mac-cos 01-02-03-04-05-06
VLAN  Dest MAC            CoS
----  ------------------  ---
1      01-02-03-04-05-06  2
Console> (enable) 
Related Commands

set qos mac-cos
clear qos mac-cos

show qos statistics

Use the show qos statistics command to display the various QoS-related counters for a specified port.

show qos statistics {mod_num[/port_num]}
Syntax Description

mod_num

Number of the module.

/port_num

(Optional) Number of the port.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

In the show qos statistics output, the Threshold #:Packets dropped field lists each threshold and the number of packets dropped. For example, 1:0 pkt, 2:0 pkts means that threshold 1 and threshold 2 had 0 packets dropped.

Example

This example shows how to display the QoS statistics for module 2, port 1:

Console> (enable) show qos statistics 2/1
On Transmit: Port 2/1 has 2 Queue(s) 2 Threshold(s)
Q #  Threshold #:Packets dropped
---  -----------------------------------------------
1    1:0 pkts , 2:0 pkts 
2    1:0 pkts , 2:0 pkts 
On Receive: Port 2/1 has 1 Queue(s) 4 Threshold(s)
Rx drop threshold counters are disabled for untrusted ports.
Q #  Threshold #:Packets dropped
---  -----------------------------------------------
1    1:0 pkts, 2:0 pkts, 3:0 pkts, 4:0 pkts
Console> (enable) 
Related Commands

set qos
set qos drop-threshold
set qos mac-cos
set qos txq-ratio
set qos wrr

show rsmautostate

Use the show rsmautostate command to display the current status of the line protocol state determination of the MSM(s) due to Catalyst 6000 or 65000 series switch port state changes.

show rsmautostate mod_num
Syntax Description

mod_num

Number of the module.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the current status of MSM line protocol state determination:

Console> show rsmautostate
MSM Auto port state: enabled
Console>

show snmp

Use the show snmp command to display SNMP information.

show snmp [noalias]
Syntax Description

noalias

(Optional) Keyword that forces the display to show IP addresses, not IP aliases.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display SNMP information:

Console> show snmp
RMON: Enabled
Extended Rmon: Extended RMON module is not present 
Traps Enabled: Chassis
Port Traps Enabled: None
 
Community-Access     Community-String
----------------     --------------------
read-only            public
read-write           private
read-write-all       secret
 
Trap-Rec-Address                           Trap-Rec-Community
----------------------------------------   --------------------
192.122.173.42                             public
Console> 
 

Table 2-38 describes the possible fields (depending on the port type queried) in the show snmp command output.


Table 2-38: show snmp Command Output Fields
Field Description

RMON

Status of whether RMON is enabled or disabled.

Extended RMON

Status of whether extended RMON is enabled or disabled.

Traps Enabled

Trap types that are enabled.

Port Traps Enabled

Set of ports whose linkup/linkdown trap is enabled.

Community-Access

Configured SNMP communities.

Community-String

SNMP community strings associated with each SNMP community.

Trap-Rec-Address

IP address or IP alias of trap receiver hosts.

Trap-Rec-Community

SNMP community string used for trap messages to the trap receiver.

Related Commands

set snmp rmon
set snmp trap


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon May 17 11:33:14 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.