cc/td/doc/product/lan/cat5000/rel_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 filter
show port flowcontrol
show port ifindex
show port negotiation
show port protocol
show port qos
show port security
show port security statistics
show port status
show proc
show protocolfilter
show qos info
show qos ip
show qos mac-cos
show qos router-mac
show qos statistics
show radius

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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

In the status field for the Catalyst 5000 family, 4000 family, 2926G series, and 2948G switch ports, the following applies:

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

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

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

Examples

This example shows how to display the status and counters for port 1 on module 3 (Catalyst 5000 family and 2926G series switches):

Console> (enable) show port 3/1
Port  Name               Status     Vlan       Level  Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
 3/1                     connected  1          normal   half   100 100BaseFX MM
 
Port  Security Secure-Src-Addr   Last-Src-Addr     Shutdown Trap     IfIndex
----- -------- ----------------- ----------------- -------- -------- -------
 3/1  disabled                                     No       disabled 58     
 
Port     Broadcast-Limit Broadcast-Drop
-------- --------------- --------------
 3/1                   -              0
 
Port   Send FlowControl    Receive FlowControl   RxPause TxPause Unsupported
       admin    oper       admin    oper                         opcodes
-----  -------- --------   -------- --------     ------- ------- -----------
 3/1   off      off        on       on           0       0       0
 
Port  Status     Channel   Channel     Neighbor                  Neighbor
                 mode      status      device                    port
----- ---------- --------- ----------- ------------------------- ---------- 
 3/1  connected  off       not channel
 
Port  Align-Err  FCS-Err    Xmit-Err   Rcv-Err    UnderSize
----- ---------- ---------- ---------- ---------- ---------
 3/1        3384         16          0          0         0
        
Port  Single-Col Multi-Coll Late-Coll  Excess-Col Carri-Sen Runts     Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
 3/1           0          0          0          0         0       521         0
        
Last-Time-Cleared
--------------------------
Fri Apr 16 1999, 10:00:46
Console> 
 

This example shows how to display the status and counters for port 2 on a Catalyst 4000 family or 2948G switch:

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/6                     notconnect 1          normal   full  1000 No GBIC
 
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>
 
 

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


Table 2-43: 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 5000 family and 2926G series switches, possible displays are connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor; for the Catalyst 4000 family and 2948G switches, possible displays are connected, notconnected, faulty, remfault, disable, remdisable, configerr, remcfgerr, 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 (auto, 10, 100, 155, a-10, a-100, 4, 16, a-14,or a-16).

Type1

Port type, for example, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, or RSM.

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

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-82 bit times) is detected.

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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

On the 1000BaseX switching module, when you specify a port for broadcast suppression, the traffic is suppressed only in the network-to-Catalyst 5000 family and 2926G series switches 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 --
 1/2                   -              -
Console> 
 
 

Table 2-44 describes the possible fields in the show port broadcast command output.


Table 2-44: 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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

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.

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

Example

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

Console> (enable) show port capabilities 1/1
Model                    WS-X5530
Port                     1/1
Type                     10/100BaseTX
Speed                    auto,10,100
Duplex                   half,full
Trunk encap type         ISL
Trunk mode               on,off,desirable,auto,nonegotiate
Channel                  1/1-2
Broadcast suppression    percentage(0-100)
Flow control             no
Security                 yes
Membership               static,dynamic
Fast start               yes
QOS                      n/a
Rewrite                  no
UDLD                     Not capable
Console> (enable) 
 

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


Table 2-45:
Field Description

Model

Module model number.

Port

Module number and port number.

Type1

Port type, for example, 100BaseFX MM, 100BaseFX SM, or 10/100BaseTX.

Speed1

Port speed setting (for example, auto, 100, or 1000).

Duplex

Duplex mode (half, full, auto, fdx, hdx, or no).

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

Number of packets-per-second (pps) of broadcast/multicast traffic allowed on the port (0-150000) or the percentage of total available bandwidth that can be used by broadcast/multicast 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).

Fast Start

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

Rewrite

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

UDLD

Status of whether the port supports UDLD (Capable, Not capable).

1These fields will change depending on the system configuration.
show port capabilities Command Output Fields
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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

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.

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

Example

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

Console> show port cdp
CDP               :enabled
Message Interval  :60
Hold Time         :180
 
Port      CDP Status 
--------  ---------- 
 2/1      enabled     
 2/2      enabled     
 5/1      enabled     
 5/2      enabled     
 5/3      enabled     
 5/4      enabled     
 5/5      enabled     
 5/6      enabled     
 5/7      enabled     
 5/8      enabled     
Console> 
 

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


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

Port

Module and port number.

CDP Status

CDP status of the port (enabled, disabled).

Message-Interval

Interval between CDP message exchange with neighbor.

Related Commands

set cdp
set cdp interval

show port channel

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

show port channel [mod_num[/port_num]] [statistics | info [spantree | trunk | protocol | gmrp     | gvrp | qos]]

Syntax Description

mod_num

(Optional) Number of the module.

port_num

(Optional) Number of the port.

statistics

(Optional) Keyword to display EtherChannel PAgP statistics.

info

(Optional) Keyword to display EtherChannel configuration information.

spantree

(Optional) Keyword to display only spanning-tree-related configuration information.

trunk

(Optional) Keyword to display only VLAN-trunk-related configuration information.

protocol

(Optional) Keyword to display only protocol-filtering-related configuration information.

gmrp

(Optional) Keyword to display only GMRP-related configuration information.

gvrp

(Optional) Keyword to display only  GVRP-related configuration information.

qos

(Optional) Keyword to display only QoS-related configuration information.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

If the module and port are not specified, EtherChannel information is shown for all channeling ports on all modules.

Examples

This example shows how to display Fast EtherChannel information for port 1/4:

Console> show port channel 1/4
Port  Status     Channel              Admin Ch
                 Mode                 Group Id
----- ---------- -------------------- ----- -----
 1/1  connected  auto silent             22   769
 1/2  connected  auto silent             22   769
 1/3  connected  auto silent             22   769
 1/4  connected  auto silent             22   769
----- ---------- -------------------- ----- -----
 
Port  Device-ID                       Port-ID                   Platform
----- ------------------------------- ------------------------- ----------------
 1/1  069003103(5500)                 3/13                      WS-C5500
 1/2  069003103(5500)                 3/14                      WS-C5500
 1/3  069003103(5500)                 3/15                      WS-C5500
 1/4  069003103(5500)                 3/16                      WS-C5500
----- ------------------------------- ------------------------- ----------------
Console> 
 

This example shows how to display PAgP packet statistics:

Console> show port channel statistics
Port  Admin   PAgP Pkts   PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts
      Group   Transmitted Received  InFlush   RetnFlush OutFlush  InError
----- ------- ----------- --------- --------- --------- --------- ---------
 1/1       22        5063      5073         0         0         0         0
 1/2       22        5062      5075         0         0         0         0
 1/3       22        5068      5077         0         0         0         0
 1/4       22        5076      5066         0         0         0         0
----- ------- ----------- --------- --------- --------- --------- ---------
Console> 
 

This example shows how to display EtherChannel configuration information:

Console> show port channel info
Switch Frame Distribution Method: mac both
 
Port  Status     Channel              Admin Channel Speed Duplex Vlan
                 mode                 group id
----- ---------- -------------------- ----- ------- ----- ------ ----
 1/1  connected  auto silent             22     769 a-100 a-full    1
 1/2  connected  auto silent             22     769 a-100 a-full    1
 1/3  connected  auto silent             22     769 a-100 a-full    1
 1/4  connected  auto silent             22     769 a-100 a-full    1
----- ---------- -------------------- ----- ------- ----- ------ ----
 
Port  ifIndex Oper-group Neighbor   Oper-Distribution PortSecurity/
                         Oper-group Method            Dynamic port
----- ------- ---------- ---------- ----------------- -------------
 1/1  626              1            mac both                       
 1/2  626              1            mac both                       
 1/3  626              1            mac both                       
 1/4  626              1            mac both                       
----- ------- ---------- ---------- ----------------- -------------
 
Port  Device-ID                       Port-ID                   Platform
----- ------------------------------- ------------------------- ----------------
 1/1  069003103(5500)                 3/13                      WS-C5500
 1/2  069003103(5500)                 3/14                      WS-C5500
 1/3  069003103(5500)                 3/15                      WS-C5500
 1/4  069003103(5500)                 3/16                      WS-C5500
----- ------------------------------- ------------------------- ----------------
 
Port  Trunk-status Trunk-type    Trunk-vlans
----- ------------ ------------- -----------------------------------------------
 1/1  trunking     n-isl         1-1005
 1/2  trunking     n-isl         1-1005
 1/3  trunking     n-isl         1-1005
 1/4  trunking     n-isl         1-1005
----- ------------ ------------- -----------------------------------------------
 
Port  Portvlancost-vlans
----- --------------------------------------------------------------------------
 1/1  
 1/2  
 1/3  
 1/4  
----- --------------------------------------------------------------------------
 
Port  Port     Portfast Port    Port
      priority          vlanpri vlanpri-vlans
----- -------- -------- ------- ------------------------------------------------
 1/1        32 disabled       0 
 1/2        32 disabled       0 
 1/3        32 disabled       0 
 1/4        32 disabled       0 
----- -------- -------- ------- ------------------------------------------------
 
Port  IP       IPX      Group
----- -------- -------- --------
 1/1  on       auto-on  auto-on 
 1/2  on       auto-on  auto-on 
 1/3  on       auto-on  auto-on 
 1/4  on       auto-on  auto-on 
----- -------- -------- --------
 
Port  GMRP     GMRP         GMRP
      status   registration forwardAll
----- -------- ------------ ----------
 1/1  enabled  normal       disabled  
 1/2  enabled  normal       disabled  
 1/3  enabled  normal       disabled  
 1/4  enabled  normal       disabled  
----- -------- ------------ ----------
        
Port  GVRP     GVRP          GVRP
      status   registeration applicant
----- -------- ------------- ---------
 1/1  disabled normal        normal   
 1/2  disabled normal        normal   
 1/3  disabled normal        normal   
 1/4  disabled normal        normal   
----- -------- ------------- ---------
 
Port  Qos-Tx   Qos-Rx   Qos-Trust    Qos-DefCos
      PortType PortType Type
----- -------- -------- ------------ ----------
 1/1  -        -        untrusted             0
 1/2  -        -        untrusted             0
 1/3  -        -        untrusted             0
 1/4  -        -        untrusted             0
----- -------- -------- ------------ ----------
 
Console>
 
 

Table 2-47 describes the fields in the show port channel output.


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

Port

Module and port number

Status

Port connection status

Channel mode

EtherChannel mode

Admin Group

EtherChannel administrative group

Ch Id

EtherChannel ID

Device-ID

Serial number and hostname of neighboring device

Port-ID

Connected port number on neighboring device

Platform

Neighboring device platform

Table 2-48 describes the fields in the show port channel statistics output.


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

Port

Port number.

Admin Group

EtherChannel administrative group.

PAgP Pkts Transmitted

Number of PAgP packets transmitted on the port.

PAgP Pkts Received

Number of PAgP packets received on the port.

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.

Table 2-49 describes the fields in the show port channel info output.

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

Switch Frame Distribution Method

Frame distribution method for all EtherChannels on the switch

Port

Port number

Status

Port connection status

Channel mode

EtherChannel mode

Admin group

EtherChannel administrative group

Channel id

EtherChannel ID

Speed

Port speed

Duplex

Port duplex

Vlan

Port VLAN membership

if-index

Interface index number

Oper-group

Capability of the group.

Neighbor Oper-group

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

Chan cost

EtherChannel spanning-tree port cost

Oper-Distribution Method

EtherChannel frame distribution method

PortSecurity/Dynamic Port

Status of whether the port is secure or dynamic.

Device-ID

Serial number and hostname of neighboring device

Port-ID

Connected port number on neighboring device

Platform

Neighboring device platform

Trunk-status

VLAN trunking mode

Trunk-type

VLAN trunk encapsulation type

Trunk-vlans

Allowed VLAN list for the trunk

Portvlancost-vlans

Spanning-tree port-VLAN cost and associated VLAN IDs

Port priority

Spanning-tree port priority

Portfast

Spanning-tree PortFast enable state

Port vlanpri-vlans

Spanning-tree port-VLAN priority and associated VLAN IDs

IP

IP protocol filtering mode

IPX

IPX protocol filtering mode

Group

Group protocol filtering mode

GMRP status

GMRP enable state

GMRP registration

GMRP registration mode

GMRP forwardAll

GMRP forward-all enable status

GVRP status

GVRP enable state

GVRP registration

GVRP registration mode

GVRP applicant

GVRP applicant mode

Qos-Tx

Transmit queue and threshold port type

Qos-Rx

Receive queue and threshold port type

Qos-Trust

QoS port trust

QoS-DefCos

QoS default CoS

Related Command

set channel cost
set channel vlancost
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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

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.

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

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
 
                                    Ler
Port  CE-State Conn-State Type Neig Con Est Alm Cut Lem-Ct     Lem-Rej-Ct Tl-Min
----- -------- ---------- ---- ---- --------------- ---------- ---------- ------
 3/1  isolated connecting A    U    no    9   9   7          0          0 102
 3/2  isolated connecting B    U    no    9   8   7          0          0 40
 
Last-Time-Cleared
--------------------------
Mon Apr 12 1999, 14:58:19
 

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


Table 2-50: 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.

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.

Tl-Min

TL-min value (the minimum time to transmit a FDDI PHY line state) before advancing to the next PCM state.

Last-Time-Cleared

Last time the port counters were cleared.

Related Command

show port

show port filter

Use the show port filter command to view MAC addresses and protocol filters that have been configured on the Token Ring module ports.

show port filter [mod_num] [canonical]
show port filter mod_num/port_num [canonical]
show port filter mac_addr [canonical]

Syntax Description

mod_num

(Optional) Number of the module.

canonical

(Optional) Keyword to specify the MAC address display in canonical format.

/port_num

Number of the port on the module.

mac_addr

MAC address contained in the packets to be filtered. You need to enter this address in canonical format (00-11-33-44-55) or in noncanonical format (00:11:22:33:44:55).

Default

By default, MAC addresses are shown in noncanonical format.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the filters configured for a port on the Token Ring module:

Console> show port filter 3/1
Port  Mac-Addr          Type
----- ----------------- ------
 3/1  00:00:00:00:00:00 deny
      00:00:00:00:00:00 deny
      00:00:00:00:00:00 deny
      00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
      00:00:00:00:00:00 deny
 
Port  Protocol          Type
----- ----------------- ------
 3/1  0x8038            deny
      0xf0f0            deny

Table 2-51 describes the fields in the show port filter command output.


Table 2-51: show port filter Command Output Fields
Field Description

Port

Module and port number.

MAC-Addr

MAC address contained in packets to be filtered.

Type

Type of MAC address filter configured. Possible types are deny (block any packet containing a specific MAC address) or permit (allow any packet containing a specific MAC address).

Protocol

Types of protocols that you want to filter.

Type

Type of protocol filter configured. Possible types are deny (block any packet containing a specific protocol type) or permit (allow any packet containing a specific protocol type).

Related Commands

clear port filter
set port filter

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, filters configured on all the ports on the module are shown.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

Example

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

Console> show port flowcontrol
PortSend-FlowcontrolReceive-FlowcntlRxPauseTxPause
AdminOperAdminOper
----- ---------------------------------------------
3/1ondisagreeondisagree00
3/2	offoffoffoff00
3/3desiredondesired off1010
Console> 

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


Table 2-52: 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 ifindex

Use the show port ifindex command to view ifIndex information on a per-port or per-module basis.

show port ifindex [mod_num]
show port ifindex mod_num/port_num

Syntax Description

mod_num

(Optional) Number of the module.

port_num

Number of the port.

Default

This command has no default settings.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

Example

This example shows how to display ifIndex information for all the ports:

Console> show port ifindex
Port   ifIndex
-----  -------
 1/1   3
 1/2   4
 3/1   383
 3/2   384
 4/1   385
 4/2   386
 4/3   387
 4/4   388
 4/5   389
 4/6   390
 4/7   391
 4/8   392
 4/9   393
 4/10  394
 4/11  395
 4/12  396
 4/13  397
Console> 

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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

This command is supported on Gigabit Ethernet and some Fast Ethernet ports. If the port does not support the command, the following message appears (where N/N is the module and port number):

Feature not supported on Port N/N.
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.

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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

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
Console> 
Related Command

set port protocol

show port qos

Use the show port qos command to display QoS-related information for a specific port or all ports on a specific module.

show port qos 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.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

Examples

This example shows how to display QoS-related information on module 4, port 1:

Console> show port qos 4/1
QoS feature  :Enabled
Tx port type :1q4t
      NVRAM  Runtime
Port  CoS    CoS
----- ---    ---
 4/1   7      7
Console> 
 

This example shows how to display QoS-related information for all ports on module 4:

Console> (enable) show port qos 4
QoS feature  :Enabled
Tx port type :1q4t
      NVRAM  Runtime
Port  CoS    CoS
----- ---    ---
 4/ 1   7      7
 4/ 2   7      7
 4/ 3   7      7
 4/ 4   7      7
 4/ 5   1      1
 4/ 6   0      0
 4/ 7   0      0
 4/ 8   0      0
 4/ 9   0      0
 4/10   0      0
 4/11   0      0
 4/12   0      0
 4/13   0      0
 4/14   0      0
 4/15   0      0
 4/16   0      0
 4/17   0      0
 4/18   0      0
 4/19   0      0
 4/20   0      0
 4/21   0      0
 4/22   0      0
 4/23   0      0
 4/24   0      0
Related Commands

set qos
set qos ip-filter
set qos mac-cos
set qos map
set qos router-mac
set qos wred-threshold

show port security

Use the show port security command to view port security configuration information and statistics.

show port security mod/ports... [statistics]

Syntax Description

mod

Number of the module.

ports...

Number of the ports.

statistics

Keyword to display security statistics.

Defaults

By default configuration information is displayed.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

If you issue this command against a Token Ring port, the following message is generated:

Feature not supported for Module x.
 

This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter 1/N for the module/port number, an error message is displayed.

Examples

This example shows how to display port security configuration information on a secured port and the output:

Console> (enable) show port security 4/1
Port  Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap     IfIndex
----- -------- --------- ------------- -------- ------------- -------- -------
 4/1  enabled  shutdown  120           1440     25            disabled 3
 
 
Port Secure-Src-Addrs  Age-Left Last-Src-Addr     Shutdown Shutdown-Time-Left
---- ----------------- -------- ----------------- -------- ------------------
 4/1 00-11-22-33-44-55 4        00-11-22-33-44-55 No       -
     00-10-14-da-77-f1 100                                  
 
 

This example shows the output on a port that has experienced a security violation:

Console> (enable) show port security 4/1
Port  Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap     IfIndex
----- -------- --------- ------------- -------- ------------- -------- -------
 4/1  enabled  shutdown  120           600      25            disabled 3
 
Port Secure-Src-Addrs  Age-Left Last-Src-Addr     Shutdown Shutdown-Time-Left
---- ----------------- -------- ----------------- -------- ------------------
 4/1 00-11-22-33-44-55 60       00-11-22-33-44-77 Yes      -
     00-10-14-da-77-f1 200
     00-11-22-33-44-66 200
 

The example below shows that port 4/2 has been shut down and that the timeout left is 60 minutes before the port will be reenabled:

Console> (enable) show port security 4/1
Port  Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap     IfIndex
----- -------- --------- ------------- -------- ------------- -------- -------
 4/1  enabled  restrict  120           600      25            disabled 3
 
Port Secure-Src-Addrs  Age-Left Last-Src-Addr     Shutdown Shutdown-Time-Left
---- ----------------- -------- ----------------- -------- ------------------
 4/1 00-11-22-33-44-55 60       00-11-22-33-44-77 Yes      -
     00-10-14-da-77-ff
Related Commands

set port security
clear port security

show port security statistics

Use the show port security command to view port security configuration statistics.

show port security statistics mod | mod/port [system]

Syntax Description

mod

Number of the module.

mod/port

Number of the module and port.

system

Keyword to display systemwide configuration statistics.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

If you issue this command against a Token Ring port, the following message is generated:

Feature not supported for Module x.
 

This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).

The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter 1/N for the module/port number, an error message is displayed.

Examples

This example shows how to display port security configuration information on a secured port and the output:

Console> (enable) show port security statistics system
Module 1:
  Total ports: 4
  Total MAC address(es): 4
  Total global address space used (out of 1024): 0
  Status: installed
Module 3:
  Total ports: 24
  Total MAC address(es): 24
  Total global address space used (out of 1024): 0
  Status: installed
Module 8:
  Module does not support port security feature
Module 10:
  Module does not support port security feature
Console> (enable) 
Related Commands

set port security
clear port security

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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The Catalyst 2948G is a fixed configuration switch. All ports are located on "module 2;" for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.

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       Level  Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
 1/1                     connected  523        normal   half   100 100BaseTX
 1/2                     notconnect 1          normal   half   100 100BaseTX
 2/1                     connected  trunk      normal   half   400 Route Switch
 3/1                     notconnect trunk      normal   full   155 OC3 MMF ATM
 5/1                     notconnect 1          normal   half   100 FDDI
 5/2                     notconnect 1          normal   half   100 FDDI
Console> 
 

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


Table 2-53: 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.

Level

Level setting for the port (normal or high).

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 (auto, 10, 100,155, a-10, a-100, 4, 16, a-14,or a-16).

Type1

Port type, for example, 10BaseT, 10BaseFL MM, 100BaseTX, 100BaseT4, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, TokenRing, FDDI, CDDI, or RSM.

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] {mod_num}

Syntax Description

cpu

(Optional) Keyword to specify CPU information.

mem

(Optional) Keyword to specify malloced memory information.

mod_num

(Optional) Number of the module.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

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 malloced memory information, such as how much each process has allocated and how much memory it has freed can be obtained.

Examples

This example shows how to display CPU information:

Console> (enable) show proc cpu
 
CPU utilization for five seconds:   1.44%
                      one minute:   1.96%
                    five minutes:   1.02%
 
PID Runtime(ms) Invoked    uSecs    5Sec    1Min    5Min    TTY Process
--- ----------- ---------- -------- ------- ------- ------- --- ---------------
1   0           0          0         98.56%  98.04%  98.98% 0   Kernel and Idle
2   4           38         1000       0.00%   0.00%   0.00% 0   Flash MIB Updat
3   1421        5547       466000     0.00%   0.00%   0.00% 0   SynDiags       
4   166212      519822     19000      0.22%   0.00%   0.00% 0   SynConfig      
5   185         94681      1000       0.00%   0.00%   0.00% 0   Statuspoll     
6   472         297        0          0.00%   0.00%   0.00% 0   SWPoll64bCnt   
7   90          3548211    1000       0.00%   0.00%   0.00% 0   SL_TASK        
8   113         141960     106000     0.00%   0.00%   0.00% 0   RedundantTask 
Console> (enable) 
 

This example shows how to display process information:

Console> (enable) show proc mem
 
Memory Used:   1281040
      Freed:   9597104
      Total:  10878144
 
PID        TTY        Allocated  Freed      Holding    Process
---------- ---------- ---------- ---------- ---------- ---------------
1          0          711008     2832       708176     Kernel and Idle
2          0          240        0          240        Flash MIB Updat
3          0          284128     283712     416        SynDiags       
4          0          211856     1920       209936     SynConfig      
5          0          96         0          96         Statuspoll     
6          0          4944       4352       592        SWPoll64bCnt   
7          0          80         0          80         SL_TASK        
8          0          2272       1952       320        RedundantTask
Console> (enable) 
 

This example shows how to display process utilization information:

Console> (enable) show proc
 
CPU utilization for five seconds:   0.44%
                      one minute:   1.00%
                    five minutes:   1.00%
 
PID Q  T  PC         Runtime(ms) Invoked  uSecs   Stacks    TTY Process
--- -- -- ---------- ----------- -------- ------- --------- --- ---------------
1   1  rd 0x8041ab80 0           0        0       1580/6144 0   Kernel and Idle
2   1  st 0x8041adfc 4           38       1000    1604/6144 0   Flash MIB Updat
3   2  st 0x8041adfc 1421        5547     466000  3364/6144 0   SynDiags       
4   1  si 0x8041adfc 166438      520543   19000   1764/6144 0   SynConfig      
5   2  si 0x8041adfc 186         94812    1000    1576/6144 0   Statuspoll     
6   4  si 0x8041adfc 472         297      0        244/6144 0   SWPoll64bCnt   
7   2  si 0x8041adfc 92          3553068  1000     904/6144 0   SL_TASK        
8   2  si 0x8041adfc 113         142157   106000  1172/6144 0   RedundantTask
Console> (enable) 
 

Table 2-54 describes the possible fields in the show proc command outputs.


Table 2-54: show proc Command Output Fields
Field Definition

CPU Utilization

Sum of all the loads from all the processes 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 malloced 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 or 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.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).

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}
show qos info {runtime | config} mod_num/port_num
show qos info config port_type tx

Syntax Description

runtime

Keyword to show the current QoS run time information.

config

Keyword to show the NVRAM setting of QoS.

mod_num /port_num

Number of the module and the port.

port_type

QoS port type. Valid port type is 1q4t.

tx

Keyword to specify the transmit drop threshold.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

On the Catalyst 5000 family switches, this command is supported only with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

The mod_num /port_num argument, the port_type argument, and the tx keyword are not supported on the Catalyst 4000 family and 2948G switches.

The display of show qos info runtime 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.

On the Catalyst 5000 family switches, the transmit drop threshold percentages specified select a buffer usage level where each threshold applies. The percentages to buffer usage level are as follows:

The number preceding the t in the port-type determines the number of threshold values that the hardware supports. For example, 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 1q4t, one queue is specified.

Examples

This example shows how to display QoS-related NVRAM transmit threshold information (Catalyst 5000 family switches):

Console> (enable) show qos info config 1q4t tx
QoS setting in NVRAM for 1q4t transmit:
QoS is enabled
Queue and Threshold Mapping:
Queue Threshold CoS            
----- --------- ---------------
1     1         0 1 
1     2         2 3 
1     3         4 5 
1     4         6 7 
Tx WRED thresholds:
Queue #  Thresholds in percentage ( in abs values )
-------  ------------------------------------------
1        14% 28% 57% 100% 
Console> 
 

This example shows how to display the current QoS runtime information for a port (Catalyst5000 family switches):

Console> show qos info runtime 8/1
Run time setting of QoS:
QoS is enabled
Port 8/1 has 1 transmit queue with 4 drop thresholds (1q4t).
Default CoS = 0    
Queue and Threshold Mapping:
Queue Threshold CoS            
----- --------- ---------------
1     1         0 1 
1     2         2 3 
1     3         4 5 
1     4         6 7 
Tx WRED thresholds:
Queue #  Thresholds in percentage ( in abs values )
-------  ------------------------------------------
1        14% (16380 bytes) 28% (32764 bytes) 57% (65532 bytes) 100% (131068 bytes) 
Console> 

This example shows how to display the current QoS configuration information for the switch (Catalyst4000 family and 2948G switches):

Console> show qos info config
QoS setting in NVRAM:
QoS is enabled
All ports have 2 transmit queues with 1 drop thresholds (2q1t).
Default CoS = 4    
Queue and Threshold Mapping:
Queue Threshold CoS            
----- --------- ---------------
1     1         0 1 2 3 
2     1         4 5 6 7 
Console>
Related Commands

set qos
set qos ip-filter
set qos mac-cos
set qos map
set qos router-mac
set qos wred-threshold

show qos ip

Use the show qos ip command to display the access control list.

show qos ip

Syntax Description

This command has no keywords or arguments.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

Example

This example shows how to display the access control list:

Console> (enable) show qos ip
There are 3 IP filter(s).
ACE# Dest IP/Mask                     Src IP/Mask                    
---- -------------------------------- --------------------------------
   1 20.20.20.1/255.0.0.0             30.30.1.1/255.0.0.0             
     Protocol Dst Port Src Port CoS
     -------- -------- -------- ---
     any     0        0        1  
 
   2 100.100.1.1/255.255.255.0        200.200.1.1/255.255.255.0       
     Protocol Dst Port Src Port CoS
     -------- -------- -------- ---
     udp     0        0        7  
 
   3 120.100.1.1/255.255.255.0        210.210.1.1/255.255.255.0       
     Protocol Dst Port Src Port CoS
     -------- -------- -------- ---
     tcp      23       47       4  
Console> (enable) 
Related Commands

set qos ip-filter
clear qos ip-filter

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.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

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 with 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 router-mac

Use the show qos router-mac command to display QoS router information for the MAC address and VLAN pair.

show qos router-mac [mac_addr | vlan]

mac_addr

(Optional) MAC address of the router.

vlan

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

Syntax Description
Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

The Number column displays a number indicating the order in which the entries were configured. This number has no functional significance to the entry.

Examples

This example shows how to display QoS router information for all MAC address and VLAN pairs:

Console> (enable) show qos router-mac
Number  MAC address        Vlan #
---------------------------------
     1  00-40-0b-30-03-48  2
     2  00-40-0b-30-03-48  3
Console> (enable) 
 

This example shows how to display QoS router information for a specific MAC address:

Console> (enable) show qos router-mac 00-40-0b-30-03-48
Number  MAC address        Vlan #
---------------------------------
     1  00-40-0b-30-03-48  2
     2  00-40-0b-30-03-48  3
Console> (enable) 
Related Commands

set qos router-mac
clear qos router-mac

show qos statistics

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

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.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

In the 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 thresholds 1 and 2 had 0 packets dropped.

Example

This example shows how to display QoS statistics information 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 ip-filter
set qos mac-cos
set qos map
set qos router-mac
set qos wred-threshold

show radius

Use the show radius command to display configured RADIUS parameters.

show radius [noalias]

Syntax Description

noalias

(Optional) Keyword to force the display to show IP addresses, not IP alias.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

This command can be entered in Normal or Privileged mode, but the RADIUS key is displayed only if this command is entered in Privileged mode.

Example

This example shows how to display RADIUS information:

Console> show radius
 
Login Authentication:  Console Session   Telnet Session
---------------------  ----------------  ----------------
tacacs                 disabled          disabled        
radius                 disabled          disabled        
local                  enabled(primary)  enabled(primary)
 
Enable Authentication: Console Session   Telnet Session
---------------------- ----------------- ----------------
tacacs                 disabled          disabled        
radius                 disabled          disabled        
local                  enabled(primary)  enabled(primary)
 
Radius Deadtime:              0 minutes
Radius Key:                   
Radius Retransmit:            2
Radius Timeout:               5 seconds
 
Radius-Server                 Status   Auth-port
Related Commands

set radius deadtime
set radius key
set radius retransmit
set radius server
set radius timeout


hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Oct 5 10:52:49 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.