Catalyst 5000 Family Command Reference (6.3 and 6.4)
show multicast protocols status through show rif

Table Of Contents

show multicast router

show netstat

show ntp

show port

show port auxiliaryvlan

show port broadcast

show port capabilities

show port cdp

show port channel

show port counters

show port dot1x

show port filter

show port flowcontrol

show port ifindex

show port jumbo

show port mac

show port negotiation

show port protocol

show port qos

show port security

show port security statistics

show port status

show port trap

show port trunk

show proc

show protocolfilter

show qos info

show qos ip

show qos mac-cos

show qos policy-source

show qos router-mac

show qos statistics

show qos status

show radius

show rcp

show rgmp group


2

show multicast router

Use the show multicast router command to display which ports have CGMP-capable routers assigned to them.

show multicast router [cgmp | igmp | rgmp] [mod/port] [vlan_id]

Syntax Description

cgmp

(Optional) Keyword to display only the configuration information learned through CGMP.

igmp

(Optional) Keyword to display only the configuration information learned through IGMP.

rgmp

(Optional) Keyword to display only the configuration information learned through RGMP.

mod/port

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

vlan_id

(Optional) Number of the VLAN.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example show how to display the multicast router configuration:

Console> show multicast router
Port       Vlan
---------- ----------------

Total Number of Entries = 0
'*' - Configured
'+' - RGMP-capable
Console> 

This example show how to display the multicast router configuration for VLAN 99:

Console> show multicast router 99
Port       Vlan
---------- ----------------

Total Number of Entries = 0
'*' - Configured
Console> 

This example shows how to display only the configuration information learned through CGMP:

Console> show multicast router cgmp
CMGP Feature is enabled.
Console> 

Table 2-39 describes the fields in the show multicast router command output.

Table 2-39 show multicast router Command Output Fields

Field
Description

Port

Port through which a multicast router can be reached.

Vlan

VLAN associated with the port.

*

Status of whether the port was manually configured as a multicast router port.

+

States whether the port is RGMP capable.

CGMP enabled

Status of whether CGMP is enabled or disabled.

IGMP enabled

Status of whether IGMP is enabled or disabled.

Total Number of Entries

Total number of entries in the table that match the criteria specified by the command.


Related Commands

clear multicast router
set cgmp
set igmp
set igmp fastleave
set multicast router
show multicast group count

show netstat

Use the show netstat command to display the currently active network connections and to list statistics for the various protocols.

show netstat [tcp | udp | ip | icmp | routes | stats | interfaces]

Syntax Description

tcp

(Optional) Keyword to show TCP statistics.

udp

(Optional) Keyword to show UDP statistics.

ip

(Optional) Keyword to show IP statistics.

icmp

(Optional) Keyword to show ICMP statistics.

routes

(Optional) Keyword to show the IP routing table.

stats

(Optional) Keyword to show all statistics for TCP, UDP, IP, and ICMP.

interfaces

(Optional) Keyword to show interface statistics.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

Counter information for me1 is viewed by entering the show netstat interfaces command.

Examples

This example shows how to display the current active network connections:

Console> show netstat
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0    128  172.20.25.142.23       171.68.10.75.44720     ESTABLISHED
tcp        0      0  *.7161                 *.*                    LISTEN
tcp        0      0  *.23                   *.*                    LISTEN
udp        0      0  *.*                    *.*
udp        0      0  *.161                  *.*
udp        0      0  *.123                  *.*
Console>

This example shows how to display TCP statistics:

Console> show netstat tcp
tcp:
        5122 packets sent
                4642 data packets (102292 bytes)
                28 data packets (6148 bytes) retransmitted
                434 ack-only packets (412 delayed)
                0 URG only packets
                0 window probe packets
                1 window update packet
                17 control packets
        7621 packets received
                4639 acks (for 103883 bytes)
                69 duplicate acks
                0 acks for unsent data
                3468 packets (15367 bytes) received in-sequence
                12 completely duplicate packets (20 bytes)
                0 packets with some dup. data (0 bytes duped)
                4 out-of-order packets (0 bytes)
                0 packets (0 bytes) of data after window
                0 window probes
                0 window update packets
                0 packets received after close
                0 discarded for bad checksums
                0 discarded for bad header offset fields
                0 discarded because packet too short
        6 connection requests
        6 connection accepts
        10 connections established (including accepts)
        11 connections closed (including 1 drop)
        2 embryonic connections dropped
        4581 segments updated rtt (of 4600 attempts)
        28 retransmit timeouts
                0 connections dropped by rexmit timeout
        0 persist timeouts
        66 keepalive timeouts
                63 keepalive probes sent
                3 connections dropped by keepalive
Console>

Table 2-40 describes the fields in the show netstat tcp command output.

Table 2-40 show netstat tcp Command Output Fields 

Field
Description

packets sent

Total number of TCP packets sent.

data packets (bytes)

Number of TCP data packets sent and the size of those packets in bytes.

data packets (bytes) retransmitted

Number of TCP data packets retransmitted and the size of those packets in bytes.

ack-only packets (delayed)

Number of TCP acknowledgment-only packets sent and the number of those packets delayed.

packets received

Total number of TCP packets received.

acks (for x bytes)

Number of TCP acknowledgments received and the total bytes acknowledged.

duplicate acks

Number of duplicate TCP acknowledgments received.

acks for unsent data

Number of TCP acknowledgments received for data that was not sent.

packets (bytes) received in-sequence

Number of TCP packets (and the size in bytes) received in sequence.

completely duplicate packets (bytes)

Number of duplicate TCP packets (and the size in bytes) received.

packets with some dup. data (bytes duped)

Number of TCP packets received with duplicate data (and the number of bytes of duplicated data).

out-of-order packets (bytes)

Number of out-of-order TCP packets (and the size in bytes) received.

packets (bytes) of data after window

Number of TCP packets (and the size in bytes) received outside of the specified data window.

discarded for bad checksums

Number of TCP packets received and discarded that failed the checksum.

discarded because packet too short

Number of TCP packets received and discarded that were truncated.

connection requests

Total number of TCP connection requests sent.

connection accepts

Total number of TCP connection accepts sent.

connections established (including accepts)

Total number of TCP connections established, including those for which a connection accept was sent.

connections closed (including x drops)

Total number of TCP connections closed, including dropped connections.

retransmit timeouts

Number of timeouts that occurred when a retransmission was attempted.

connections dropped by rexmit timeout

Number of connections dropped due to retransmission timeouts.

keepalive timeouts

Number of keepalive timeouts that occurred.

keepalive probes sent

Number of TCP keepalive probes sent.

connections dropped by keepalive

Number of connections dropped.


This example shows how to display UDP statistics:

Console> show netstat udp
udp:
        0 incomplete headers
        0 bad data length fields
        0 bad checksums
        0 socket overflows
        1116 no such ports
Console>

Table 2-41 describes the fields in the show netstat udp command output.

Table 2-41 show netstat udp Command Output Fields 

Field
Description

incomplete headers

Number of UDP packets received with incomplete packet headers.

bad data length fields

Number of UDP packets received with a data length field that did not match the actual length of the packet payload.

bad checksums

Number of UDP packets received that failed the checksum.

socket overflows

Number of socket overflows.

no such ports

Number of UDP packets received destined for nonexistent ports.


This example shows how to display IP statistics:

Console> show netstat ip
ip:
        76894 total packets received
        0 bad header checksums
        0 with size smaller than minimum
        0 with data size < data length
        0 with header length < data size
        0 with data length < header length
        0 fragments received
        0 fragments dropped (dup or out of space)
        0 fragments dropped after timeout
        0 packets forwarded
        0 packets not forwardable
        0 redirects sent
Console>

Table 2-42 describes the fields in the show netstat ip command output.

Table 2-42 show netstat ip Command Output Fields

Field
Description 

total packets received

Total number of IP packets received.

bad header checksums

Number of received IP packets that failed the checksum.

with size smaller than minimum

Number of received IP packets that were smaller than the minimum IP packet size.

fragments received

Number of IP packet fragments received.

fragments dropped (dup or out of space)

Number of received IP packet fragments that were dropped because of duplicate data or buffer overflow.

fragments dropped after timeout

Number of received IP packet fragments that were dropped.

packets forwarded

Number of forwarded IP packets.

packets not forwardable

Number of IP packets that the switch did not forward.


This example shows how to display ICMP statistics:

Console> show netstat icmp
icmp:
        Redirect enabled
        0 calls to icmp_error
        0 errors not generated 'cuz old message was icmp
        Output histogram:
                echo reply: 1001
        1 message with bad code fields
        0 messages < minimum length
        0 bad checksums
        0 messages with bad length
        Input histogram:
                echo reply: 12
                destination unreachable: 3961
                echo: 1001
        1001 message responses generated
Console>

Table 2-43 describes the fields in the show netstat icmp command output.

Table 2-43 show netstat icmp Command Output Fields

Field
Description 

Redirect enabled

Status of whether ICMP redirection is enabled or disabled.

Output histogram

Frequency distribution statistics for output ICMP packets.

echo reply

Number of output echo reply ICMP packets.

messages with bad code fields

Number of ICMP packets with an invalid code field.

messages < minimum length

Number of ICMP packets with less than the minimum packet length.

bad checksums

Number of ICMP packets that failed the checksum.

messages with bad length

Number of ICMP packets with an invalid length.

Input histogram

Frequency distribution statistics for input ICMP packets.

echo reply

Number of input echo reply ICMP packets.

destination unreachable

Number of input destination unreachable ICMP packets.

echo

Number of input echo ICMP packets.

message responses generated

Number of ICMP message responses the system generated.


This example shows how to display the IP routing table:

Console> show netstat routes
DESTINATION     GATEWAY         FLAGS   USE             INTERFACE
default         172.16.1.201    UG      6186            sc0
172.16.0.0      172.16.25.142   U       6383            sc0
default         default         UH      0               sl0
Console>

Table 2-44 describes the fields in the show netstat routes command output.

Table 2-44 show netstat routes Command Output Fields

Field
Description 

DESTINATION

Destination IP address or network.

GATEWAY

Next hop to the destination.

INTERFACE

Interface out of which packets to the destination should be forwarded.


This example shows how to display interface statistics:

Console> show netstat interface
Interface          InPackets InErrors OutPackets OutErrors
sl0                        0        0          0         0
sc0                       33        0     117192         0
me1                        2        0      57075         0
Interface Rcv-Octet            Xmit-Octet
--------- -------------------- --------------------
sc0       2389                 0                   
me1       1172                 0                   
sl0       0                    0                   
Interface Rcv-Unicast          Xmit-Unicast
--------- -------------------- --------------------
sc0       28                   0                   
me1       28                   0                   
sl0       0                    0 
Console> 

Table 2-45 describes the fields in the show netstat interface command output.

Table 2-45 show netstat interface Command Output Fields 

Field
Description

Interface

Interface number (sl0 is the SLIP interface; sc0 is the in-band interface; me1 is the out-of-band interface).

InPackets

Number of input packets on the interface.

InErrors

Number of input errors on the interface.

OutPackets

Number of output packets on the interface.

OutErrors

Number of output errors on the interface.

Rcv-Octet

Number of octet frames received on the port.

Xmit-Octet

Number of octet frames transmitted on the port.

Rcv-Unicast

Number of unicast frames received on the port.

Xmit-Unicast

Number of unicast frames transmitted on the port.


Related Commands

set interface
set ip route

show ntp

Use the show ntp command to display the current NTP status.

show ntp

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the current NTP status:

Console> show ntp
Current time: Thu Jan 15 1999, 11:19:03 pst
Timezone: 'pst', offset from UTC is -8 hours
Summertime: 'pst', enabled
Last NTP update:
Broadcast client mode: enabled
Broadcast delay: 3000 microseconds
Client mode: disabled
Authentication: enabled

NTP-Server                                Server Key
----------------------------------------  ----------
172.20.33.140                             1722033140
172.20.33.114                             1722033114

Console>

The following output appears in the show ntp command output when entered from privileged mode:

Key Number   Mode        Key String
----------   ---------   --------------------------------
1234         trusted     32423423423
1722033140   untrusted   termserv-am
Console> (enable)

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

Table 2-46 show ntp Command Output Fields 

Field
Description

Current time

Current system time.

Timezone

Time zone and the offset in hours from UTC.

Summertime

Time zone for daylight saving time and whether the daylight saving time adjustment is enabled or disabled.

Last NTP update

Time of the last NTP update.

Broadcast client mode

Status of whether NTP broadcast-client mode is enabled or disabled.

Broadcast delay

Configured NTP broadcast delay.

Client mode

Status of whether NTP client mode is enabled or disabled.

NTP-Server

List of configured NTP servers.


Related Commands

clear ntp key
clear ntp server
set ntp broadcastclient
set ntp broadcastdelay
set ntp client
set ntp key
set ntp server

show port

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

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

In the status field, the following applies:

connected indicates the port is operational. connected is also displayed for the status of a port that is receiving remote fault indications. Remote fault indications are not sent until the link comes up and both ends can hear each other. This means that the link is up and everything is working correctly.

notconnected indicates the port is off or there is no GBIC in port.

faulty indicates the port failed diagnostics tests.

remfault indicates the far end station cannot synchronize with its receive signal.

disable indicates the port has been manually disabled.

remdisable indicates the far end port has been manually disabled.

configerr indicates that this port is not satisfied with the output of flow control and or duplex negotiation.

remcfgerr indicates that the far end port is not satisfied with the output of flow control and or duplex negotiation.

disagree indicates that the two ports have failed to agree on a duplex condition or that autonegotiation has failed.

Examples

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

Console> show port 3/1
Port  Name               Status     Vlan       Level  Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
 3/1                     connected  1          normal   half   100 100BaseFX MM

Port  Security Secure-Src-Addr   Last-Src-Addr     Shutdown Trap     IfIndex
----- -------- ----------------- ----------------- -------- -------- -------
 3/1  disabled                                     No       disabled 58     

Port     Broadcast-Limit Broadcast-Drop
-------- --------------- --------------
 3/1                   -              0

Port  Status     Channel   Channel     Neighbor                  Neighbor
                 mode      status      device                    port
----- ---------- --------- ----------- ------------------------- ---------- 
 3/1  connected  off       not channel

Port  Align-Err  FCS-Err    Xmit-Err   Rcv-Err    UnderSize
----- ---------- ---------- ---------- ---------- ---------
 3/1        3384         16          0          0         0
        
Port  Single-Col Multi-Coll Late-Coll  Excess-Col Carri-Sen Runts     Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
 3/1           0          0          0          0         0       521         0
        
Last-Time-Cleared
--------------------------
Thu Mar 2 2000, 14:24:55 
Console> 

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

Table 2-47 show port Command Output Fields 

Field
Description

Port

Module and port number.

Name

Name (if configured) of the port.

Status

Status of the port; possible displays are 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, fdx, half, hdx, a-half, a-hdx, a-full, or a-fdx).

Speed

Speed setting for the port (auto, 10, 100, 155, a-10, a-100, 4, 16, a-14,or a-16).

Type1

Port type, for example, 100BASE-FX MM, 100BASE-FX SM, 10/100BASE-TX, or RSM.

Security

Status of whether port security is enabled or disabled.

Secure-Src-Addr

Secure MAC address for the security enabled port.

Last-Src-Addr

Source MAC address of the last packet received by the port.

Shutdown

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

Trap

Status of whether port trap is enabled or disabled.

IfIndex

Number of the ifIndex.

Broadcast-Limit

Broadcast threshold configured for the port.

Broadcast-Drop

Number of broadcast/multicast packets dropped because the broadcast limit for the port was exceeded.

Send admin

Flow-control administration. Possible settings: on indicates the local port sends flow control to the far end; off indicates the local port does not send flow control to the far end; desired indicates the local end sends flow control to the far end if the far end supports it.

FlowControl oper

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

Receive admin

Flow-control administration. Possible settings: on indicates the local port requires the far end to send flow control; off indicates the local port does not allow the far end to send flow control; desired indicates the local end allows the far end to send flow control.

FlowControl oper

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

RxPause

Number of Pause frames received.

TxPause

Number of Pause frames transmitted.

Unsupported Opcodes

Number of unsupported operating codes.

Align-Err

Number of frames with alignment errors (frames that do not end with an even number of octets and have a bad CRC) received on the port.

FCS-Err

The number of valid size frames with FCS errors but no framing errors.

Xmit-Err

Number of transmit errors that occurred on the port (indicating that the internal transmit buffer is full).

Rcv-Err

Number of receive errors that occurred on the port (indicating that the internal receive buffer is full).

UnderSize

Number of received frames less than 64 octets long (but are otherwise well-formed).

Single-Coll

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

Multi-Coll

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

Late-Coll

Number of late collisions (collisions outside the collision domain).

Excess-Col

Number of excessive collisions that occurred on the port (indicating that a frame encountered 16 collisions and was discarded).

Carri-Sen

Number of times the port sensed a carrier (to determine whether the cable is currently being used).

Runts

Number of received runt frames (frames that are smaller than the minimum IEEE 802.3 frame size) on the port.

Giants

Number of received giant frames (frames that exceed the maximum IEEE 802.3 frame size) on the port.

Last-Time-Cleared

Last time the port counters were cleared.

Auto-Part

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

Data-rate mismatch

The number of valid size frames experienced overrun or underrun.

Src-addr change

The number of times the last source address changed.

Good-bytes

The total number of octets in frames with no error.

Short-event

The number of times activity with a duration less than the ShortEventMax Time (74-82 bit times) is detected.

1 These fields will change according to the system configuration.


show port auxiliaryvlan

Use the show port auxiliaryvlan command to display the port auxiliary VLAN status for a specific port.

show port auxiliaryvlan vlan

Syntax Description

vlan

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


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

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

Console> (enable) show port auxiliaryvlan 123
AuxiliaryVlan AuxVlanStatus Mod/Ports
------------- ------------- -------------------------
123           active        1/2,2/1-3
Console> (enable)

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

Table 2-48 show port auxiliaryvlan Output

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

Use the show port broadcast command to display broadcast information.

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

Normal.

Usage Guidelines

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

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

Examples

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

Console> show port broadcast 1/2
Port     Broadcast-Limit Broadcast-Drop
-------- --------------- --------------
 1/2                 75%            25%
Console> 

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

Table 2-49 show port broadcast Command Output Fields

Field
Description 

Port

Module and port number.

Broadcast-Limit

Broadcast threshold configured for the port in percent or packets per second.

Broadcast-Drop

Number of broadcast/multicast packets dropped because the broadcast limit for the port was exceeded.


Related Commands

clear port broadcast
set port broadcast

show port capabilities

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

show port capabilities [mod[/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, the ports on all modules are shown.

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

Examples

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

Console> show port capabilities 1/1
Model                    WS-X5530
Port                     1/1
Type                     10/100BaseTX
Speed                    auto,10,100
Duplex                   half,full
Trunk encap type         802.1Q,ISL
Trunk mode               on,off,desirable,auto,nonegotiate
Channel                  1/1-2,1/1-4
Broadcast suppression    percentage(0-100)
Flow control             receive-(off,on),send-(off,on)
Security                 yes
Membership               static,dynamic
Fast start               yes
QOS scheduling           rx-(none),tx-(none)
CoS rewrite              yes
ToS rewrite              IP-Precedence
Rewrite                  yes
UDLD                     Capable
Voice vlan               no 

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

Table 2-50 show port capabilities Command Output Fields

Field
Description 

Model

Module model number.

Port

Module number and port number.

Type1

Port type, for example, 100BASE-FX MM, 100BASE-FX SM, or 10/100BASE-TX.

Speed1

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

Duplex

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

Trunk encap type

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

Trunk mode

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

Channel

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

Number of packets-per-second (pps) of broadcast/multicast traffic allowed on the port (0-150000) or the percentage of total available bandwidth that can be used by broadcast/multicast traffic (0-100).

Flow control

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

Security

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

Membership

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

Fast Start

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

QoS Scheduling

(rx-(none),tx-(none)).

CoS Rewrite

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

ToS Rewrite

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

Rewrite

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

UDLD

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

Voice Vlan

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

1 These fields will change depending on the system configuration.


Related Commands

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

show port cdp

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

show port cdp [mod[/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

Port      CDP Status 
--------  ---------- 
 2/1      enabled     
 2/2      enabled     
 5/1      enabled     
 5/2      enabled     
 5/3      enabled     
 5/4      enabled     
 5/5      enabled     
 5/6      enabled     
 5/7      enabled     
 5/8      enabled     
Console> 

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

Table 2-51 show port cdp Command Output Fields

Field
Description 

Port

Module and port number.

CDP Status

CDP status of the port (enabled, disabled).

Message-Interval

Interval between CDP message exchange with neighbor.


Related Commands

set cdp
set cdp interval

show port channel

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

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

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port.

statistics

(Optional) Keyword to display EtherChannel PAgP statistics.

info

(Optional) Keyword to display EtherChannel configuration information.

spantree

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

trunk

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

protocol

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

gmrp

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

gvrp

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

qos

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


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

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

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

This example shows how to display PAgP packet statistics:

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

This example shows how to display EtherChannel configuration information:

Console> show port channel info
Switch Frame Distribution Method: mac both

Port  Status     Channel              Admin Channel Speed Duplex Vlan
                 mode                 group id
----- ---------- -------------------- ----- ------- ----- ------ ----
 1/1  connected  auto silent             22     769 a-100 a-full    1
 1/2  connected  auto silent             22     769 a-100 a-full    1
 1/3  connected  auto silent             22     769 a-100 a-full    1
 1/4  connected  auto silent             22     769 a-100 a-full    1
----- ---------- -------------------- ----- ------- ----- ------ ----

Port  ifIndex Oper-group Neighbor   Oper-Distribution PortSecurity/
                         Oper-group Method            Dynamic port
----- ------- ---------- ---------- ----------------- -------------
 1/1  626              1            mac both                       
 1/2  626              1            mac both                       
 1/3  626              1            mac both                       
 1/4  626              1            mac both                       
----- ------- ---------- ---------- ----------------- -------------

Port  Device-ID                       Port-ID                   Platform
----- ------------------------------- ------------------------- ----------------
 1/1  069003103(5500)                 3/13                      WS-C5500
 1/2  069003103(5500)                 3/14                      WS-C5500
 1/3  069003103(5500)                 3/15                      WS-C5500
 1/4  069003103(5500)                 3/16                      WS-C5500
----- ------------------------------- ------------------------- ----------------

Port  Trunk-status Trunk-type    Trunk-vlans
----- ------------ ------------- -----------------------------------------------
 1/1  trunking     n-isl         1-1005
 1/2  trunking     n-isl         1-1005