cc/td/doc/product/lan/cat6000/sw5_1
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 protocolfilter
show qos info
show qos mac-cos
show qos statistics
show rif
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-27 describes the possible fields (depending on the port type queried) in the show port command output.


Table 2-27: 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-28 describes the possible fields (depending on the port type queried) in the show port broadcast command output.


Table 2-28: 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
UDLD                     Capable
Console> (enable)
 

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


Table 2-29: 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-30 describes the fields in the show port cdp command output.


Table 2-30: 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]] [info | statistics]
Syntax Description

mod

(Optional) Number of the module.

/port

(Optional) Number of the port on the module.

info

(Optional) Keyword to display port information such as speed, cost, duplex status, priority, secure or dynamic status, trunk status, and associated VLANs.

statistics

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

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

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

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> 
 

These examples show the show port channel command with the statistics parameter:

Console> show port channel 4/7 statistics
Port  Admin   PAgP Pkts   PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts
      Group   Transmitted Received  InFlush   RetnFlush OutFlush  InError      
----- ------- ----------- --------- --------- --------- --------- ---------
 4/7      152           0         0         0         0         0         0
Console> 
 
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 show port channel with the info parameter:

Console> show port channel 4/7 info
Port  Speed Duplex Vlan Trunk status Port  Port     PortSecurity/ VLANs
                                     Cost  Priority Dynamic port
----- ----- ------ ---- ------------ ----- -------- ------------- --------------
 4/7  1000  full   1    not-trunking     4       32               1-1005
 
Port  Admin Channel_id ifIndex Oper-group Neighbor          Neighbor Neighbor
      Group                               device-id         port-id  Oper-group
----- ----- ---------- ------- ---------- ----------------- -------- ----------
 4/7  152   770        31      1          
Console>      
 

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


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

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.

Secure port/Dynamic port

Status of whether the port is secure or dynamic.

Trunk status

Status of whether the port is trunking or not.

VLANs

VLANs to which the port belongs.

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.

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.

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 Sep 30 1998, 14:58:19
 

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


Table 2-32: 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-33 describes the fields in the show port flowcontrol command output.


Table 2-33: 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   100    100BaseTX
 1/2                     notconnect            half   100    100BaseTX
Console> 
 

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


Table 2-34: 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 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 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

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

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 with speed 100Mbps have transmit ratios between queue 1 and 2 of
100:256
 

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 disabled
Rx drop thresholds:
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        20% 40% 75% 100%
 

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        85% 90%
2        85% 95%
Queue Sizes:
Queue #  Sizes - percentage (abs values )
-------  -------------------------------------
1        99%
2        1%
WRR Configuration:
Ports with 2q2t have ratio of 1:2 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 1/1
Port 1/1 has 2 transmit queue with 2 drop thresholds (2q2t).
Port 1/1 has 1 receive queue with 4 drop thresholds (1q4t).
The qos trust type is set to untrusted.
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:
Rx drop thresholds are disabled for untrusted ports.
Tx drop thresholds:
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        85% (752096 bytes) 90% (796256 bytes)
2        85% (12256 bytes) 95% (12256 bytes)
Queue Sizes:
Queue #  Sizes - percentage (abs values )
-------  -------------------------------------
1        99% (884704 bytes)
2        1% (16352 bytes)
WRR Configuration:
Ports with speed 1000Mbps have ratio of 1:2 between transmit queue 1 and 2 (2184
5:43690 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.

Example

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 /port_num

Number of the module and the port (the port number is optional), but the module number is required.

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 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 drop-threshold
set qos mac-cos
set qos txq-ratio
set qos wrr

show rif

Use the show rif command to display RIF information.

show rif [vlan_num]
Syntax Description

vlan_num

(Optional) Number of the VLAN that you want to view RIF information on.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

These examples show how to display RIF information for the system and for a VLAN:

Console> show rif
MAC                  VLAN     RIF
-------------------- -------- --------------------
00:00:30:e2:cf:00 on 401  via 0610.001a.0020
00:05:77:01:bc:4a on 1020 via 0690.00d1.00e2
00:05:77:01:bc:4b on 1020 via 0690.00d1.00e2
00:05:77:01:bc:48 on 1020 via 0690.00d1.00e2
 
Console> show rif 401
MAC                  VLAN     RIF
-------------------- -------- --------------------
00:00:30:e2:cf:00 on 401  via 0610.001a.0020
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.

Example

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-35 describes the possible fields (depending on the port type queried) in the show snmp command output.


Table 2-35: 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: Thu Feb 4 18:38:29 PST 1999
Copyright 1989-1999©Cisco Systems Inc.