Catalyst 6500 Series Command Reference, 7.6
show port to show snmp

Table Of Contents

show port

show port arp-inspection

show port auxiliaryvlan

show port broadcast

show port capabilities

show port cdp

show port channel

show port cops

show port counters

show port debounce

show port dot1q-all-tagged

show port dot1q-ethertype

show port dot1qtunnel

show port dot1x

show port errdisable-timeout

show port flowcontrol

show port inlinepower

show port jumbo

show port l2protocol-tunnel

show port lacp-channel

show port mac

show port mac-address

show port negotiation

show port prbs

show port protocol

show port qos

show port rsvp

show port security

show port spantree

show port status

show port sync-restart-delay

show port tdr

show port trap

show port trunk

show port unicast-flood

show port voice

show port voice active

show port voice fdl

show port voice interface

show proc

show protocolfilter

show pvlan

show pvlan capability

show pvlan mapping

show qos acl editbuffer

show qos acl info

show qos acl map

show qos acl resource-usage

show qos bridged-microflow-policing

show qos info

show qos mac-cos

show qos maps

show qos policer

show qos policy-source

show qos rsvp

show qos statistics

show qos statistics export info

show qos status

show radius

show rcp

show reset

show rgmp group

show rgmp statistics

show rspan

show running-config

show security acl

show security acl arp-inspection

show security acl capture-ports

show security acl feature ratelimit

show security acl log

show security acl map

show security acl resource-usage

show snmp


22

show port

To display port status information, use the show port command.

show port [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

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

The output for an 8-port T1/E1 PSTN interface module configured for transcoding or conferencing displays a transcoding port type as "mtp" (media termination point) or a conference port type as "conf bridge."

The output for an 8-port T1/E1 PSTN interface module displays a transcoding port type as "transcoding" or a conference port type as "conferencing."

The PAgP channel protocol and the LACP channel protocol manage channels differently. When all the ports in a channel get disabled, PAgP removes them from its internal channels list; show commands do not display the channel. With LACP, when all the ports in a channel get disabled, LACP does not remove the channel; show commands continue to display the channel even though all its ports are down. To determine if a channel is actively sending and receiving traffic with LACP, use the show port command to see if the link is up or down.

LACP does not support half-duplex links. If a port is in active/passive mode and becomes half duplex, the port is suspended (and a syslog message is generated). The port is shown as "connected" using the show port command and as "not connected" using the show spantree command. This discrepancy is because the port is physically connected but never joined spanning tree. To get the port to join spanning tree, either set the duplex to full or set the channel mode to off for that port.

For more information about PAgP and LACP, refer to the "Configuring EtherChannel" chapter of the Catalyst 6500 Series Switch Software Configuration Guide.

Examples

This example shows how to display the status and counters for a specific module and port:

Console> show port 2/1
* = Configured MAC Address
Port  Name                 Status     Vlan       Duplex Speed Type
----- -------------------- ---------- ---------- ------ ----- ------------
 2/1                       notconnect 1            full  1000 No Connector


Port  Security Violation Shutdown-Time Age-Time Max-Addr Trap     IfIndex
----- -------- --------- ------------- -------- -------- -------- -------
 2/1  disabled  shutdown             0        0        1 disabled       3

Port  Num-Addr Secure-Src-Addr   Age-Left Last-Src-Addr     Shutdown/Time-Left
----- -------- ----------------- -------- ----------------- ------------------
 2/1         0                 -        -                 -        -         -

Port  Flooding on Address Limit
----- -------------------------
 2/1                    Enabled

Port     Broadcast-Limit Multicast Unicast Total-Drop           Action
-------- --------------- --------- ------- -------------------- ------------
 2/1                   -         -       -                    0 drop-packets

Port  Send FlowControl  Receive FlowControl   RxPause    TxPause
      admin    oper     admin     oper
----- -------- -------- --------- ---------   ---------- ----------
 2/1  desired  off      off       off         0          0

Port  Status     Channel              Admin Ch
                 Mode                 Group Id
----- ---------- -------------------- ----- -----
 2/1  notconnect auto silent             41     0

Port  Status      ErrDisable Reason    Port ErrDisableTimeout     Action on Timeout 
----  ----------  -------------------  ----------------------     ----------------- 
 2/1  errdisable  other                Disable                    Remain Disabled (PRBS) 

Port  Align-Err  FCS-Err    Xmit-Err   Rcv-Err    UnderSize
----- ---------- ---------- ---------- ---------- ---------
 2/1           0          0          0          0         0

Port  Single-Col Multi-Coll Late-Coll  Excess-Col Carri-Sen Runts     Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
 2/1           0          0          0          0         0         0         0

Port  Last-Time-Cleared
----- --------------------------
 2/1  Tue Mar 5 2002, 11:43:01
Console>

This example shows port information on a 48-port 10/100BASE-TX module with inline power:

Console> show port 9/5
* = Configured MAC Address
Port  Name               Status     Vlan       Duplex Speed Type
----- ------------------ ---------- ---------- ------ ----- ------------
 9/5                     notconnect 1            auto  auto 10/100BaseTX

Port  AuxiliaryVlan AuxVlan-Status     InlinePowered     PowerAllocated
                                   Admin Oper   Detected mWatt mA @42V
----- ------------- -------------- ----- ------ -------- ----- --------
 9/5  none          none           auto  off    no       0     0
Port  Security Violation Shutdown-Time Age-Time Max-Addr Trap     IfIndex
----- -------- --------- ------------- -------- -------- -------- -------
 9/5  disabled  shutdown             0        0        1 disabled     126

Port  Num-Addr Secure-Src-Addr   Age-Left Last-Src-Addr     Shutdown/Time-Left
----- -------- ----------------- -------- ----------------- ------------------
 9/5         0                 -        -                 -        -         -

Port  Flooding on Address Limit
----- -------------------------
 9/5						Enabled

Port     Broadcast-Limit Broadcast-Drop
-------- --------------- --------------------
 9/5                   -                    0

Port   Send FlowControl    Receive FlowControl   RxPause TxPause Unsupported
       admin    oper       admin    oper                         opcodes
-----  -------- --------   -------- --------     ------- ------- -----------
 9/5   off      off        off      off          0       0       0

Port  Status     Channel              Admin Ch
                 Mode                 Group Id
----- ---------- -------------------- ----- -----
 9/5  notconnect auto silent            546     0

Port  Align-Err  FCS-Err    Xmit-Err   Rcv-Err    UnderSize
----- ---------- ---------- ---------- ---------- ---------
 9/5           0          0          0          0         0

Port  Single-Col Multi-Coll Late-Coll  Excess-Col Carri-Sen Runts     Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
 9/5           0          0          0          0         0         0         0

Last-Time-Cleared
--------------------------
Wed Mar 15 2000, 21:57:31
Console>

This example shows the port information on an 8-port T1/E1 PSTN interface module configured for transcoding and conferencing:

Console> show port 7
* = Configured MAC Address
Port     DHCP    MAC-Address       IP-Address      Subnet-Mask
-------- ------- ----------------- -------------- ---------------
 7/1                     connected  123        full   1.544 T1
 7/2                     connected  2          full   1.544 T1
 7/3                     disable    1          full   1.544 T1
 7/4                     connected  11         full   1.544 T1
 7/5                     connected  123        full   1.544 T1
 7/6                     connected  1          full   1.544 T1
 7/7                     faulty     2          full   1.544 conf bridge
 7/8                     faulty     2          full   1.544 mtp

Port     DHCP    MAC-Address       IP-Address      Subnet-Mask
-------- ------- ----------------- --------------- ---------------
 7/1     enable  00-10-7b-00-0a-58 172.20.34.68    255.255.255.0   
 7/2     enable  00-10-7b-00-0a-59 172.20.34.70    255.255.255.0   
 7/3     enable  00-10-7b-00-0a-5a 172.20.34.64    255.255.255.0
 7/4     enable  00-10-7b-00-0a-5b 172.20.34.66    255.255.255.0   
 7/5     enable  00-10-7b-00-0a-5c 172.20.34.59    255.255.255.0   
 7/6     enable  00-10-7b-00-0a-5d 172.20.34.67    255.255.255.0   
 7/7     enable  00-10-7b-00-0a-5e (Port host processor not online)
 7/8     enable  00-10-7b-00-0a-5f (Port host processor not online)

Port     Call-Manager(s)   DHCP-Server     TFTP-Sever      Gateway
-------- ----------------- --------------- --------------- ---------------
 7/1     172.20.34.207*    172.20.34.207   172.20.34.207   -               
         callm.cisco.com
 7/2     172.20.34.207     172.20.34.207   172.20.34.207   172.20.34.20           
 7/3     172.20.34.207     172.20.34.207   172.20.34.207   - 
 7/4     172.20.34.207     172.20.34.207   172.20.34.207   -               
 7/5     172.20.34.207     172.20.34.207   172.20.34.207   -               
 7/6     172.20.34.207     172.20.34.207   172.20.34.207   -               
 7/7     (Port host processor not online)
 7/8     (Port host processor not online)

Port     DNS-Server(s)   Domain
-------- --------------- -------------------------------------------------
 7/1     172.20.34.207   cisco.com
 7/2     172.20.34.207*  int.cisco.com
         171.69.45.34
         172.78.111.132
 7/3     172.20.34.207   -
 7/4     172.20.34.207   -
 7/5     172.20.34.207   -
 7/6     172.20.34.207   -
 7/7     (Port host processor not online)
 7/8     (Port host processor not online)

Port     CallManagerState DSP-Type
-------- ---------------- --------
 7/1     registered       C549
 7/2     registered       C549
 7/3     registered       C549
 7/4     registered       C549
 7/5     registered       C549
 7/6     notregistered    C549
 7/7     (Port host processor not online)
 7/8     (Port host processor not online)
Port  NoiseRegen NonLinearProcessing
----- ---------- -------------------
 7/1  disabled   disabled
 7/2  disabled   disabled
 7/3  disabled   disabled
 7/4  disabled   disabled
 7/5  enabled    disabled
 7/6  disabled   enabled
 7/7  (Port host processor not online)
 7/8  (Port host processor not online)

(*): Primary
Console>

This example show the port information on a 24-port FXS analog station interface services-configured module:

Console> (enable) show port 3
Port  Name               Status     Vlan       Duplex Speed Type
----- ------------------ ---------- ---------- ------ ----- ------------
 3/1                     onhook     1            full   64k FXS
 3/2                     onhook     1            full   64k FXS
 3/3                     onhook     1            full   64k FXS
 3/4                     onhook     1            full   64k FXS
 3/5                     onhook     1            full   64k FXS
 3/6                     onhook     1            full   64k FXS
 3/7                     onhook     1            full   64k FXS
 3/8                     onhook     1            full   64k FXS
 3/9                     onhook     1            full   64k FXS
 3/10                    onhook     1            full   64k FXS
 3/11                    onhook     1            full   64k FXS
 3/12                    onhook     1            full   64k FXS
 3/13                    onhook     1            full   64k FXS
 3/14                    onhook     1            full   64k FXS
 3/15                    onhook     1            full   64k FXS
 3/16                    onhook     1            full   64k FXS
 3/17                    onhook     1            full   64k FXS
 3/18                    onhook     1            full   64k FXS
 3/19                    onhook     1            full   64k FXS
 3/20                    onhook     1            full   64k FXS
 3/21                    onhook     1            full   64k FXS
 3/22                    onhook     1            full   64k FXS
 3/23                    onhook     1            full   64k FXS
 3/24                    onhook     1            full   64k FXS

Port     DHCP    MAC-Address       IP-Address      Subnet-Mask
-------- ------- ----------------- --------------- ---------------
 3/1-24  enable  00-10-7b-00-13-e4 172.20.34.50    255.255.255.0   

Port     Call-Manager      DHCP-Server     TFTP-Sever      Gateway
-------- ----------------- --------------- --------------- ---------------
 3/1-24  172.20.34.207     172.20.34.207   172.20.34.207   -               

Port     DNS-Server      Domain
-------- --------------- --------------------------
 3/1-24  172.20.34.207   -

Port     EchoCancel(ms) CallManagerState DSP-Type
-------- -------------- ---------------- --------
 3/1-24  4660           registered       C549

Port     ToneLocal     Impedance InputGain(dB) OutputAtten(dB)
-------- ------------- --------- ------------- ---------------
 3/1-24  northamerica  0         0             0
Port     RingFreq Timing    Timing         Timing    Timing
         (Hz)     Digit(ms) InterDigit(ms) Pulse(ms) PulseDigit(ms)
-------- -------- --------- -------------- --------- --------------
 3/1-24  20       100       100            0         0
Console> (enable) 

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

Table 2-60 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, monitor, active, dot1p, untagged, inactive, or onhook).

Vlan

VLANs to which the port belongs.

Auxiliaryvlan1

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

Type2

Port type (for example, 1000BASE-SX or 100BASE-FX, or T1, E1, transcoding, conferencing, mtp, or conf bridge for voice ports).

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.

Broadcast-Limit

Broadcast threshold configured for the port.

Multicast

Number of multicast packets dropped.

Unicast

Number of unicast packets dropped.

Total-Drop

Number of broadcast, multicast, and unicast packets dropped because the port broadcast limit was exceeded.

Shutdown

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

Trap

Status of whether the 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.

Errdisable Reason

Reason for the port to be in errdisabled state.

Port ErrDisableTimeout

Status of errdisable timer timeout on the port.

Action on Timeout

Action that is taken on errdisable timer timeout.

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.

InlinePowered1

InlinePowered for Admin (auto, on, off), Oper (on, off, denied), and Detected (yes, no).

PowerAllocated1

PowerAllocated for Watts (values displayed as Watts measurement) and Volts (values displayed as Volts measurement).

Age-Time1

Age timeout setting for the port.

Age-Left1

Age timeout remaining for the port.

Maximum-Addrs1

Maximum number of secured MAC addresses on the port.

CallManagerState1

Operational state of the voice port (Not Registered, Registered, Up, Down, and Alarm).

NoiseRegen3

Status of whether noise regeneration is enabled for the port.

NonLinear3

Status of whether nonlinear processing is enabled for the port.

Comp-Alg3

Type of compression algorithm used (for example G.711, G.723, and G.729).

IP-address3

IP address associated with the port.

Netmask3

Netmask associated with the port.

MAC-Address3

MAC address associated with the port.

Call-Manager-IP3

Cisco CallManager IP address associated with the port.

DHCP-Server-IP3

DHCP server IP address associated with the port.

DNS-Server-IP3

DNS server IP address associated with the port.

TFTP-Server-IP3

TFTP server IP address associated with the port.

1 This field is applicable to the 48-port 10/100BASE-TX switching services-configured module.

2 This field changes according to the system configuration.

3 This field is applicable to the 8-port T1/E1 DSP services-configured module.


Related Commands

set port disable
set port enable
show port status

show port arp-inspection

To display the drop threshold and shutdown threshold for specific ports, use the show port arp-inspection command.

show port arp-inspection [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you do not specify a module, the system displays the drop threshold and the shutdown threshold for all ports.

Examples

This example shows how to display the thresholds on module 2, port 1:

Console> (enable) show port arp-inspection 2/1
Port                      Drop Threshold Shutdown Threshold
------------------------  -------------- ------------------
 2/1                                  0                  0
Console> (enable)

Related Commands

set port arp-inspection
set security acl arp-inspection

show port auxiliaryvlan

To display the port auxiliary VLAN status for a specific port, use the show port auxiliaryvlan command.

show port auxiliaryvlan {vlan | untagged | dot1p | none}

Syntax Description

vlan

Number of the VLAN; valid values are from 1 to 4094.

untagged

Displays the Cisco IP Phone 7960 that sends untagged packets without 802.1p priority.

dot1p

Displays the Cisco IP Phone 7960 that sends packets with 802.1p priority.

none

Displays the switch that does not send any auxiliary VLAN information in the CDP packets from that port.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

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

Console> (enable) show port auxiliaryvlan             
AuxiliaryVlan Status   Mod/Ports
------------- -------- ------------------------------------------------------
222           active   8/4-7
333           active   8/13-18
dot1p         dot1p    8/23,8/31-34
untagged      untagged 9/12
none          none     8/1-3,8/8-12,8/19-22,8/24-30,8/35-48,9/1-11,9/13-48
Console> (enable) 

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

Console> (enable) show port auxiliaryvlan 222
AuxiliaryVlan Status   Mod/Ports
------------- -------- ------------------------------------------------------
222           active   8/4-7
Console> (enable) 

This example shows how to display the status of the switch that does not send any auxiliary VLAN information in the CDP packets:

Console> (enable) show port auxiliaryvlan none
AuxiliaryVlan Status   Mod/Ports
------------- -------- ------------------------------------------------------
none          none     8/1-3,8/8-12,8/19-22,8/24-30,8/35-48,9/1-11,9/13-48
Console> (enable) 

This example shows how to display the status of the Cisco IP Phone 7960 that sends untagged packets without 802.1p priority:

Console> (enable) show port auxiliaryvlan untagged
AuxiliaryVlan Status   Mod/Ports
------------- -------- ------------------------------------------------------
untagged      untagged 9/12
Console> (enable) 

This example shows how to display the status of the Cisco IP Phone 7960 that sends packets with 802.1p priority:

Console> (enable) show port auxiliaryvlan dot1p
AuxiliaryVlan Status   Mod/Ports
------------- -------- ------------------------------------------------------
dot1p         dot1p    8/23,8/31-34
Console> (enable)

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

Table 2-61 show port auxiliaryvlan Command Output Fields

Field
Description

AuxiliaryVlan

Number of the auxiliary VLAN.

AuxVlanStatus

Status of the auxiliary VLAN.

Mod/Ports

Number of the module and ports assigned to the auxiliary VLAN.


Related Commands

set port auxiliaryvlan

show port broadcast

To display broadcast information, use the show port broadcast command.

show port broadcast [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

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

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

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

Examples

This example shows how to display broadcast information for module 4, port 6:

Console> show port broadcast 4/6 
Port     Broadcast-Limit Multicast Unicast Total-Drop           Violation      
-------- --------------- --------- ------- -------------------- ------------
 4/6             90.00 %         -       -                    0 drop-packets
Console>

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

Table 2-62 show port broadcast Command Output Fields 

Field
Description

Port

Module and port number.

Broadcast-Limit

Broadcast threshold configured for the port.

Multicast

Number of multicast packets dropped.

Unicast

Number of unicast packets dropped.

Total-Drop

Number of broadcast, multicast, and unicast packets dropped because the port broadcast limit was exceeded.

Violation

Action the port takes when the broadcast threshold is exceeded; the port either errdisables or drops packets.


Related Commands

set port broadcast

show port capabilities

To display the capabilities on the ports, use the show port capabilities command.

show port capabilities [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

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

Examples

This example shows how to list the port capabilities on a specific module and port:

Console> show port capabilities 1/1
Model                    WS-X6K-SUP2-2GE
Port                     1/1
Type                     Unknown GBIC
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
Dot1x                    yes
Membership               static,dynamic
Fast start               yes
QOS scheduling           rx-(1p1q4t),tx-(1p2q2t)
CoS rewrite              yes
ToS rewrite              DSCP
UDLD                     yes
Inline power             no
AuxiliaryVlan            no
SPAN                     source,destination
COPS port group          1/1-2
Link debounce timer      yes
Console>

This example shows the port capabilities on a 48-port 10/100BASE-TX switching services configured-module:

Console> show port capabilities 3/2
Model                    WS-X6248-RJ-45
Port                     3/2
Type                     10/100BaseTX
Speed                    auto,10,100
Duplex                   half,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),send-(off)
Security                 yes
Membership               static
Fast start               yes
QOS scheduling           rx-((null)),tx-((null))
QOS classification       layer 2,layer 3
UDLD                     Capable
SPAN                     source,destination
Inline power             auto,on,off
Auxiliaryvlan            1..1000,dot1p,untagged,none
Console> 

This example shows the port capabilities on an 8-port T1/E1 ISDN PRI services configured-module:

Console> show port capabilities 3/2
Model                    WS-X6608-T1   (or WS-X6608-E1)
Port                     3/2
Type                     T1, transcoding, conferencing
Speed                    1.544 Mps     (or 2.048Mps)
Duplex                   full
Channel                  no
Broadcast suppression    no
Flow control             no
Security                 no
Membership               no
Fast start               no
QOS scheduling           no
QOS classification       no
UDLD                     no
Inline power             no
Auxiliaryvlan            no
Console> 

This example shows the port capabilities on a 24-port FXS analog station interface services-configured module:

Console> show port capabilities 3/2
Model                    WS-X6624-FXS
Port                     3/2
Type                     FXS
Speed                    64kps
Duplex                   full
Trunk encap type         none
Trunk mode               off
Channel                  no
Broadcast suppression    no
Flow control             no
Security                 no
Membership               no
Fast start               no
QOS scheduling           no
QOS classification       no
UDLD                     no
Inline power             no
Auxiliaryvlan            no
Console> 

This example shows the port capabilities on an Intrusion Detection System Module:

Console> show port capabilities 5/2
Model                    WS-X6381-IDS
Port                     5/2
Type                     Intrusion Detection
Speed                    1000
Duplex                   full
Trunk encap type         no
Trunk mode               no
Channel                  no
Broadcast suppression    no
Flow control             no
Security                 no
Dot1x                    no
Membership               static
Fast start               no
QOS scheduling           rx-(none),tx-(none)
CoS rewrite              no
ToS rewrite              no
UDLD                     no
Inline power             no
AuxiliaryVlan            no
SPAN                     source
COPS port group          not supported
Link debounce timer      yes
Console>

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

Table 2-63 show port capabilities Command Output Fields 

Field
Description

Model

Module model number.

Port

Module number and port number.

Type1

Port type (1000BASE-SX or 100BASE-FX).

Speed1

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

Duplex

Duplex mode (half, full, auto).

Trunk encap type2

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

Trunk mode2

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

Channel

Status of which ports can form a channel group. The ports are shown in mod/port 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).

Fast start

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

QOS scheduling

Status of whether the port supports QoS scheduling (yes, no).

QOS classification

Status of whether the port supports QoS classification (yes, no).

CoS rewrite

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

SPAN

SPAN type supported.

ToS rewrite

Status of whether the port supports ToS rewrite (IP-Precedence).

UDLD

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

Inline power2

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

Auxiliaryvlan2

Status of whether the port supports voice VLANs (yes, no).

Link debounce timer

Status of whether the port supports debounce timer (yes, no).

1 This field will change depending on the module configuration.

2 This field is applicable to the 48-port 10/100BASE-TX switching services-configured module and the 24-port FXS analog station interface services-configured module.

3 "No" means that the port is trunk incapable.


Related Commands

set port broadcast
set port channel
set port security
set port speed
set spantree portfast
set trunk
show port
show port voice active

show port cdp

To display the port CDP enable state and the message interval, use the show port cdp command.

show port cdp [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

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

Console> show port cdp
CDP               : enabled
Message Interval  : 60
Hold Time         : 180
Version           : V2

Port      CDP Status
--------  ----------
 1/1      enabled
 1/2      enabled 
Console> 

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

Table 2-64 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 a neighbor.

Hold Time

Hold time setting.

Version

CDP version.

Port

Module and port number.

CDP Status

CDP status of the port (enabled, disabled).


Related Commands

set cdp
show cdp

show port channel

To display EtherChannel information, use the show port channel command.

show port channel [all | mod[/port]] [statistics]

show port channel [all | mod[/port]] {info [type]}

Syntax Description

all

(Optional) Displays information about PAgP and LACP channels.

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.

statistics

(Optional) Displays statistics about the port (PAgP packets sent and received).

info

(Optional) Displays port information such as speed, duplex status, priority, secure or dynamic status, and trunk status.

type

(Optional) Displays feature-related parameters; valid values are spantree, trunk, protcol, gmrp, gvrp, qos, rsvp, cops, dot1qtunnel, auxiliaryvlan, and jumbo.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

The protocol conditions are as follows:

On indicates the port will receive all the flood traffic for that protocol.

Off indicates the port will not receive any flood traffic for that protocol.

Auto indicates the port will not receive any flood traffic for that protocol.

The GVRP registration status is defined as follows:

Normal allows dynamic registering and deregistering each VLAN (except VLAN 1) on the port.

Fixed supports manual VLAN creation and registration and prevents VLAN deregistration.

Forbidden statically deregisters all the VLANs (except VLAN 1) from the port.

When you enter the option keyword with any of the options (spantree | trunk | protcol | gmrp | gvrp | qos | rsvp | cops | dot1qtunnel | auxiliaryvlan | jumbo), associated VLANs and the specified feature-related parameters are displayed.

If you do not specify a mod or a port, EtherChannel information is shown for all PAgP channeling ports on all modules.

If you enter the all keyword, information about PAgP and LACP channels is displayed.

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
Port  Policy Source 
----- -------------
1/1           COPS
1/2           COPS
Console>    

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

Table 2-65 show port channel Command Outputs 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, or 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 whether the PortFast-start mode is enabled or disabled.

Port vlanpri

Port VLAN priority.

Port vlanpri-vlans

Priority VLAN 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 (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.

Policy Source

Type of policy source.

COPS Admin Roles

COPS admin role designation.

Dot1q tunnel mode

Status of the dot1q tunnel mode.

Jumbo

Status of the jumbo feature.

Auxiliaryvlan

Number of the auxiliary VLAN.

Protocol

Protocol associated with the port.


Related Commands

set port channel
show channel
show channel group

show port cops

To display COPS information on all or individual ports, use the show port cops command.

show port cops [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a mod value or a port value, information is shown for all ports on all modules.

For a few minutes after a switchover from the active to the standby supervisor engine, note that if you enter the show port cops command, the output may be incorrect. If this is the case, the following warning displays:

COPS High Availability Switch Over in progress, hardware may be
programmed differently than as suggested by the output of these
commands.

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-66 describes the fields displayed in the show port cops command output.

Table 2-66 show port cops Command Output Fields

Field
Description

Port

Module and port number.

Admin Roles

Administration role.

Oper Roles

Operating role.


Related Commands

clear port cops
set port cops

show port counters

To show all the counters for a port, use the show port counters command.

show port counters [mod[/port]]

Syntax Description

mod

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

port

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


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

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

Examples

This example shows counters for all ports:

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 Jan 11 2000, 14:58:19

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

Table 2-67 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 Commands

clear counters
show port

show port debounce

To display whether the port debounce timers are enabled or disabled, use the show port debounce command.

show port debounce [mod | mod/port]

Syntax Description

mod

(Optional) Number of the module.

mod/port

(Optional) Number of the module and the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a port, all ports are displayed.

Examples

This example shows how to display the debounce link timer for a specific port on a specific module:

Console> show port debounce 2/1
Port Debounce link timer
-----  ---------------
 2/1   disable
Console>

Related Commands

set port debounce

show port dot1q-all-tagged

To show the status of the dot1q-all-tagged feature on all or specific ports, use the show port dot1q-all-tagged command.

show port dot1q-all-tagged [mod[/port]]

Syntax Description

mod[/port]

(Optional) Number of the module and optionally, the number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a module or port number, the status of the dot1q-all-tagged feature is displayed for all ports on all modules.

Examples

This example shows how to display the status of the feature on a specific port:

Console> (enable) show port dot1q-all-tagged 1/1
Dot1q-all-tagged feature globally enabled.
Port Dot1q-all-tagged mode
---- --------------------------------
1/1 disable
Console> (enable)

This example shows how to display the status of the feature on all ports on a specific module:

Console> (enable) show port dot1q-all-tagged 1
Dot1q-All-Tagged feature globally disabled.
Port Dot1q-all-tagged mode
----- ------------------------------
1/1 disable
1/2 disable
Console> (enable)

Related Commands

set dot1q-all-tagged
set port dot1q-all-tagged
show dot1q-all-tagged

show port dot1q-ethertype

To show the status of the 802.1q Ethertype field on all or specific ports, use the show port dot1q-ethertype command.

show port dot1q-ethertype [mod[/port]]

Syntax Description

mod[/port]

(Optional) Number of the module and optionally, the number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a module or port number, the Ethertype field is displayed for all ports on all modules.

Examples

This example shows how to display the status of the feature on a specific port:

Console> (enable) show port dot1q-ethertype 3/2
Port                Dot1q ethertype value
------              ---------------------
3/2                 1234
Console> (enable) 

Related Commands

set trunk

show port dot1qtunnel

To display the dot1q tunnel mode status, use the show port dot1qtunnel command.

show port dot1qtunnel [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the dot1q tunnel mode status for a specific module:

Console> show port dot1qtunnel 4
Port   Dot1q tunnel mode
-----  -----------------
 4/1   access
 4/2   access
 4/3   access
 4/4   access
 4/5   trunk
 4/6   trunk
 4/7   trunk
 4/8   disabled
Console> 

Related Commands

set port dot1qtunnel

show port dot1x

To display all the configurable and current state values associated with the authenticator port access entity (PAE) and backend authenticator and statistics for the different types of Extensible Authentication Protocol (EAP) packets transmitted and received by the authenticator on a specific port, use the show port dot1x command.

show port dot1x [mod[/port]]

show port dot1x statistics [mod[/port]]

show port dot1x guest-vlan [vlan | none]

Syntax Description

mod

Number of the module.

port

Number of the port on the module.

statistics

Displays statistics for different EAP packets transmitted and received by the authenticator on a specific port.

guest-vlan

Displays the active VLAN that functions as an 802.1x guest VLAN.

vlan

Number of the VLAN.

none

Displays ports that do not have guest VLANs.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display all the configurable and current state values associated with the authenticator PAE and backend authenticator on a specific port:

Console> show port dot1x 3/3
Port  Auth-State          BEnd-State Port-Control        Port-Status
----- ------------------- ---------- ------------------- -------------
 3/3  force-authorized    idle       force-authorized    authorized
Port  Multiple-Host Re-authentication
----- ------------- -----------------
 3/3  disabled      disabled
Console>

This example displays the statistics of different types of EAP packets that are transmitted and received by the authenticator on a specific port:

Console> show port dot1x statistics 4/1,4/2
Port    Tx_Req/Id    Tx_Req    Tx_Total    Rx_Start    Rx_Logff     Rx_Resp/Id    Rx_Resp
4/1     1            2         4           2           0            1             0
4/2     3            4         6           0           1            1             0

Port    Rx_Invalid    Rx_Len_Err    Rx_Total    Last_Rx_Frm_Ver    Last_Rx_Frm_Src_Mac
4/1     0             0             3           1                  00-f0-3b-2b-d1-a9
4/2     0             0             3           1                  00-d0-62-95-7b-ff
Console>

Related Commands

clear dot1x config
set port dot1x
show dot1x

show port errdisable-timeout

To display the configuration and status of the errdisable timeout for a particular port, use the show port errdisable-timeout command.

show port errdisable-timeout [mod[/port]]

Syntax Description

mod[/port]

(Optional) Number of the module and the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If the port is disabled and the reason is disabled globally, the No Change value is displayed in the Action on Timeout field regardless of the value in the Port ErrDisableTimeout field. If the port is not in errdisabled state, the No Change value always is displayed in the Action on Timeout field.

Examples

This example shows how to display the errdisable timeout configuration and status for a particular port:

Console> show port errdisable-timeout 3/3
Port  Status      ErrDisableReason  Port ErrDisableTimeout  Action on Timeout
----  ----------  ----------------  ----------------------  -----------------
 3/3  errdisable  udld              Disable                 Remain Disabled
Console>

This example shows the output for a port in errdisabled state with the timeout flag enabled and with the reason disabled:

Console> show port errdisable-timeout 3/3

Port  Status      ErrDisableReason  Port ErrDisableTimeout  Action on Timeout
----  ----------  ----------------  ----------------------  -----------------
 3/3  errdisable  udld              Enable                  No Change
Console>

This example shows the output for a port in errdisabled state with the timeout flag enabled and with the reason enabled:

Console> show port errdisable-timeout 3/3

Port  Status      ErrDisableReason  Port ErrDisableTimeout  Action on Timeout
----  ----------  ----------------  ----------------------  -----------------
 3/3  errdisable  udld              Enable                  Enabled
Console>

This example shows the output for a port in errdisabled state with the timeout flag disabled and the reason disabled:

Console> show port errdisable-timeout 3/3

Port  Status      ErrDisableReason  Port ErrDisableTimeout  Action on Timeout
----  ----------  ----------------  ----------------------  -----------------
 3/3  errdisable  udld              Disable                 No Change
Console>

This example shows the output for a port in errdisabled state with the timeout flag disabled and the reason enabled:

Console> show port errdisable-timeout 3/3

Port  Status      ErrDisableReason  Port ErrDisableTimeout  Action on Timeout
----  ----------  ----------------  ----------------------  -----------------
 3/3  errdisable  udld              Disable                 Remain Disabled
Console>

This example shows the output for a port that is not errdisabled state with the timeout flag enabled and with the reason disabled:

Console> show port errdisable-timeout 3/3

Port  Status      ErrDisableReason  Port ErrDisableTimeout  Action on Timeout
----  ----------  ----------------  ----------------------  -----------------
 3/3  connected                  -  Enable                  No Change
Console>

Related Commands

set errdisable-timeout
set port errdisable-timeout
show errdisable-timeout

show port flowcontrol

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

show port flowcontrol [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

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

Examples

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

Table 2-68 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: on indicates flow control is operational; off indicates flow control is not operational; 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: on indicates flow control is operational; off indicates flow control is not operational; 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 Commands

set port flowcontrol

show port inlinepower

To display the port power administration and operational status, use the show port inlinepower command.

show port inlinepower [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

An inline power-capable device can still be detected even if the inline power mode is set to off.

The Operational (Oper) status field descriptions are as follows:

on—Power is being supplied by the port.

off—Power is not being supplied by the port.

denied—The system does not have enough available power for the port; power is not being supplied by the port.

faulty—The port is unable to provide power to the connected device.

Examples

This example shows how to display the inline power for multiple ports on a specific module:

Console> show port inlinepower 3/2-6
Default Inline Power allocation per port: 9.500 Watts (0.22 Amps @42V)
Total inline power drawn by module 3: 0 Watt
Port      InlinePowered     PowerAllocated
      Admin Oper   Detected mWatt mA @42V
----- ----- ------ -------- ----- --------
 3/2  auto  on     yes      10.00 0.250
 3/3  auto  on     yes      9.8   0.198
 3/4  auto  denied yes      0     0    
 3/5  off   off    no       0     0
 3/6  off   off    yes      0     0	 
Console>

Related Commands

set inlinepower defaultallocation
set port inlinepower
show environment

show port jumbo

To display the jumbo frame settings for all ports with the feature enabled, use the show port jumbo command.

show port jumbo

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

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 startup:

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

Related Commands

set port jumbo

show port l2protocol-tunnel

To display Layer 2 protocol tunneling information on a port or range of ports, use the show port l2protocol-tunnel command.

show port l2protocol-tunnel [mod[/port]]

Syntax Description

mod[/port]

(Optional) Number of the module and the number of the port or range of ports on the module. See the "Usage Guidelines" section for more information.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a port or range or ports, Layer 2 protocol tunneling information is displayed for all tunneling ports.

Examples

This example shows how to display Layer 2 protocol tunneling information for a range of ports:

Console> show port l2protocol-tunnel 7/1-2

Port                     Tunnel Protocol(s) Drop Threshold Shutdown Threshold  
------------------------ ------------------ -------------- ------------------ 
 7/1                     None                         1000              20000
 7/2                     None                            0                  0
Console>

Related Commands

clear l2protocol-tunnel cos
clear l2protocol-tunnel statistics
set l2protocol-tunnel cos
set port l2protocol-tunnel
show l2protocol-tunnel statistics

show port lacp-channel

To display information about LACP channels by port or module number, use the show port lacp-channel command.

show port lacp-channel [mod[/port]] [statistics]

show port lacp-channel [mod[/port]] info [type]

Syntax Description

mod[/port]

(Optional) Number of the module and the port number on the module.

statistics

(Optional) Displays the LACP channel statistics.

info

Displays detailed LACP channel information.

type

(Optional) Displays feature-related parameters; valid values are auxiliaryvlan, cops, dot1qtunnel, gmrp, gvrp, jumbo, protocol, qos, rsvp, spantree, trunk..


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not enter a module or a port number, information about all modules is displayed.

If you enter the module number only, information about all ports on the module is displayed.

For differences between PAgP and LACP, refer to the "Guidelines for Port Configuration" section of the "Configuring EtherChannel" chapter of the Catalyst 6500 Series Switch Software Configuration Guide.

Examples

This example shows how to display LACP channel information for all system modules:

Console> show port lacp-channel
Port  Channel   Admin Ch    Partner Oper                        Partner
      Mode       Key  Id    Sys ID                              Port
----- --------- ----- ----- ----------------------------------- -----
 2/1  active    143   768   1276,45-12-24-AC-78-90              5/1
 2/2  active    143   768   1276,45-12-24-AC-78-90              5/2
----- --------- ----- ----- ----------------------------------- ----- 
 4/3  passive   151   769   13459,89-BC-24-56-78-90             1/1
 4/4  passive   151   769   13459,89-BC-24-56-78-90             1/2
----- --------- ----- ----- ----------------------------------- ----- 
 4/7  passive   152   770   8000,AC-12-24-56-78-90              4/3
 4/8  passive   152   770   8000,AC-12-24-56-78-90              4/4
----- --------- ----- ----- ----------------------------------- ----- 
Console>

This example shows how to display LACP channel information for all ports on module 4:

Console> show port lacp-channel 4
Port  Channel   Admin Ch    Partner Oper                        Partner
      Mode       Key  Id    Sys ID                              Port
----- --------- ----- ----- ----------------------------------- -----
 4/1  active    69    0     0,00-00-00-00-00-00                 3/1
 4/2  active    69    0     0,00-00-00-00-00-00                 4/5
 4/3  passive   151   769   13459,89-BC-24-56-78-90             1/1
 4/4  passive   151   769   13459,89-BC-24-56-78-90             1/2 
 4/5  active    70    0     0,00-00-00-00-00-00                 7/3
 4/6  active    70    0     0,00-00-00-00-00-00                 7/4
 4/7  passive   152   770   8000,AC-12-24-56-78-90              4/3 
 4/8  passive   152   770   8000,AC-12-24-56-78-90              4/4 
Console>

This example shows how to display LACP channel information for port 7 on module 4:

Console> show port lacp-channel 4/7
Port  Channel   Admin Ch    Partner Oper                        Partner
      Mode       Key  Id    Sys ID                              Port
----- --------- ----- ----- ----------------------------------- -----
 4/7  passive   152   770   8000,AC-12-24-56-78-90              4/3 
 4/8  passive   152   770   8000,AC-12-24-56-78-90              4/4 
Console>

This example shows how to display detailed LACP channel information for port 7 on module 4:

Console> show port lacp-channel 4/7 info
I = Isolated Port.  C = Channeling Port.  N = Not Connected.
H = Hot Stand-by Port.  S = Suspended Port.

Port  LACP Port Port  Speed Duplex Vlan Trunk status Port  STP Port PortSecurity/ 
      Priority  Status                               Cost  Priority Dynamic port
----- --------- ------ ----- ------ ---- ------------ ----- -------- -------------
 4/7  130       C      1000  full   1    not-trunking     4       32
 4/8  131       C      1000  full   1    not-trunking     4       32

Port  Admin Channel_id ifIndex Partner Oper            Partner    Partner  Partner
       Key                     Sys ID                  Port prior port     Oper Key
----- ----- ---------- ------- ----------------------- ---------- -------- ----------
 4/7  152   770        31      8000,AC-12-24-56-78-90  248         4/3      15678
 4/8  152   770        31      8000,AC-12-24-56-78-90  249         4/4      15768
Console>

This example shows how to display LACP channel statistics for all ports on module 4:

Console> show port lacp-channel 4 statistics
Port  Admin    LACP Pkts  LACP Pkts Marker Pkts Marker Pkts LACP Pkts
       Key    Transmitted Received  Transmitted   Received    Errors      
----- ------- ----------- --------- ----------- ----------- ---------
 4/1       69          20         0         0         0         0
 4/2       69         105        60         0         0         0
 4/3      151           0         0         0        10         0
 4/4      151           0         5         0         0         0
 4/5       70           0         0         0         0         0
 4/6       70          42         0         0         2         0
 4/7      152           0        92         0         0         0
 4/8      152           0         0         0         0         0
Console> 

This example shows how to display LACP channel statistics for port 7 on module 4:

Console> show port lacp-channel 4/7 statistics
Port  Admin    LACP Pkts  LACP Pkts Marker Pkts Marker Pkts LACP Pkts
       Key    Transmitted Received  Transmitted   Received    Errors      
----- ------- ----------- --------- ----------- ----------- ---------
 4/7      152           0        92         0         0         0
 4/8      152           0         0         0         0         0
Console>

Examples

clear lacp-channel statistics
set channelprotocol
set lacp-channel system-priority
set port lacp-channel
set spantree channelcost
set spantree channelvlancost
show lacp-channel

show port mac

To display port MAC counter information, use the show port mac command.

show port mac [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display port MAC counter information for a specific module:

Console> show port mac 1

Port     Rcv-Unicast          Rcv-Multicast        Rcv-Broadcast
-------- -------------------- -------------------- --------------------
 1/1                        0                    0                    0
 1/2                        0                    0                    0
 1/3                        0                    0                    0
 1/4                        0                    0                    0

Port     Xmit-Unicast         Xmit-Multicast       Xmit-Broadcast
-------- -------------------- -------------------- --------------------
 1/1                        0                    0                    0
 1/2                        0                    0                    0
 1/3                        0                    0                    0
 1/4                        0                    0                    0

Port     Rcv-Octet            Xmit-Octet
-------- -------------------- --------------------
 1/1                        0                    0
 1/2                        0                    0
 1/3                        0                    0
 1/4                        0                    0                  

MAC      Dely-Exced MTU-Exced  In-Discard Lrn-Discrd In-Lost    Out-Lost
-------- ---------- ---------- ---------- ---------- ---------- ----------
 1/1              0          0          0          0          0          0
 1/2              0          0          0          0          0          0
 1/3              0          0          0          0          0          0
 1/4              0          0          0          0          0          0

Last-Time-Cleared
--------------------------
Fri Sep 1 2000, 20:03:06
Console> 

Table 2-69 describes the possible fields in the show port mac command output.

Table 2-69 show port mac Command Output Fields 

Field
Description

Rcv-Unicast

Number of unicast frames received on the port.

Rcv-Multicast

Number of multicast frames received on the port.

Rcv-Broadcast

Number of broadcast frames received on the port.

Xmit-Unicast

Number of unicast frames transmitted by the port.

Xmit-Multicast

Number of multicast frames transmitted by the port.

Xmit-Broadcast

Number of broadcast frames transmitted by the port.

Rcv-Octet

Number of octet frames received on the port.

Xmit-Octet

Number of octet frames transmitted on the port.

Dely-Exced

Number of transmit frames aborted due to excessive deferral.

MTU-Exced

Number of frames for which the MTU size was exceeded.

In-Discard

Number of incoming frames that were discarded because the frame did not need to be switched.

Out-Discard

Number of outbound packets chosen to be discarded even though no errors had been detected to prevent their being transmitted.

In-Lost

Number of incoming frames.

Out-Lost

Number of outbound packets.


Related Commands

clear counters

show port mac-address

To display the MAC address associated with a physical port or ports, use the show port mac-address command.

show port mac-address [mod[/port]]

Syntax Description 

mod[/port]

(Optional) Number of the module and optionally, the number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a module number, the MAC addresses for all ports on all modules are shown. If you specify a module number but no port number, the MAC addresses for all ports on the specified module are shown.

Examples

This example shows how to display the MAC address for port 1 on module 2:

Console> show port mac-address 2/1
Port  Mac address
----- ----------------------
 2/1  00-50-3e-7e-71-3c
Console>

This example shows how to display the MAC addresses for all ports on module 2:

Console> show port mac-address 2
Port  Mac address
----- ----------------------
 2/1  00-50-3e-7e-71-3c
 2/2  00-50-3e-7e-71-3d
Console>

This example shows how to display the MAC addresses for all ports on all modules:

Console> show port mac-address 
Port  Mac address
----- ----------------------
 2/1  00-50-3e-7e-71-3c
 2/2  00-50-3e-7e-71-3d

Port  Mac address
----- ----------------------
 5/1  00-d0-d3-33-80-9c
 5/2  00-d0-d3-33-80-9d
.
.
.
 5/48 00-d0-d3-33-80-cb

Port  Mac address
----- ----------------------
 7/1  00-50-54-6c-94-9c
 7/2  00-50-54-6c-94-9d
 7/3  00-50-54-6c-94-9e
 7/4  00-50-54-6c-94-9f
 7/5  00-50-54-6c-94-a0
 7/6  00-50-54-6c-94-a1
 7/7  00-50-54-6c-94-a2
 7/8  00-50-54-6c-94-a3
Console>

show port negotiation

To display the link negotiation protocol setting for the specified port, use the show port negotiation command.

show port negotiation [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

This command is not supported on the 16-Port Gigabit Ethernet Switching Module (WS-X6316-GE-TX) and on the 16-Port 10/100/1000BASE-T Switching Module (WS-X6516-GE-TX).

Examples

This example shows how to display the link negotiation protocol settings for all ports on module 4:

Console> show port negotiation 4
Port   Link Negotiation  Link Negotiation
         admin                     oper
--  -----------   ------- ----------------
 4/1   enabled                  enabled
 4/2   enabled                  enabled
 4/3   enabled                  enabled
 4/4   enabled                  enabled
 4/5   enabled                  enabled
 4/6   enabled                  enabled
 4/7   enabled                  enabled
Console>

Related Commands

set port negotiation
show port flowcontrol

show port prbs

To display the ports that are running the Pseudo Random Binary Sequence (PRBS) test and to display the counter values for ports on which the test has run, use the show port prbs command.

show port prbs [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

The PRBS error counter measures the reliability of the cable. The error counter range is 0 to 255. A value of 0 signifies a perfect link connection. A value of 255 signifies that the port is faulty or not connected or that there is no communication through the link. If the counter does not remain at zero for a predetermined length of time, the link is faulty. For example, for a baud error rate (BER) of 10^-12 the counter should remain at zero for 100 seconds.

Each time you access the PRBS counter by entering the show port prbs command, the PRBS error counter value is reset to 0, and the counter begins to accumulate errors again.


Note The PRBS counter is a "read and clear" register, the first reading in a sequence is usually unreliable and serves primarily to purge the counter; successive readings are accurate.


Examples

This example shows how to display PRBS counter values and the ports that are running the PRBS test:

Console> show port prbs

Max error counters = 255
Port    PRBS state    PRBS error counters
----    ----------------------------------
6/1     start         30
7/1     stop          -
Console>

Related Commands

test cable-diagnostics

show port protocol

To view protocol filters configured on the EtherChannel ports, use the show port protocol command.

show port protocol [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

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 Commands

set port protocol

show port qos

To display QoS-related information, use the show port qos command.

show port qos [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines


Note When a switchover occurs, you cannot view the ACLs and policers deployed using COPS-DS until the COPS-DS client on the new active supervisor engine establishes connection to the PDP and downloads the QoS policy. The runtime fields in the output display will be blank until QoS policy is downloaded to the new active supervisor engine.


Examples

This example shows how to display QoS-related information for a specific module and port:

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> 

This example shows how to display QoS-related information for a single port on a specific module, which, in this example, is connected to a port on a phone device:

Console> (enable) show port qos 3/4  
QoS is disabled for the switch.
Configured settings are not used.
QoS policy source for the switch set to local.

Port  Interface Type Interface Type Policy Source Policy Source
      config         runtime        config        runtime
----- -------------- -------------- ------------- -------------
 3/4               -              -         local         local

Port  TxPort Type  RxPort Type  Trust Type   Trust Type    Def CoS Def CoS
                                config       runtime       config  runtime
----- ------------ ------------ ------------ ------------- ------- -------
 3/4          2q2t         1q4t    untrusted    trust-cos        0       0 
Port  Ext-Trust Ext-Cos 
----- --------- -------
 3/4  untrusted       0

(*)Trust type set to untrusted.

Config:
Port  ACL name                         Type
----- -------------------------------- ----
No ACL is mapped to port 3/4.

Runtime:
Port  ACL name                         Type
----- -------------------------------- ----
No ACL is mapped to port 3/4.
Console> (enable) 

This example shows how to display QoS-related information for a single port on a specific module, which, in this example, trusts only Cisco IP phones:

Console> (enable) show port qos 4/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
----- -------------- -------------- ------------- -------------
 4/1      port-based     port-based          COPS         local

Port  TxPort Type  RxPort Type  Trust Type   Trust Type    Def CoS Def CoS
                                config       runtime       config  runtime
----- ------------ ------------ ------------ ------------- ------- -------
 4/1        1p3q1t       1p1q0t    trust-cos    trust-cos*       0       0 

Port  Ext-Trust Ext-Cos Trust-Device 
----- --------- ------- ------------ 
 4/1  untrusted       0 ciscoIPPhone

(*)Runtime trust type set to untrusted.

Config:
Port  ACL name                         Type
----- -------------------------------- ----
No ACL is mapped to port 4/1.
Runtime:
Port  ACL name                         Type
----- -------------------------------- ----
No ACL is mapped to port 4/1.
Console> (enable) 

Related Commands

set port qos
set port qos cos
set port qos trust
set port qos trust-device

show port rsvp

To display RSVP information on a per-port basis, use the show port rsvp command.

show port rsvp [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

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 Commands

set port rsvp dsbm-election

show port security

To view port security configuration information and statistics, use the show port security command.

show port security [mod[/port]]

show port security statistics {mod[/port]}

show port security statistics system

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.

statistics

Displays security statistics.

system

Displays system-wide configuration information.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display port security configuration information on a specific port that is a secured port:

Console> show port security 4/1
* = Configured MAC Address

Port  Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap     IfIndex
----- -------- --------- ------------- -------- ------------- -------- -------
 4/1  enabled  shutdown  120           1440     25            disabled 3

Port Secure-Src-Addrs  Age-Left Last-Src-Addr     Shutdown Shutdown-Time-Left
---- ----------------- -------- ----------------- -------- ------------------
 4/1 00-11-22-33-44-55 4        00-11-22-33-44-55 No       -
     00-10-14-da-77-f1 100     
Port  Flooding on Address Limit
----- -------------------------
 4/1                    Enabled
Console>

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

Console> show port security 4/1
* = Configured MAC Address

Port  Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap     IfIndex
----- -------- --------- ------------- -------- ------------- -------- -------
 4/1  enabled  shutdown  120           600      25            disabled 3

Port Secure-Src-Addrs  Age-Left Last-Src-Addr     Shutdown Shutdown-Time-Left
---- ----------------- -------- ----------------- -------- ------------------
 4/1 00-11-22-33-44-55 60       00-11-22-33-44-77 Yes      -
     00-10-14-da-77-f1 200
     00-11-22-33-44-66 200

Port  Flooding on Address Limit
----- -------------------------
 4/1                    Enabled
Console>

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

Console> show port security 4/1
* = Configured MAC Address

Port  Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap     IfIndex
----- -------- --------- ------------- -------- ------------- -------- -------
 4/1  enabled  restrict  120           600      25            disabled 3

Port Secure-Src-Addrs  Age-Left Last-Src-Addr     Shutdown Shutdown-Time-Left
---- ----------------- -------- ----------------- -------- ------------------
 4/1 00-11-22-33-44-55 60       00-11-22-33-44-77 Yes      -
     00-10-14-da-77-ff

Port  Flooding on Address Limit
----- -------------------------
 4/1                    Enabled
Console>

This example shows how to display system-wide configuration information:

Console> show port security statistics system

Auto-Configure Option Disabled

Module 1:
 Total ports:2
 Total secure ports:0
 Total MAC addresses:2
 Total global address space used (out of 1024):0
 Status:installed
Module 3:
 Total ports:48
 Total secure ports:1
 Total MAC addresses:49
 Total global address space used (out of 1024):1
 Status:installed
Total secure ports in the system:1
Total secure MAC addresses in the system:51
Total global MAC address resource used in the system (out of 1024):1
Console> 

This example shows how to display security statistical information for a specific module:

Console> show port security statistics 2
Port  Total-Addrs Maximum-Addrs
----- ----------- -------------
Module 2:
  Total ports: 1
  Total secure ports: 0
  Total MAC addresses: 0
  Total global address space used (out of 1024): 0
  Status: removed
Console>

Related Commands

clear port security
set port security

show port spantree

To view port spanning tree information, use the show port spantree command.

show port spantree [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

This example shows how to display spanning tree information on a specific module:

Console> (enable) show port spantree 5
Port(s)                  Vlan Port-State    Cost      Prio Portfast Channel_id
------------------------ ---- ------------- --------- ---- -------- ----------
5/1                      1    not-connected   2684354   32 disabled 0
5/2                      1    not-connected   2684354   32 disabled 0
5/3                      1    not-connected   2684354   32 disabled 0
5/4                      1    not-connected   2684354   32 disabled 0
5/5                      1    not-connected   2684354   32 disabled 0
5/6                      1    not-connected   2684354   32 disabled 0
5/7                      1    not-connected   2684354   32 disabled 0
5/8                      1    not-connected   2684354   32 disabled 0
5/9                      1    forwarding       268435   32 disabled 0
.
.
.

Related Commands

show spantree

show port status

To display port status information, use the show port status command.

show port status [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

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

Table 2-70 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 (100BASE-TX).

1 These fields will change according to the system configuration.


show port sync-restart-delay

To display a port's synchronization restart delay, use the show port sync-restart-delay command.

show port sync-restart-delay mod/port

Syntax Description

mod/port

Number of the module and the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

The set port sync-restart-delay and show port sync-restart-delay commands are available in both binary mode and text configuration mode, but the synchronization delay you specify is only saved in text configuration mode.

Related Commands

clear config
set port sync-restart-delay

show port tdr

To display the results of the Time Domain Reflectometer (TDR) test on a port, use the show port tdr command.

show port tdr [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

This example shows how to display the TDR test results for port 1 on module 2:

Console> show port tdr 2/1
TDR test last run on Mon, March 10 2003 1:35:00 

Port  Speed  Local pair  Pair length              Remote pair  Pair status
----  ------ ----------  -----------------------  -----------  ------------
2/1   1000   Pair A      12  +/- 3 meters          Pair A        Terminated
             Pair B      12  +/- 3 meters          Pair B        Terminated
             Pair C      12  +/- 3 meters          Pair C        Terminated
             Pair D      12  +/- 3 meters          Pair D        Terminated
Console>

This example shows how to display the TDR test results for all ports on module 5:

Console> show port tdr 5
Port  Speed  Local pair  Pair length              Remote pair  Pair status
----  ------ ----------  -----------------------  -----------  ------------
5/1   1000   Pair A      12  +/- 3 meters          Pair A        Terminated
             Pair B      12  +/- 3 meters          Pair B        Terminated
             Pair C      12  +/- 3 meters          Pair C        Terminated
             Pair D      12  +/- 3 meters          Pair D        Terminated
----  ------ ----------  -----------------------  -----------  ------------
Port  Speed  Local pair  Pair length              Remote pair  Pair status
----  ------ ----------  -----------------------  -----------  ------------
5/2   1000   Pair A      n/a                       Pair A        Terminated
             Pair B      100 +/- 1 meters          Pair B        Shorted
             Pair C      100 +/- 1 meters          Pair C        Shorted
             Pair D      70 +/- 1 meters           Pair D        Open
----  ------ ----------  -----------------------  -----------  ------------
Port  Speed  Local pair  Pair length              Remote pair  Pair status
----  ------ ----------  -----------------------  -----------  ------------
5/3   1000   Pair A      running tdr test          n/a          n/a
             Pair B      running tdr test          n/a          n/a
             Pair C      running tdr test          n/a          n/a
             Pair D      running tdr test          n/a          n/a
Console>

Table 2-71 describes the fields in the show port tdr command output.

Table 2-71 show port tdr Command Output Fields

Field
Description 

Port

Module and port number.

Speed

Port speed.

Local pair

Identifies the local pair of cables.

Pair length

Identifies the distance the transmitted signal went before it was reflected off the cable imperfection.

Remote pair

Identifies the remote pair of cables.

Pair status

Status of the pair:

Terminated—the link is up.

Shorted—a short is detected on the cable.

Open—an opening is detected on the cable.

Not Completed—the test on the port failed.

Not Supported—the test on the port is not supported.


Related Commands

test cable-diagnostics

show port trap

To display port trap status, use the show port trap command.

show port trap [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

This example shows how to display the port trap status for a specific module:

Console> show port trap 1

Port   Trap
-----  --------
 1/1   disabled
 1/2   enabled
 1/3   disabled
 1/4   disabled
Console>

Related Commands

set port trap

show port trunk

To display port trunk information, use the show port trunk command.

show port trunk [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

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

Console> (enable) show port trunk 4/5
* - indicates vtp domain mismatch

Port      Mode         Encapsulation  Status        Native vlan
--------  -----------  -------------  ------------  -----------
 4/5      nonegotiate  dot1q          trunking      1

Port      Vlans allowed on trunk
--------  ---------------------------------------------------------------------
 4/5      1-1005

Port      Vlans allowed and active in management domain 
--------  ---------------------------------------------------------------------
 4/5      1-3,1003,1005

Port      Vlans in spanning tree forwarding state and not pruned
--------  ---------------------------------------------------------------------
 4/5      1005
Console> (enable) 

Table 2-72 describes the fields in the show port trunk command output.

Table 2-72 show port trunk Command Output Fields

Field
Description 

Port

Module and port numbers.

Mode

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

Encapsulation

Trunking type configured by administration.

Status

Status of whether the port is trunking or nontrunking.

Native VLAN

Number of the native VLAN for the trunk link (for 802.1Q trunks, the VLAN for which untagged traffic can be transmitted and received over the trunk; for ISL trunks, packets are tagged on all VLANs, including the native VLAN).

Vlans allowed on trunk

Range of VLANs allowed to go on the trunk (default is 1 to 1000).

Vlans allowed and active in management domain

Range of active VLANs within the allowed range.

Vlans in spanning tree forwarding state and not pruned

Range of VLANs that actually go on the trunk with Spanning Tree Protocol forwarding state.


Related Commands

set trunk

show port unicast-flood

To display the run-time configuration of the port using unicast flood blocking, use the show port unicast-flood command.

show port unicast-flood [mod/[port]]

Syntax Description

mod/[port]

Number of the module and optionally, number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to display the status of unicast flood blocking on module 2:

Console> show port unicast-flood 2
Port   Unicast Flooding
-----  ----------------
 2/1   Enabled
 2/2   Enabled
Console>

This example shows how to display the status of unicast flood blocking on module 3, port 40:

Console> show port unicast-flood 3/40
Port   Unicast Flooding
-----  ----------------
 3/40  Enabled
Console> 

Related Commands

set port unicast-flood

show port voice

To display voice port information, use the show port voice command.

show port voice [noalias]

Syntax Description

noalias

(Optional) Forces the display to show IP addresses, not IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display voice port information:

Console> show port voice
Port  Name               Status     Vlan       Duplex Speed Type
----- ------------------ ---------- ---------- ------ ----- ------------
 7/1                     connected  100          full     1 T1
 7/2                     notconnect 100          full     1 T1
 7/3                     connected  100          full     1 T1
 7/4                     connected  100          full     1 T1
 7/5                     notconnect 100          full     1 T1

Port     DHCP    MAC-Address       IP-Address      Subnet-Mask
-------- ------- ----------------- --------------- ---------------
 7/1     disable 00-e0-b0-ff-31-c0 sjcf-12a-sw1-p7 255.255.254.0   
 7/2     disable 00-e0-b0-ff-31-c1 sjcf-12a-sw1-p7 255.255.254.0   
 7/3     disable 00-e0-b0-ff-31-c2 sjcf-12a-sw1-p7 255.255.254.0   
 7/4     disable 00-e0-b0-ff-31-c3 sjcf-12a-sw1-p7 255.255.254.0   
 7/5     disable 00-e0-b0-ff-31-c4 sjcf-12a-sw1-p7 255.255.254.0   

Port     Call-Manager(s)   DHCP-Server     TFTP-Server     Gateway
-------- ----------------- --------------- --------------- ---------------
 7/1     gigantic-2.cisc*  -               10.34.1.11      10.34.10.1      
         10.34.1.11      
 7/2     10.34.16.10*      -               10.34.1.11      10.34.10.1      
         10.34.1.11      
 7/3     10.34.16.10*      -               10.34.1.11      10.34.10.1      
         10.34.1.11      
 7/4     10.34.16.10*      -               10.34.1.11      10.34.10.1      
         10.34.1.11      
 7/5     10.34.1.11*       -               10.34.1.11      10.34.10.1      
         10.34.16.10     
         10.34.42.11     
(*):Primary
Port     DNS-Server(s)     Domain
-------- ----------------- -------------------------------------------------
 7/1     dns-sj3.cisco.c*  cisco.com
         dns-sj4.cisco.c 
 7/2     dns-sj3.cisco.c*  cisco.com
         dns-sj4.cisco.c 
 7/3     dns-sj3.cisco.c*  cisco.com
         dns-sj4.cisco.c 
 7/4     dns-sj3.cisco.c*  cisco.com
         dns-sj4.cisco.c 
 7/5     dns-sj3.cisco.c*  cisco.com
         dns-sj4.cisco.c 
(*):Primary

Port     CallManagerState DSP-Type
-------- ---------------- --------
 7/1     registered       C549
 7/2     registered       C549
 7/3     registered       C549
 7/4     registered       C549
 7/5     registered       C549

Port  NoiseRegen NonLinearProcessing
----- ---------- -------------------
 7/1  enabled    enabled
 7/2  enabled    enabled
 7/3  enabled    enabled
 7/4  enabled    enabled
 7/5  enabled    enabled
Console> 

This example shows how to display voice port information without displaying the IP address in DNS name format:

Console> show port voice noalias
Port  Name               Status     Vlan       Duplex Speed Type
----- ------------------ ---------- ---------- ------ ----- ------------
 7/1                     connected  100          full     1 T1
 7/2                     notconnect 100          full     1 T1
 7/3                     connected  100          full     1 T1
 7/4                     connected  100          full     1 T1
 7/5                     notconnect 100          full     1 T1

Port     DHCP    MAC-Address       IP-Address      Subnet-Mask
-------- ------- ----------------- --------------- ---------------
 7/1     disable 00-e0-b0-ff-31-c0 10.34.10.11     255.255.254.0   
 7/2     disable 00-e0-b0-ff-31-c1 10.34.10.12     255.255.254.0   
 7/3     disable 00-e0-b0-ff-31-c2 10.34.10.13     255.255.254.0   
 7/4     disable 00-e0-b0-ff-31-c3 10.34.10.14     255.255.254.0   
 7/5     disable 00-e0-b0-ff-31-c4 10.34.10.15     255.255.254.0   

Port     Call-Manager(s)   DHCP-Server     TFTP-Server     Gateway
-------- ----------------- --------------- --------------- ---------------
 7/1     10.34.16.10*      -               10.34.1.11      10.34.10.1      
         10.34.1.11      
 7/2     10.34.16.10*      -               10.34.1.11      10.34.10.1      
         10.34.1.11      
 7/3     10.34.16.10*      -               10.34.1.11      10.34.10.1      
         10.34.1.11      
 7/4     10.34.16.10*      -               10.34.1.11      10.34.10.1      
         10.34.1.11      
 7/5     10.34.1.11*       -               10.34.1.11      10.34.10.1      
         10.34.16.10     
         10.34.42.11     
(*):Primary

Port     DNS-Server(s)     Domain
-------- ----------------- -------------------------------------------------
 7/1     171.68.10.70*     cisco.com
         171.68.10.140   
 7/2     171.68.10.70*     cisco.com
         171.68.10.140   
 7/3     171.68.10.70*     cisco.com
         171.68.10.140   
 7/4     171.68.10.70*     cisco.com
         171.68.10.140   
 7/5     171.68.10.70*     cisco.com
         171.68.10.140   
(*):Primary

Port     CallManagerState DSP-Type
-------- ---------------- --------
 7/1     registered       C549
 7/2     registered       C549
 7/3     registered       C549
 7/4     registered       C549
 7/5     registered       C549

Port  NoiseRegen NonLinearProcessing
----- ---------- -------------------
 7/1  enabled    enabled
 7/2  enabled    enabled
 7/3  enabled    enabled
 7/4  enabled    enabled

Related Commands

set port voice interface dhcp
show port voice fdl
show port voice interface

show port voice active

To display active call information on a port, use the show port voice active command.

show port voice active [mod/port] [all | call | conference | transcode] [ipaddr]

Syntax Description

mod/port

(Optional) Number of the module and port on the module.

all

(Optional) Displays all calls (regular calls, conference calls, and transcoding calls) in the system.

call

(Optional) Displays call information for the 24-port FXS analog interface and the 8-port T1/E1 PSTN interface modules.

conference

(Optional) Displays call information for the 8-port T1/E1 PSTN interface module configured for conferencing.

transcode

(Optional) Displays call information for the 8-port T1/E1 PSTN interface module configured for transcoding.

ipaddr

(Optional) Remote IP address.


Defaults

The default is all active calls are displayed.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

The information displayed when using the show port voice active command is not available through the supervisor engine SNMP agent.

The call keyword is supported by the 24-port FXS analog interface and the 8-port T1/E1 PSTN interface modules.

The conference and transcode keywords are supported by the 8-port T1/E1 PSTN interface module.

You can use the optional mod or mod/port variables to display calls that belong to the specified module or port in detailed format.

There are up to 8 calls per port for the 8-port T1/E1 ISDN PRI services-configured module but only one call per port for the 24-port FXS analog station interface services-configured module.

The ipaddr option displays one specific call for the specified IP address. You can also use an IP alias.

Examples

This example shows how to display all calls (regular calls, conference calls, and transcoding calls) in the system:

Console> show port voice active
Port  Type         Total Conference-ID/ Party-ID IP-Address
                         Transcoding-ID
----- ------------ ----- -------------- -------- ---------------
 6/3  transcoding  1     2              12       192.1.1.12
                                        10       10.6.106.101
 8/2  call         1     -              -        123.46.1.100
 8/5  call         1     -              -        123.46.1.101
 8/7  conferencing 1     1              8        192.1.1.5
                                        7        123.45.1.52
                                        9        192.1.1.14
Total: 3
Console> (enable)

This example shows how to display regular calls:

Console> (enable) show port voice active call
Port  Total IP-Address
----- ----- ---------------
 8/2  1     123.46.1.100
 8/5  1     123.46.1.101
Total: 2 calls
Console> (enable)

This example shows the output display for the 8-port T1/E1 PSTN interface module configured for transcoding:

Console> (enable) show port voice active transcode
Port  Total Transcoding-ID Party-ID IP-Address
----- ----- -------------- -------- ---------------
 6/3  1     2              12       192.1.1.12
                           10       10.6.106.101
Total: 1 transcoding session
Console> (enable)

This example shows the output display for the 8-port T1/E1 PSTN interface module configured for conferencing:

Console> (enable) show port voice active conference
Port  Total Conference-ID  Party-ID IP-Address
----- ----- -------------- -------- ---------------
 8/7  1     1              8        192.1.1.5
                           7        123.45.1.52
                           9        192.1.1.14
Total: 1 conferencing session
Console> (enable)

This example shows how to display calls for a specified port:

Console> show port voice active 3/2
Port 3/2:
Channel #1:
  Remote IP address                         : 165.34.234.111
  Remote UDP port                           : 124
  Call state                                : Ringing 
  Codec Type                                : G.711
  Coder Type Rate                           : 35243
  Tx duration                               : 438543 sec
  Voice Tx duration                         : 34534 sec
  ACOM Level Current                        : 123213
  ERL Level                                 : 123 dB       
  Fax Transmit Duration                     : 332433
  Hi Water Playout Delay                    : 23004 ms
  Logical If index                          : 4
  Low water playout delay                   : 234 ms 
  Receive delay                             : 23423 ms
  Receive bytes                             : 2342342332423
  Receive packets                           : 23423423402384
  Transmit bytes                            : 23472377
  Transmit packets                          : 94540
Channel #2:
  Remote IP address                         : 165.34.234.112
  Remote UDP port                           : 125
  Call state                                : Ringing 
  Codec Type                                : G.711
  Coder Type Rate                           : 35243
  Tx duration                               : 438543 sec
  Voice Tx duration                         : 34534 sec
  ACOM Level Current                        : 123213
  ERL Level                                 : 123 dB       
  Fax Transmit Duration                     : 332433
  Hi Water Playout Delay                    : 23004 ms
  Logical If index                          : 4
  Low water playout delay                   : 234 ms 
  Receive delay                             : 23423 ms
  Receive bytes                             : 2342342332423
  Receive packets                           : 23423423402384
  Transmit bytes                            : 23472377
  Transmit packets                          : 94540
Port  3/7 :
  Conference ID: 1
    Party ID: 8
      Remote IP address                     : 192.1.1.5
      UDP Port                              : 28848
      Codec Type                            : G729 B CS ACELP VAD
      Packet Size (ms)                      : 20
    Party ID: 7
      Remote IP address                     : 123.45.1.52
      UDP Port                              : 28888
      Codec Type                            : G711 ULAW PCM
      Packet Size (ms)                      : 20
    Party ID: 9
      Remote IP address                     : 192.1.1.14
      UDP Port                              : 28898
      Codec Type                            : G711 ULAW PCM
      Packet Size (ms)                      : 20
Total: 2
Console>

This example shows the output display for a specified IP address on a 24-port FXS analog interface module or the 8-port T1/E1 PSTN interface module:

Console> show port voice active 3/2 171.69.67.91
  Remote IP address                         : 171.69.67.91
  Remote UDP port                           : 125
  Call state                                : Ringing 
  Codec Type                                : G.711
  Coder Type Rate                           : 35243
  Tx duration                               : 438543 sec
  Voice Tx duration                         : 34534 sec
  ACOM Level Current                        : 123213
  ERL Level                                 : 123 dB       
  Fax Transmit Duration                     : 332433
  Hi Water Playout Delay                    : 23004 ms
  Logical If index                          : 4
  Low water playout delay                   : 234 ms 
  Receive delay                             : 23423 ms
  Receive bytes                             : 2342342332423
  Receive packets                           : 23423423402384
  Transmit bytes                            : 23472377
  Transmit packets                          : 94540
Console>

Related Commands

set port voice interface dhcp

show port voice fdl

To display the facilities data link (FDL) statistics for the specified ports, use the show port voice fdl command.

show port voice fdl [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to display FDL information on an 8-port T1/E1 ISDN PRI services-configured module:

Console> (enable) show port voice fdl 7/1-3
Port  ErrorEvents       ErroredSecond     SeverlyErroredSecond
      Last 15' Last 24h Last 15' Last 24h Last 15' Last 24h
----- -------- -------- -------- -------- -------- -----------
 7/1  17       18       19       20       21       22
 7/2  17       18       19       20       21       22
 7/3  17       18       19       20       21       22

Port  FailedSignalState FailedSignalSecond
      Last 15' Last 24h Last 15' Last 24h
----- -------- -------- -------- ---------
 7/1  37       38       39       40
 7/2  37       38       39       40
 7/3  37       38       39       40

Port         LES               BES               LCV
      Last 15' Last 24h Last 15' Last 24h Last 15' Last 24h
----- -------- -------- -------- -------- -------- --------
 7/1  41       48       49       50       53       54
 7/2  41       48       49       50       53       54
 7/3  41       48       49       50       53       54
Console> (enable) 

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

Table 2-73 show port voice fdl Command Output Fields

Field
Description

ErrorEvents

Count of errored events.

ErroredSecond

Count of errored seconds.

SeverelyErroredSecond

Count of severely errored seconds.

FailedSignalState

Count of failed signal state errors.

FailedSignalSecond

Count of failed signal state.

LES

Line errored seconds detected.

BES

Bursty errored seconds detected.

LCV

Line code violation seconds detected.


Related Commands

show port voice

show port voice interface

To display the port voice interface configuration, use the show port voice interface command.

show port voice interface [mod[/port]]

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port on the module.


This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to display voice interface information for a specific module:

Console> show port voice interface 5
Port     DHCP    MAC-Address       IP-Address      Subnet-Mask
-------- ------- ----------------- --------------- ---------------
 5/1-24  disable 00-10-7b-00-13-ea 10.6.15.158     255.255.255.0   

Port     Call-Manager(s)   DHCP-Server     TFTP-Server     Gateway
-------- ----------------- --------------- --------------- ---------------
 5/1-24  10.6.15.155       -               10.6.15.155     -               

Port     DNS-Server(s)     Domain
-------- ----------------- -------------------------------------------------
 5/1-24  12.2.2.1*         cisco.cisco.com
         7.7.7.7         
(*): Primary
Console> 

Related Commands

set port voice interface dhcp
show port voice
show port voice active

show proc

To display CPU, memory allocation, and process utilization information, use the show proc command.

show proc [cpu | mem]

Syntax Description

cpu

(Optional) Specifies CPU information.

mem

(Optional) Specifies memory allocation information.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

You can enter this command only 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 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 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
Memory Pool Utilization
Memory Pool Type 1Min  5Min  10Min
---------------- ----- ----- -----
DRAM               49%   49%   49%
FLASH              82%   82%   82%
NVRAM              49%   49%   49%
MBUF                2%    2%    2%
CLUSTER            12%   12%   12%
MALLOC             15%   15%   15%
Console> (enable)

This example shows how to display process information:

Console> (enable) show proc mem
Memory Used:  7141936
       Free: 53346800
      Total: 60488736
PID        TTY        Allocated  Freed      Holding    Process
---------- ---------- ---------- ---------- ---------- ---------------
1          -2         2928912    4544       2924368    Kernel and Idle
2          -2         160        0          160        Flash MIB Updat
3          -2         160        0          160        L2L3IntHdlr    
4          -2         0          0          0          L2L3PatchRev   
5          -2         288        0          288        SynDiags       
6          -2         128        0          128        GenMsgHndlr    
7          -2         1158560    526480     632080     SynConfig      
8          -2         32         0          32         TempMon        
9          -2         16         0          16         EM_garbageColle
10         -2         192        0          192        PowerMgmt      
11         -2         1136       0          1136       FabricConfig   
12         -2         97536      0          97536      SL_TASK        
13         -2         18368      5056       13312      RedundantTask  
14         -2         2384       0          2384       Status Poll    
15         -2         96         0          96         SWPoll64bCnt   
16         0          384        0          384        HavailTask     
17         -2         10304      0          10304      SyncTask       
18         -2         48         0          48         SecurityRx     
19         -2         144        0          144        DeviceLinkChk  
20         -2         10576      10560      16         Earl           
21         -2         2768       2464       304        DTP_Rx         
22         -2         280624     151680     128944     EthChnlRx      
23         -2         0          0          0          llcSSTPFlood   
24         -2         1584       1152       432        EthChnlConfig  
25         -2         1232       0          1232       ACL            
26         -2         27760      3552       24208      VaclLog        
27         0          0          0          0          L3Aging        
28         0          209168     0          209168     NetFlow        
29         0          2688400    112        2688288    Fib            
30         -2         0          0          0          Fib_bg_task    
31         -2         176        0          176        ProtocolFilter 
32         -2         16         0          16         telnetd        
33         -2         16         0          16         tftpd          
34         -2         1744       1632       112        ProtocolTimer  
35         -2         96         0          96         ciscoRmonTimer 
36         -2         96         0          96         ciscoUsrHistory
37         -2         112        0          112        rmonMediaIndep 
38         -2         0          0          0          SnmpTraps      
39         -2         0          0          0          memPoolMain    
40         -2         16         0          16         Acct Send Bkg  
41         -2         80         0          80         l2t_server     
42         -2         144        0          144        Authenticator_S
43         -2         16         0          16         dot1x_rx       
44         -2         16         0          16         Backend_Rx     
45         -2         16         0          16         Backend_SM     
46         -2         3216       2992       224        Debug Port Coun
47         -2         16         0          16         SysLogTask     
48         -2         112        0          112        pinggateA      
49         -2         8704       8000       704        cdpd           
50         -2         124576     124416     160        cdpdtimer      
51         -2         1296       1088       208        SptTimer       
52         -2         2336       1120       1216       SptBpduRx      
53         -2         144        0          144        SptBpduTx      
54         -2         0          0          0          GL2Prot_Tunnel 
55         -2         176        0          176        VtpTimer       
56         -2         16         1072       4294966240 HPConfig       
57         -2         96         0          96         RMON AlarmTimer
58         -2         0          0          0          sptTraps       
59         -2         6128       5952       176        McastRx        
60         -2         16         0          16         IGMPQuerierProc
61         -2         272        0          272        M-MLS_stats    
62         -2         5808       1504       4304       M-MLS_manager  
63         -2         47520      15216      32304      QoSTask        
64         0          11936      0          11936      Read Stats Task
65         0          32         0          32         QDE Task       
66         -2         144        0          144        EnvMon         
67         -2         1120       0          1120       VlanStatsTask  
70         -2         16         0          16         HPActive       
71         -2         48         0          48         HPTrapMgr      
143        0          57200      4208       52992      Console        
144        -2         256208     29920      226288     snmpdm         
145        -2         208        0          208        VtpRx          
146        2252448660 68448      6864       61584      telnet146      
191        -2         29360      19504      9856       AclManager     
Memory Pool Utilization
Memory Pool Type 1Min  5Min  10Min
---------------- ----- ----- -----
DRAM               45%   45%   45%
FLASH              83%   83%   83%
NVRAM              49%   49%   49%
MBUF                2%    2%    2%
CLUSTER            11%   11%   11%
MALLOC             11%   11%   11%
Console> (enable)

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

Table 2-74 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 initiation (in milliseconds).

Invoked

Number of times the process was invoked since initiation.

uSecs

Maximum time a process ran in a single invocation.

5sec

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

1Min

Average memory pool usage over the last 1-minute interval.

5Min

Average memory pool usage over the last 5-minute interval.

10Min

Average memory pool usage over the last 10-minute interval.

TTY

TTY associated with the process.

Process

Name of the process.

Allocated

Amount of all the memory allocated by the process since it was initiated, including the memory previously freed up.

Freed

Amount of memory the process has freed up until now.

Holding

Amount of memory the process is currently holding.

Q

Process priority in terms of numbers. A 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

To list whether protocol filtering is enabled or disabled, use the show protocolfilter command.

show protocolfilter

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

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 Commands

set port protocol
set protocolfilter

show pvlan

To show the configuration for a given private VLAN, use the show pvlan command.

show pvlan [vlan | primary | isolated | community | twoway-community]

Syntax Description

vlan

(Optional) Number of the private VLAN.

primary

(Optional) Displays the primary private VLANs.

isolated

(Optional) Displays the isolated private VLANs.

community

(Optional) Displays the community private VLANs.

twoway-community

(Optional) Displays the bidirectional community private VLANs.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

A twoway-community private VLAN is a bidirectional community private VLAN that carries traffic among community ports and to and from community ports to and from the MSFC.

Examples

This example shows how to display the status for VLAN 10:

Console> show pvlan 10
Primary Secondary Secondary-Type Ports
------- --------- -------------- ------------
10      20        isolated       6/1
Console> 

This example shows how to display the status for all VLANs set as primary:

Console> show pvlan primary
Primary Secondary Secondary-Type Ports
------- --------- -------------- ------------
10      20        isolated       6/1
11      21        isolated       6/2
30      -         -              
Console> 

This example shows how to display the status for all VLANs set as isolated:

Console> show pvlan isolated
Primary Secondary Secondary-Type Ports
------- --------- -------------- ------------
10      20        isolated       6/1
11      21        isolated       6/2
-       31        isolated       
Console> 

This example shows how to display the status for all VLANs set as community:

Console> show pvlan community
Primary Secondary Secondary-Type Ports
------- --------- -------------- ------------
7       902       community      2/4-6        
Console>

Related Commands

clear config pvlan
clear pvlan mapping
clear vlan
set pvlan
set pvlan mapping
set vlan
show pvlan mapping
show vlan

show pvlan capability

To determine whether or not a port can be made a private port, use the show pvlan capability
command.

show pvlan capability mod/port

Syntax Description

mod/port

Number of the module and the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to determine if a port can be made into a private VLAN:

Console> (enable) show pvlan capability 5/20
Ports 5/13 - 5/24 are in the same ASIC range as port 5/20.

Port 5/20 can be made a private vlan port.
Console> (enable) 

These examples show the output if a port cannot be made into a private VLAN:

Console> (enable) show pvlan capability 3/1
Port 3/1 cannot be made a private vlan port due to:
------------------------------------------------------
Promiscuous ports cannot be made private vlan ports.
Console> (enable)

Console> (enable) show pvlan capability 5/1
Ports 5/1 - 5/12 are in the same ASIC range as port 5/1.

Port 5/1 cannot be made a private vlan port due to:
------------------------------------------------------
Trunking ports are not Private Vlan capable.
Conflict with Promiscuous port(s) : 5/2
Console> (enable)

Console> (enable) show pvlan capability 5/2
Ports 5/1 - 5/12 are in the same ASIC range as port 5/2.

Port 5/2 cannot be made a private vlan port due to:
------------------------------------------------------
Promiscuous ports cannot be made private vlan ports.
Conflict with Trunking port(s) : 5/1
Console> (enable)

Console> (enable) show pvlan capability 5/3
Ports 5/1 - 5/12 are in the same ASIC range as port 5/3.

Port 5/3 cannot be made a private vlan port due to:
------------------------------------------------------
Conflict with Promiscuous port(s) : 5/2
Conflict with Trunking port(s) : 5/1
Console> (enable)

Console> (enable) show pvlan capability 15/1
Port 15/1 cannot be made a private vlan port due to:
------------------------------------------------------
Only ethernet ports can be added to private vlans.
Console> (enable)

Related Commands

clear config pvlan
clear pvlan mapping
clear vlan
set pvlan
set pvlan mapping
set vlan
show pvlan mapping
show vlan

show pvlan mapping

To show the private VLAN mappings configured on promiscuous ports, use the show pvlan mapping command.

show pvlan mapping [private_vlan | mod/port]

Syntax Description

private_ vlan

(Optional) Number of the private VLAN.

mod/port

(Optional) Number of the module and port.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the private VLAN mapping by port:

Console> show pvlan mapping 
Port Primary Secondary
---- ------- ---------
 6/3  10      20
Console> 

This example shows how to display the private VLAN mapping for a specific VLAN:

Console> show pvlan mapping 10
Primary Secondary Ports
------- --------- -----
10      20        6/3
Console> 

This example shows how to display the private VLAN mapping for a specific port:

Console> show pvlan mapping 6/3
Port Primary Secondary
---- ------- ---------
 6/3  10      20
Console>

This example shows the results when no VLANs are mapped:

Console> show pvlan mapping
Port Primary Secondary
---- ------- ---------
No Private Vlan Mappings configured.
Console> 

Related Commands

clear config pvlan
clear pvlan mapping
clear vlan
set pvlan
set pvlan mapping
set vlan
show vlan

show qos acl editbuffer

To display ACL names in the edit buffer, use the show qos acl editbuffer command.

show qos acl editbuffer

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

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.

Examples

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

To display QoS ACL information, use the show qos acl info command.

show qos acl info default-action {ip | ipx | mac | all}

show qos acl info runtime {acl_name | all}

show qos acl info config {acl_name | all} [editbuffer [editbuffer_index]]

Syntax Description

default-action

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

ip

Displays QoS IP ACL information.

ipx

Displays all QoS IPX ACL information.

mac

Displays all QoS MAC ACL information.

all

Displays all QoS ACL information.

runtime

Displays runtime ACE information.

acl_name

Name of the ACL to be displayed.

config

Displays configured ACE information.

editbuffer

(Optional) Displays edit buffer information.

editbuffer_index

(Optional) Position of the ACE in the ACL.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

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 information for a specific ACL:

Console> (enable) 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 information for a specific ACL:

Console> (enable) 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) 

This example shows how to display runtime information for all ACLs:

Console> (enable) show qos acl info runtime all
set qos acl IP _Cops_1
----------------------------------------------
1. dscp 0 any 

set qos acl IP _Cops_2
----------------------------------------------
1. dscp 8 ip 10.0.0.0 0.255.255.255 10.0.0.0 0.255.255.255 
2. dscp 16 tcp any any 
3. dscp 24 udp any any
Console> (enable) 

Related Commands

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

show qos acl map

To display the ACL mapping information, use the show qos acl map command.

show qos acl map {config | runtime} {acl_name | mod/port | vlan | all}

Syntax Description

config

Displays NVRAM QoS information.

runtime

Displays QoS runtime information.

acl_name

Name of the list.

mod/port

Number of the module and the port.

vlan

VLAN list.

all

Displays information regarding all ACLs.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

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.


Note When a switchover occurs, you cannot view the ACLs and policers deployed using COPS-DS until the COPS-DS client on the new active supervisor engine establishes connection to the PDP and downloads the QoS policy. The runtime fields in the output display will be blank until QoS policy is downloaded to the new active supervisor engine.


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

clear qos acl
set qos acl map

show qos acl resource-usage

To display ACL management information, use the show qos acl resource-usage command.

show qos acl resource-usage

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

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-microflow-policing

To display the VLAN-bridged packet-policing status, use the show qos bridged-packet-policing command.

show qos bridged-microflow-policing {config | runtime} [vlan]

Syntax Description

config

Displays NVRAM configuration.

runtime

Displays the run time configuration.

vlan

(Optional) Number of the VLAN.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

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

Examples

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

Console> show qos bridged-microflow-policing config 1
QoS microflow policing is disabled for bridged packets on vlan 1.
Console>

This example shows how to display the NVRAM configuration of all VLANs:

Console> show qos bridged-microflow-policing config
QoS microflow policing is disabled for bridged packets on vlan(s) 1-1000,1025-40
94.
Console>

Related Commands

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

show qos info

To display QoS-related information for a specified port, use the show qos info command.

show qos info {runtime | config} {mod/port}

show qos info config port_type {tx | rx}

Syntax Description

runtime

Shows the current QoS runtime information.

config

Displays NVRAM QoS configuration.

mod/port

Number of the module and port.

port_type

Port type; valid values are 2q2t, 1p3q1t, 1p2q2t, 1p2q1t for transmit and 1q4t, 1p1q4t, and 1p1q0t, 1p1q8t, and 1q2t for receive. See the "Usage Guidelines" section for additional information.

tx

Displays transmit port information.

rx

Displays receive port information.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

The display of show qos info runtime mod/port 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 value (for example, 2q2t, 1p2q2t, 1q4t, 1p1q4t, or 1q2t) determines the number of threshold values the hardware supports. For example, with 2q2t, 1q2t 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 value 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 1p1q4t, and 1q2t, the number of queues specified is one. The system defaults for the transmit queues attempt to keep the maximum latency through a port at a maximum of 10 ms.

The number preceding the p letter in the port_type value (for example, 1p2q2t and 1p1q4t) determines the threshold in the priority queue.

The 1p2q1t and 1p1q8t port types are not supported.


Note When a switchover occurs, you cannot view the ACLs and policers deployed using COPS-DS until the COPS-DS client on the new active supervisor engine establishes connection to the PDP and downloads the QoS policy. The runtime fields in the output display will be blank until QoS policy is downloaded to the new active supervisor engine.


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
 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.
 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 another display of the current QoS runtime information:

Console> show qos info runtime 8/1 
Run time setting of QoS:
QoS is enabled
Policy Source of port 8/1:Local
Tx port type of port 8/1 :1p2q2t
Rx port type of port 8/1 :1q2t
Interface type:port-based
ACL attached:
The qos trust type is set to trust-cos.
Default CoS = 0    
Queue and Threshold Mapping for 1p2q2t (tx):
Queue Threshold CoS            
----- --------- ---------------
1     1         0 1 
1     2         2 3 
2     1         4 6 
2     2         7 
3     -         5 
Queue and Threshold Mapping for 1q2t (rx):
Queue Threshold CoS            
----- --------- ---------------
1     1         0 1 2 3 4 
1     2         5 6 7
Rx drop thresholds:
Queue #  Thresholds - percentage (* abs values)
-------  -------------------------------------
1        80% (13106 bytes) 100% (16384 bytes) 
Tx drop thresholds:
Tx drop-thresholds feature is not supported for this port type.
Rx WRED thresholds:
WRED feature is not supported for this port type.
Tx WRED thresholds:
Queue #  Thresholds - percentage (* abs values)
-------  ------------------------------------------
1        40%:70% (170393:298240 bytes) 70%:100% (298188:425856 bytes) 
2        40%:70% (32768:57344 bytes) 70%:100% (57344:77824 bytes) 
Tx queue size ratio:
Queue #  Sizes - percentage (* abs values)
-------  -------------------------------------
1        70% (425984 bytes)
2        15% (81920 bytes)
3        15% (81920 bytes)
Rx queue size ratio:
Rx queue size-ratio feature is not supported for this port type.
WRR Configuration of ports with speed 10Mbps:
Queue #  Ratios (* abs values)
-------  -------------------------------------
1        100 (25600 bytes)
2        255 (65280 bytes)
(*) Runtime information may differ from user configured setting due to hardware 
granularity.
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.
 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:
Tx WRED thresholds:
Queue #  Thresholds - percentage
-------  ------------------------------------------
1        0%:60% 0%:90%
2        0%:50% 0%:90%
Tx queue size ratio:
Queue #  Sizes - percentage
-------  -------------------------------------
1        70%
2        15%
3        15%
WRR Configuration of ports with 1p2q2t:
Queue #  Ratios
-------  -------------------------------------
1        5
2        255
Console> (enable) 

Related Commands

set qos

show qos mac-cos

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

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

show qos mac-cos all [config]

Syntax Description

dest_mac

MAC address of the destination host.

vlan

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

config

(Optional) Displays NVRAM QoS configuration.

all

Specifies all MAC address and VLAN pairs.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

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

clear qos mac-cos
set qos mac-cos

show qos maps

To display the mapping of different maps, use the show qos maps command.

show qos maps {config | runtime} [[cos-dscp-map | ipprec-dscp-map | dscp-cos-map | policed-dscp-map [normal-rate | excess-rate]]

Syntax Description

config

Displays NVRAM QoS configuration.

runtime

Displays current QoS configuration.

cos-dscp-map

(Optional) Specifies the CoS-to-DSCP map.

ipprec-dscp-map

(Optional) Specifies the IP precedence-to-DSCP map.

dscp-cos-map

(Optional) Specifies the DSCP-to-CoS map.

policed-dscp-map

(Optional) Specifies the marked-down map.

normal-rate

(Optional) Specifies normal rate.

excess-rate

(Optional) Specifies excess rate.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

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.


Note When a switchover occurs, you cannot view the ACLs and policers deployed using COPS-DS until the COPS-DS client on the new active supervisor engine establishes connection to the PDP and downloads the QoS policy. The runtime fields in the output display will be blank until QoS policy is downloaded to the new active supervisor engine.


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 dscp-cos-map map:

Console> show qos maps dscp-cos-map
DSCP - CoS map:
DSCP             CoS
---------------  ----