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

Table of Contents

show port
show port broadcast
show port capabilities
show port cdp
show port channel
show port cops
show port counters
show port flowcontrol
show port jumbo
show port negotiation
show port protocol
show port qos
show port rsvp
show port status
show proc
show protocolfilter
show qos acl editbuffer
show qos acl info
show qos acl map
show qos acl resource-usage
show qos bridged-packet-policing
show qos info
show qos mac-cos
show qos maps
show qos policer
show qos rsvp
show qos statistics
show radius
show rsmautostate
show rspan
show security acl
show security acl map
show security acl resource-usage
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-33 describes the possible fields (depending on the port type queried) in the show port command output.


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


Table 2-34: 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-35 describes the possible fields (depending on the type of port queried) and the values in the show port capabilities command output.


Table 2-35: 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
 
Port      CDP Status
--------  ----------
 1/1      enabled
 1/2      enabled 
Console> 

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


Table 2-36: 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 module or port.

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

Syntax Description

mod

(Optional) Number of the module.

/port

(Optional) Number of the port.

statistics

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

info

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

spantree | trunk | protcol | gmrp | gvrp | qos

(Optional) Keyword to display feature-related parameters.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The protocol conditions are as follows:

The GVRP registration status is defined as follows:

If mod or /port 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 1:

Console> show port channel 1
Port  Status     Channel   Admin Ch
                 Mode      Group Id
----- ---------- --------- ----- -----
 1/1  nonconnect on        195   769  
 1/2  connected  on        195   769  
 
Port  Device-ID                       Port-ID                   Platform
----- ------------------------------- ------------------------- ----------------
 1/1  
 1/2  
Console> 
 

This example shows how to display port statistics:

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

This example shows how to display port information:

Console> show port channel 1 info
Switch Frame Distribution Method:mac both
 
Port  Status     Channel   Admin Channel Speed Duplex Vlan PortSecurity/
                 mode      group id                        Dynamic port
----- ---------- --------- ----- ------- ----- ------ ---- -------------
 1/1  notconnect auto          1       0 1000  full      1 -             
 1/2  connected  auto          1       0 1000  full      1 -             
 
Port  ifIndex Oper-group Neighbor   Oper-Distribution
                         Oper-group Method
----- ------- ---------- ---------- -----------------
 1/1  -                1            mac both         
 1/2  -                2            mac both         
 
Port  Device-ID                       Port-ID                   Platform
----- ------------------------------- ------------------------- ----------------
 1/1  
 1/2  
 
Port  Trunk-status Trunk-type    Trunk-vlans
----- ------------ ------------- -----------------------------------------------
 1/1  not-trunking negotiate     1-1005
 1/2  not-trunking negotiate     1-1005
        
Port  Portvlancost-vlans
----- --------------------------------------------------------------------------
 1/1  
 1/2  
 
Port  Port     Portfast Port    Port
      priority          vlanpri vlanpri-vlans
----- -------- -------- ------- ------------------------------------------------
 1/1        32 disabled       0 
 1/2        32 disabled       0 
 
Port  IP       IPX      Group
----- -------- -------- --------
 1/1  on       auto-on  auto-on 
 1/2  on       auto-on  auto-on 
 
Port  GMRP     GMRP         GMRP
      status   registration forwardAll
----- -------- ------------ ----------
 1/1  enabled  normal       disabled  
 1/2  enabled  normal       disabled  
 
Port  GVRP     GVRP          GVRP
      status   registeration applicant
----- -------- ------------- ---------
 1/1  disabled normal        normal   
 1/2  disabled normal        normal   
 
Port  Qos-Tx Qos-Rx Qos-Trust    Qos-DefCos
----- ------ ------ ------------ ----------
 1/1  2q2t   1q4t   untrusted             0
 1/2  2q2t   1q4t   untrusted             0
Console>    
 

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

Console> (enable) show port channel 3 info spantree
Port  Port     Portfast Port    Port
      priority          vlanpri vlanpri-vlans
----- -------- -------- ------- ------------------------------------------------
3/1        32 disabled      12 2,4,90
3/2        32 disabled      12 2,4,90
3/3        32 disabled      12 2,4,90
3/4        32 disabled      12 2,4,90
Console>    
 
Console> (enable) show port channel 3 info trunk
Port  Trunk-status Trunk-type    Trunk-vlans
----- ------------ ------------- -----------------------------------------------
3/1  not-trunking negotiate     1-1005
3/2  not-trunking negotiate     1-1005
3/3  not-trunking negotiate     1-1005
3/4  not-trunking negotiate     1-1005
Console>    
 
Console> (enable) show port channel 3 info protcol
Port  IP       IPX      Group
----- -------- -------- --------
3/1  on       auto-on  auto-on 
3/2  on       auto-on  auto-on 
3/3  on       auto-on  auto-on 
3/4  on       auto-on  auto-on 
Console>    
 
Console> (enable) show port channel 3 info gmrp
Port  GMRP     GMRP         GMPR
      status   registration forwardAll
----- -------- ------------ ----------
3/1  enabled  normal       disabled  
3/2  enabled  normal       disabled  
3/3  enabled  normal       disabled  
3/4  enabled  normal       disabled  
Console>    
 
Console> (enable) show port channel 1 info gvrp
Port  GVRP     GVRP          GVRP
      status   registeration applicant
----- -------- ------------- ---------
1/1   disabled normal        normal   
1/2   disabled normal        normal        
Console>    
 
Console> (enable) show port channel 1 info qos
Port  Qos-Tx   Qos-Rx   Qos-Trust    Qos-DefCos Qos-Interface
      PortType PortType Type                    Type
----- -------- -------- ------------ ---------- --------------
1/1   2q2t     1q4t     untrusted             0 port-based    
1/2   2q2t     1q4t     untrusted             0 port-based    
----- -------- -------- ------------ ---------- --------------
 
Port  ACL name                         Type
----- -------------------------------- ----
1/1                                    IP
                                       IPX
                                       MAC
1/2                                    IP
                                       IPX
                                       MAC
----- -------------------------------- ----
Console>    
 

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


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

Port

Module and port number.

Status

Channeling status of the port (connected, notconnect).

Channel mode

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

Admin Group

Number of the admin group.

PAgP Pkts Transmitted

Number of PAgP packets transmitted.

PAgP Pkts Received

Number of PAgP packets received.

PAgP Pkts InFlush

Number of PAgP flush packets received.

PAgP Pkts RetnFlush

Number of PAgP flush packets returned.

PAgP Pkts OutFlush

Number of PAgP flush packets transmitted.

PAgP Pkts InError

Number of PAgP error packets received.

Channel ID

Number of the channel group.

Neighbor device

Neighboring device with which the port is channeling.

Neighbor port

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

Speed

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

Duplex

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

Vlan

VLAN to which the port belongs.

Port priority

Priority associated with the port.

PortSecurity/Dynamic port

Status of whether the port is secure or dynamic.

ifIndex

Interface number to which the port belongs.

Oper-group

Capability of the group.

Neighbor device-id

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

Neighbor port-id

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

Neighbor Oper-group

Capability of the neighboring device.

Oper-Distribution

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

Trunk-status

Status of whether the port is trunking or not.

Trunk-type

Type of trunk port.

Trunk-vlans

VLANs to which the port belongs.

Portvlancost-vlans

Port VLAN cost.

Portfast

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

Port vlanpri

Port VLAN priority.

Port vlanpri-vlans

Port number.

IP

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

IPX

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

Group

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

GMRP status

Status of whether GMRP is enabled or disabled.

GMRP registration

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

GMRP forward/all

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

GVRP status

Status of whether GVRP is enabled or disabled.

GVRP registration

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

Qos-Tx

Transmit drop threshold.

Qos-Rx

Receive drop threshold.

Qos-Trust

Status of whether the port is trusted or untrusted.

Qos-DefCos

CoS value.

Qos Port-based

Status of whether the port is port-based QoS or not.

ACL name

Name of the ACL.

Protocol

Protocol associated with the port.

Related Commands

set port channel
show channel
show channel group

show port cops

Use the show port cops command to display COPS information on all or individual ports.

show port cops [mod | mod/port]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

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

Examples

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

Console> show port cops
Port    Admin Roles                      Oper Roles
------  -------------------------------  -------------------------
 1/1    backbone_port                    backbone_port
        branch_office_port               -
        access_port                      -
 1/2    -                                -
 3/1    -                                -
 3/2    backbone_port                    backbone_port
 3/3    backbone_port                    backbone_port
 3/4    access_port                      access_port
 3/5    access_port                      branch_office_port
        backbone_port                    -
        branch_office_port               -
        net_port                         -
 3/6    access_port                      access_port
 3/7    -                                -
 3/8    -                                -
Console> 
 

This example shows how to display COPS information for a specific port:

Console> show port cops 1/1
Port    Admin Roles                      Oper Roles
------  -------------------------------  -------------------------
 1/1    backbone_port                    backbone_port
        branch_office_port               -
        access_port                      -
 1/2    -                                -

Console>

Table 2-38 describes the fields displayed in the show port cops command output.


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

Port

Module and port number.

Admin Roles

Administration role.

Oper Roles

Operating role.

Related Commands

set port cops
clear port cops

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


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


Table 2-40: 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 jumbo

Use the show port jumbo command to display the jumbo frame settings for all ports with the feature enabled.

show port jumbo

Syntax Description

This command has no keywords or arguments.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display the jumbo frame settings for ports with the feature enabled:

Console> show port jumbo
Jumbo frames MTU size is 9216 bytes.
Jumbo frames enabled on port(s) 6/1-2,7/1-8.
Console> 
 

This example shows the display if the jumbo frame feature could not be enabled on some ports at system start-up:

Console> show port jumbo
Jumbo frames MTU size is 9216 bytes.
Jumbo frames enabled on port(s) 6/1-2.
Jumbo frames error-disabled on port(s) 7/1-8.
Console> 
Related Command

set port jumbo

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; the mod_num is required, but the port_num is optional.

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 port 1 on module 2:

Console> show port qos 2/1
QoS is enabled for the switch.
QoS policy source for the switch set to local.
 
Port  Interface Type Interface Type Policy Source Policy Source
      config         runtime        config        runtime
----- -------------- -------------- ------------- -------------
2/1      vlan-based     vlan-based          COPS         local
 
Port  TxPort Type  RxPort Type  Trust Type   Trust Type   Def CoS Def CoS
                                config       runtime      config  runtime
----- ------------ ------------ ------------ ------------ ------- -------
2/1          2q2t         1q4t    untrusted    untrusted       0
 
Config:
Port  ACL name                         Type
----- -------------------------------- ----
No ACL is mapped to port 2/1.
 
Runtime:
Port  ACL name                         Type
----- -------------------------------- ----
No ACL is mapped to port 2/1.
Console> 
Related Commands

set port qos
set port qos cos

show port rsvp

Use the show qos rsvp command to display RSVP+ information on a per-port basis.

show port rsvp [mod | mod/port]

Syntax Description

mod

(Optional) Number of the module.

mod/port

(Optional) 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 RSVP+ information for a specific port:

Console> (enable) show port rsvp 2     
Port  DSBM     Managed Configured Elected DSBM DSBM IP Address
      Election Segment Priority   Priority
----- -------- ------- ---------- ------------ ---------------
 2/1   enabled     yes        232          232    171.21.34.25
 2/2  disabled      no        128            -               -
Console> (enable) 
Related Command

set port rsvp dsbm-election

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-41 describes the fields in the show port status command output.


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

Port

Module and port number.

Name

Name (if configured) of the port.

Status

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

Vlan

VLANs to which the port belongs.

Duplex

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

Speed

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

Type1

Port type (100BaseTX)

1These fields will change according to the system configuration.

show proc

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

show proc [cpu | mem]

Syntax Description

cpu

(Optional) Keyword to specify CPU information.

mem

(Optional) Keyword to specify memory allocation information.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

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

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

Examples

This example shows how to display CPU information:

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

This example shows how to display process information:

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

This example shows how to display process utilization information:

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

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


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

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 allocated by the process since it was created, including the memory previously freed.

Freed

Sum of memory the process has freed until now.

Holding

Amount of memory the process is currently holding.

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

PC

Calling PC for "show_process" function.

Stacks

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

show protocolfilter

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

show protocolfilter

Syntax Description

This command has no keywords or arguments.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

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

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

set port protocol

show qos acl editbuffer

Use the show qos acl command set to display ACL names in the edit buffer.

show qos acl editbuffer

Syntax Description

This command has no keywords or arguments.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

Enter the show qos acl editbuffer command to display the committed access lists that you configured. The information is helpful when you are adding or deleting ACEs.

Example

This example shows how to display QoS ACL edit buffer contents:

Console> (enable) show qos acl editbuffer
ACL                               Type Status
--------------------------------  ---- ----------
ip1                               IP   Committed
ipx1                              IPX  Committed
mac1                              MAC  Committed
Related Commands

commit
rollback

show qos acl info

Use the show qos acl info commands to display QoS ACL information.

show qos acl info default-action ip | ipx | mac | all
show qos acl info acl_name | all [editbuffer [editbuffer_index]]

Syntax Description

default-action

Keyword to display default action (using the set qos acl default-action command) for packets that do not match any entry in an access list.

ip

Keyword to display QoS IP ACL information.

ipx

Keyword to display all QoS IPX ACL information.

mac

Keyword to display all QoS MAC ACL information.

all

Keyword to display all QoS ACL information.

acl_name

Name of the ACL to be displayed.

editbuffer

(Optional) Keyword to display edit buffer information.

editbuffer_index

(Optional) Position of the ACE in the ACL.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Example

This example shows how to display default policer configuration:

Console> (enable) show qos acl info default-action policer
QoS ACL default action configuration:
Action       Microflow policer      Aggregate policer
-----------  ---------------------  --------------------
dscp 5       micro                  agg
Microflow name        Average rate     Burst size       Exceed action
--------------------  ---------------  ---------------  -------------
micro                 1000             2000             drop
Aggregate name        Average rate     Burst size       Exceed action
--------------------  ---------------  ---------------  -------------
agg                   2000             4000             drop
Console> (enable) 
 

This example shows how to display all ACL default configurations:

Console> (enable) show qos acl info default-action all
set qos acl default-action
--------------------------
ip dscp 7 my1 my2 
ipx dscp 0 
mac dscp 0 
Console> (enable) 
 

This example shows how to display edit buffer formation for a specific ACL:

Console> show qos acl info my_ip_acl editbuffer
set qos acl ip my_ip_acl
----------------------------------------------------
1. set qos acl ip my_ip_acl trustdscp microflow my-micro tcp 1.2.3.4 255.0.0.0 
eq port 21 172.20.20.1 255.255.255.0
2. set qos acl ip my_ip_acl trustdscp microflow my-micro aggregate agg tcp
173.22.3.4 255.0.0.0 eq port 19 173.22.20.1 255.255.255.0 tos 5
ACL status: Not Committed Console> (enable)

This example shows how to display formation for a specific ACL:

Console> show qos acl info my_ip_acl 
set qos acl ip my_ip_acl
----------------------------------------------------
1. trust-dscp microflow my-micro tcp 1.2.3.4 255.0.0.0 eq 
port 21 172.20.20.1 255.255.255.0 tos 5
2. trust-dscp microflow my-micro aggregate agg tcp
173.22.3.4 255.0.0.0 eq port 19 173.22.20.1 255.255.255.0 tos 5
Console> (enable)
Related Commands

set qos acl default-action
set qos policer
clear qos policer

show qos acl map

Use the show qos acl map command to display the ACL mapping information.

show qos acl map {config | runtime} {acl_name | mod_num/port_num | vlan | all}

Syntax Description

config

Keyword to display NVRAM QoS information.

runtime

Keyword to display QoS runtime information.

acl_name

Name of the list.

mod _num/ port_num

Number of the module and the port.

vlan

VLAN list.

all

Keyword to display information regarding all ACLs.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

You can enter the config keyword to display information that was configured through the CLI and saved in NVRAM, regardless of the current runtime information.

Examples

This example shows how to display information for all ACLs:

Console> show qos acl map all  
ACL name   Vlan #            Ports
--------   ----------------- -----------------------------
web-acc    1,4-7             
isp1       2                 1/1
Console> 
 

This example shows how to display information for a specific VLAN:

Console> show qos acl map 1
Vlan  ACL name     
----  ----------------
1     web-acc
Console> 
 

This example shows how to display information for a specific ACL:

Console> show qos acl map isp1
 
ACL name   Vlan #            Ports
--------   ----------------  ---------------
isp1       2                 1/1     
Console> 
Related Commands

set qos acl map
clear qos acl

show qos acl resource-usage

Use the show qos acl resource-usage command to display ACL management information.

show qos acl resource-usage

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 ACL management information:

Console> (enable) show qos acl resource-usage
ACL resource usage:
Label:0%
Logical Operation Unit:0%
TCAM mask:0%
TCAM value:0%
Console> (enable) 
Related Commands

commit
rollback

show qos bridged-packet-policing

Use the show qos bridged-packet-policing command to display the VLAN-bridged packet-policing status.

show qos bridged-packet-policing [vlan]

Syntax Description

vlan

(Optional) Number of the VLAN.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

If you do not specify a VLAN number, the status of all VLANs are displayed.

Examples

This example shows how to display the status of a specific VLAN:

Console> show qos bridged-packet-policing 1
QoS policing is enabled for bridged packets on vlan 1.
Console> 
 

This example shows how to display the status of all VLANs:

Console> show qos bridged-packet-policing
QoS policing is enabled for bridged packets on the following vlans:
1, 2, 3
Console> 
Related Commands

set qos bridged-microflow-policing
set qos policer
clear qos policer

show qos info

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

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

Syntax Description

runtime

Keyword to show the current QoS runtime information.

config

(Optional) Keyword to display NVRAM QoS configuration.

mod_num /port_num

Number of the module and the port.

port_type

Port type; valid values are 2q2t and 1p2q2t for transmit and 1q4t and 1p1q4t for receive.

tx

Keyword to specify the transmit drop threshold.

rx

Keyword to specify the receive drop threshold.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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

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

The number preceding the t letter in the port_type (2q2t, 1p2q2t, 1q4t, or 1p1q4t) determines the number of threshold values the hardware supports. For example, with 2q2t and 1p2q2t, the number of thresholds specified is two; with 1q4t and 1p1q4t, the number of thresholds specified is four. Due to the granularity of programming the hardware, the values set in hardware will be close approximations of the values provided.

The number preceding the q letter in the port_type determines the number of the queues that the hardware supports. For example, with 2q2t and 1p2q2t, the number of queues specified is two; with 1q4t and 1p1q4t, the number of queues specified is four. The system defaults for the transmit queues attempt to keep the maximum latency through a port at a maximum of 10 msec.

The number preceding the p letter in the 1p2q2t and 1p1q4t port types determines the threshold in the priority queue.

Examples

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

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

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

Console> (enable) show qos info config 1p1q4t rx
QoS setting in NVRAM for 1p1q4t receive:
QoS is disabled
Queue and Threshold Mapping for 1p1q4t (rx):
Queue Threshold CoS
----- --------- ---------------
1     1         0
1     2         2 3
1     3         4 5
1     4         1 6 7
2     1
Rx drop thresholds:
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        50% 60% 80% 100%
Console> (enable) 
 

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

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

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

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

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

Console> (enable) show qos info config 8/1
QoS setting in NVRAM:
QoS is disabled
Port 8/1 has 3 transmit queue with 2 drop thresholds (1p2q2t).
Port 8/1 has 2 receive queue with 4 drop thresholds (1p1q4t).
ACL attached:
The qos trust type is set to untrusted.
Default CoS = 0
Queue and Threshold Mapping for 1p2q2t (tx):
Queue Threshold CoS
----- --------- ---------------
1     1         0 1
1     2         2 3
2     1         4 5
2     2         7
3     1         6
Queue and Threshold Mapping for 1p1q4t (rx):
Queue Threshold CoS
----- --------- ---------------
1     1         0
1     2         2 3
1     3         4 5
1     4         1 6 7
2     1
Rx drop thresholds:
Rx drop thresholds are disabled for untrusted ports.
Queue #  Thresholds - percentage (abs values )
-------  -------------------------------------
1        50% 60% 80% 100%
Tx drop thresholds:
Tx drop-thresholds feature is not supported for this port type.
Tx WRED thresholds:
Queue #  Thresholds in percentage ( in abs values )
-------  ------------------------------------------
1        80% 100%
2        80% 100%
Queue Sizes:
Queue #  Sizes - percentage (abs values )
-------  -------------------------------------
1        70%
2        15%
3        15%
WRR Configuration of ports with speed 1000Mbps:
Queue #  Ratios (abs values )
-------  -------------------------------------
1        100
2        255
Console> (enable) 
 

This example shows another display of the current QoS configuration information:

Console> (enable) show qos info config 1p2q2t tx
QoS setting in NVRAM for 1p2q2t 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
3     1
Tx drop thresholds:
Tx drop-thresholds feature is not supported for this port_type.
Tx WRED thresholds:
Queue #  Thresholds in percentage ( in abs values )
-------  ------------------------------------------
1        40% 100%
2        40% 100%
Queue Sizes:
Queue #  Sizes - percentage (abs values )
-------  -------------------------------------
1        50%
2        30%
3        20%
WRR Configuration of ports with 1p2q2t:
Queue #  Ratios (abs values )
-------  -------------------------------------
1        100
2        255
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] [config]
show qos mac-cos all [config]

dest_mac

MAC address of the destination host.

vlan

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

config

(Optional) Keyword to display NVRAM QoS configuration.

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 Guidelines

You can enter the show qos mac-cos command to display the currently configured QoS-related information.

You can enter the config keyword to display information that was configured through the CLI and saved in NVRAM, regardless of the current runtime information.

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 maps

Use the show qos maps command to display the mapping of different maps.

show qos maps [config | runtime] [cos-dscp-map | ipprec-dscp-map | dscp-cos-map |     policed-dscp-map]

config

(Optional) Keyword to display NVRAM QoS configuration.

runtime

(Optional) Keyword to display current QoS configuration.

cos-dscp-map

(Optional) Keyword to specify the CoS-to-DSCP map.

ipprec-dscp-map

(Optional) Keyword to specify the IP precedence-to-DSCP map.

dscp-cos-map

(Optional) Keyword to specify the DSCP-to-CoS map.

policed-dscp-map

(Optional) Keyword to specify the policer-to-DSCP map.

Syntax Description
Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

You can enter the config keyword to display information that was configured through the CLI and saved in NVRAM, regardless of the current runtime information.

If you do not specify an option, all maps are displayed.

Examples

This example shows how to display the cos-dscp-map map:

Console> show qos maps cos-dscp-map
CoS - DSCP map:
CoS   DSCP
---   ---------------
0     10
...
7     52
Console> 
 

This example shows how to display the ipprec-dscp-map map:

Console> show qos maps ipprec-dscp-map
IP-Precedence - DSCP map:
IP-Prec   DSCP
-------   -------------------
0         1
...
7         52
Console> 
 

This example shows how to display the ipprec-cos-map map:

Console> show qos maps ipprec-cos-map
IP-Precedence - CoS map:
IP-Prec   CoS
-------   -----
0         0
...
7         7
Console> 
 

This example shows how to display the dscp-cos-map map:

Console> show qos maps dscp-cos-map
DSCP - CoS map:
DSCP             CoS
---------------  ----
34-40,60         0
...
50               7
Console> 
 

This example shows how to display the policed-dscp-map map:

Console> show qos maps policed-dscp-map
DSCP policed-dscp map:
In-profile DSCP  Policed DSCP
---------------  -------------
0-20             0
Console>
 

This example shows how to display all maps:

Console> show qos maps
CoS - DSCP map:
CoS   DSCP
---   ---------------
0     10
...
7     52
 
IP-Precedence - DSCP map:
IP-Prec   DSCP
-------   -------------------
0         1
...
7         52
 
IP-Precedence - CoS map:
IP-Prec   CoS
-------   -----
0         0
...
7         7
 
DSCP - CoS map:
DSCP             CoS
---------------  ----
34-40,60         0
...
50               7
 
DSCP policed-dscp map:
In-profile DSCP  Policed DSCP
---------------  -------------
0-20             0
Console> 
Related Commands

set qos map
clear qos policed-dscp-map
clear qos cos-dscp-map

show qos policer

Use the show qos policer command to display microflow or aggregate policers currently configured.

show qos policer {config | runtime} {microflow | aggregate | all}

Syntax Description

config

Keyword to display NVRAM QoS configuration.

runtime

Keyword to show the current QoS runtime information.

microflow

Keyword to specify microflow policing information.

aggregate

Keyword to specify aggregate policing rule information.

all

Keyword to specify all policing information.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display all currently configured policing information:

Console> show qos policer config all
QoS microflow policers:
Microflow name                  Avg. rate Burst size Exceed action
------------------------------- --------- ---------- -------------
mic                                    55         64 drop
                                ACL attached
                                ------------------------------------
 
QoS aggregate policers:
No aggregate policer found.
Console> 
 

This example shows how to display microflow policing information:

Console> show qos policer config microflow
QoS microflow policers:
Microflow name        Average rate     Burst size       Exceed action
--------------------  ---------------  ---------------  -------------
my-micro              1000             2000             drop
Microflow name        ACL attached
--------------------  -----------------------------------------------
my-micro              my-acl
Console> 
 

This example shows how to display aggregate policing information:

Console> show qos policer config aggregate
QoS aggregate policers:
No aggregate policer found.
Console> 
Related Commands

clear qos policer
set qos policer

show qos rsvp

Use the show qos rsvp commands to display RSVP+ information.

show qos rsvp info
show qos rsvp flow-info


Syntax Description

info

Keyword to display RSVP+ status information.

flow-info

Keyword to display RSVP+ flow information.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display RSVP+ status information:

Console> (enable) show qos rsvp info
RSVP disabled.
RSVP policy timeout set to 30 minutes.
RSVP local policy set to forward.
Console> (enable) 
 

This example shows how to display RSVP+ flow information:

Console> (enable) show qos rsvp flow-info 
RSVP enabled. Only RSVP qualitative service supported.
RSVP policy timeout set to 30 minutes.
 
Flow # SrcAddr         DstAddr         SrcPort DstPort Prot DSCP Time Valid
------ --------------- --------------- ------- ------- ---- ---- -----------
1         172.21.23.34    177.23.45.67    3001    3101  UDP    6          30
2         172.21.23.34    177.23.45.67    3002    3102  UDP    4          15
3         172.21.23.34    177.23.45.67    3003    3103  TCP    2          68
4         172.21.34.67    177.68.89.23    4004    4005  UDP    1          23
Console> (enable) 
Related Commands

clear qos policer
set qos rsvp


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}
show qos statistics {
mod_num/port_num}
show qos statistics {l3stats
}

Syntax Description

mod_num

Number of the module.

mod_num /port_num

Number of the module and port.

l3stats

Keyword to specify display Layer 3 statistic.

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 dropped 0 packets.

Examples

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

Console> (enable) show qos statistics 2/1
Warning: QoS is disabled.
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)
Q #  Threshold #:Packets dropped
---  -----------------------------------------------
1    1:0 pkts, 2:0 pkts, 3:0 pkts, 4:0 pkts
Console> (enable)
 

This example shows how to display the QoS Layer 3 statistics for module 13:

Console> (enable) show qos statistics 13stats 
Warning: QoS is disabled.
QoS Layer 3 Statistics show statistics since last read.
Packets dropped due to policing: 0
IP packets with ToS changed:     0
IP packets with CoS changed:     26
Non-IP packets with CoS changed: 0
Console> (enable)
 

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

Console> (enable) show qos statistics 2 
Warning: QoS is disabled.
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)
Q #  Threshold #:Packets dropped
---  -----------------------------------------------
1    1:0 pkts, 2:0 pkts, 3:0 pkts, 4:0 pkts
 
On Transmit:Port 2/2 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/2 has 1 Queue(s) 4 Threshold(s)
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 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 aliases.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

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

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

show rsmautostate

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

show rsmautostate mod_num

Syntax Description

mod_num

Number of the module.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Example

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

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

set msmautostate

show rspan

Use the show rspan command to display the remote SPAN configuration.

show rspan

Syntax Description

This command has no keywords or arguments.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

The fields displayed depends on the configuration. For example, if this is a source session, the Destination, Incoming Packets, and Learning fields are not displayed. If this is a destination session, the Admin Source, Oper Source, Direction, Multicast, Filter, and Max Bandwidth fields are not displayed. If there is no VLAN filtering on the source session, the Filter field is not displayed.

Example

This example shows the display output from the show rspan command:

Console> (enable) show rspan
 
Destination     : -
Rspan Vlan      : 900
Admin Source    : VLAN 50
Oper Source     : Port 2/1,2/3,2/5,2/7,2/9,2/11,2/13,2/15,2/17,2/19
Direction       : receive
Incoming Packets: -
Learning        : -
Multicast       : disabled
Filter          : 10,20,30,40,500,600,700,800,900
Status          : active
 
--------------------------------------------
 
Destination     : Port 3/1
Rspan Vlan      : 901
Admin Source    : -
Oper Source     : -
Direction       : -
Incoming Packets: disabled
Learning        : disabled
Multicast       : -
Filter          : -
Status          : active
--------------------------------------------
 
Destination     : Port 6/1
Rspan Vlan      : 906
Admin Source    : -
Oper Source     : -
Direction       : -
Incoming Packets: disabled
Learning        : -
Multicast       : -
Filter          : -
 
--------------------------------------------
 
Destination     : -
Rspan Vlan      : 903
Admin Source    : INBAND
Oper Source     : INBAND
Direction       : transmit
Incoming Packets: -
Learning        : -
Multicast       : disabled
Filter          : -
 
--------------------------------------------
 
Destination     : Port 7/1
Rspan Vlan      : 902
Admin Source    : -
Oper Source     : -
Direction       : -
Incoming Packets: enabled
Learning        : -
Multicast       : -
Filter          : -
Console> (enable) 
Related Command

set rspan

show security acl

Use the show security acl command to display the contents of the ACL that is currently configured or were last committed to NVRAM and hardware.

show security acl
show security acl
[editbuffer]
show security acl info acl_name | all [editbuffer [editbuffer_index]]

Syntax Description

editbuffer

(Optional) Keyword to display the ACLs in the edit buffer.

acl_name

Name of the ACL to be displayed.

info

Keyword to display the contents of an ACL that were last committed to NVRAM and hardware.

all

Keyword to display all QoS ACL information.

editbuffer_index

(Optional) Position of the ACE in the ACL.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows the name and type of the ACLs that are currently configured:

Console> (enable) show security acl 
ACL                               Type VLANS
--------------------------------  ---- -----
ip1                               IP   3,5,8
ip2                               IP   12,47
ip3                               IP   56
ipx1                              IPX  5,12,45
ipx2                              IPX  
ipx3                              IPX  
mac2                              MAC  5
iplast                            IP   
Console> (enable) 

This example shows ACLs that are in the edit buffer:

Console> (enable) show security acl editbuffer
ACL                               Type Status
--------------------------------  ---- -------------------
ip1                               IP   Committed
ip2                               IP   Committed
ip3                               IP   Committed
ipx1                              IPX  Committed
ipx2                              IPX  Committed
ipx3                              IPX  Committed
mac2                              MAC  Committed
iplast                            IP   Committed
Console> (enable)
 

This example shows the configuration for a specified VACL that was last committed to NVRAM and hardware:

Console> (enable) show security acl info ip1
set security acl ip ip1
---------------------------------------------------
1. permit any 
Console> (enable)
 

This example shows the contents of the ACL edit buffer:

Console> (enable) show security acl info ip1 editbuffer
set security acl ip ip1
---------------------------------------------------
1. permit any 
 
ACL Status:Committed
Console> (enable)
Related Commands

commit
clear security acl
rollback

show security acl map

Use the show security acl map command to display VACL-to-VLAN mapping for a specified ACL or VLAN.

show security acl map acl_name
show security acl map vlan

Syntax Description

acl_name

Name of the ACL to be displayed.

vlan

Number of the VLAN to be displayed.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows the mappings of a specific ACL:

Console> (enable) show security acl map IPACL1
ACL IPACL1 is mapped to VLANs:
1
Console> (enable)

This example shows the mappings of a specific VLAN:

Console> (enable) show security acl map 1
VLAN 1 is mapped to IP ACL IPACL1.
VLAN 1 is mapped to IPX ACL IPXACL1.
VLAN 1 is mapped to MAC ACL MACACL1.
Console> (enable)
Related Commands

commit
rollback
clear security acl map
set security acl map

show security acl resource-usage

Use the show security acl resource-usage command to display ACL management information.

show security acl resource-usage

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 ACL management information:

Console> (enable) show security acl resource-usage
ACL storage usage (mask/value) is: (40%/50%)
Console> (enable) 
Related Commands

commit
rollback
clear security acl

show snmp

Use the show snmp command to display SNMP information.

show snmp [noalias]

Syntax Description

noalias

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

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display SNMP information:

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

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


Table 2-43: 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: Fri Dec 31 11:02:36 PST 1999
Copyright 1989-1999©Cisco Systems Inc.