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

Table Of Contents

show port

show port auxiliaryvlan

show port broadcast

show port capabilities

show port cdp

show port channel

show port cops

show port counters

show port flowcontrol

show port inlinepower

show port jumbo

show port negotiation

show port protocol

show port qos

show port rsvp

show port security

show port status

show port voice

show port voice active

show port voice fdl

show port voice interface

show proc

show protocolfilter

show pvlan

show pvlan mapping

show qos acl editbuffer

show qos acl info

show qos acl map

show qos acl resource-usage

show qos bridged-packet-policing

show qos info

show qos mac-cos

show qos maps

show qos policer

show qos policy-source

show qos rsvp

show qos statistics

show radius

show reset

show rgmp group

show rgmp statistics

show rspan

show security acl

show security acl capture-ports

show security acl map

show security acl resource-usage

show snmp


22

show port

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

show port [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 setting.

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.

The output for an 8-port T1/E1 PSTN interface module configured for transcoding and/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."

Examples

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

Console> show port 1/1
Port  Name               Status     Vlan       Duplex Speed Type
----- ------------------ ---------- ---------- ------ ----- ------------
 1/1                     notconnect 1            full  1000 No GBIC


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

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

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

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

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

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

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

Last-Time-Cleared
--------------------------
Thu Feb 24 2000, 10:04:20
Console>

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

Console> show port 9/5
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     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
----- ------------------ ---------- ---------- ------ ----- ------------
 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-37 describes the possible fields (depending on the port type queried) in the show port command output.

Table 2-37 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, 1000BaseSX or 100BaseFX, 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.

Shutdown

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

Trap

Status of whether port trap is enabled or disabled.

IfIndex

Number of the ifIndex.

Broadcast-Limit

Broadcast threshold configured for the port.

Broadcast-Drop

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

Align-Err

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

FCS-Err

Number of valid size frames with FCS errors but no framing errors.

Xmit-Err

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

Rcv-Err

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

UnderSize

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

Single-Coll

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

Multi-Coll

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

Late-Coll

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

Excess-Col

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

Carri-Sen

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

Runts

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

Giants

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

CE-State

Connection entity status.

Conn-State

Connection state of the port, as follows:

Disabled—The port has no line module or was disabled by the user.

Connecting—The port attempted to connect or was disabled.

Standby—The connection was withheld or was the inactive port of a dual-homing concentrator.

Active—The port made a connection.

Other—The concentrator was unable to determine the Conn-State.

Type

Type of port, such as A—A port and B—B port.

Neig

Type of port attached to this port. The neighbor can be one of these types:

A—A port

B—B port

M—M port

S—Slave port

U—The concentrator cannot determine the type of the neighbor port.

Ler Con

Status of whether the port is currently in a LER condition.

Est

Estimated LER.

Alm

LER at which a link connection exceeds the LER alarm threshold.

Cut

LER cutoff value (the LER at which a link connection is flagged as faulty).

Lem-Ct

Number of LEM errors received on the port.

Lem-Rej-Ct

Number of times a connection was rejected because of excessive LEM errors.

Last-Time-Cleared

Last time the port counters were cleared.

Auto-Part

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

Data-rate mismatch

Number of valid size frames that experienced overrun or underrun.

Src-addr change

Number of times the last source address changed.

Good-bytes

Total number of octets in frames with no error.

Short-event

Number of short events received.

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

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/100BaseTX 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 auxiliaryvlan

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

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

Syntax Description

vlan

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

untagged

Keyword to display the Cisco IP Phone 7960 that sends untagged packets without 802.1p priority.

dot1p

Keyword to display the Cisco IP Phone 7960 that sends packets with 802.1p priority.

none

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


Defaults

This command has no default setting.

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

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

Table 2-38 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

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

Command Types

Switch command.

Command Modes

Privileged.

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.

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

Examples

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

Console> (enable) show port broadcast 1/2
Port     Broadcast-Limit Broadcast-Drop
-------- --------------- --------------------
1/2                20.00 %                   532
Console> (enable)

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

Table 2-39 show port broadcast Command Output Fields

Field
Description

Port

Module and port number.

Broadcast-Limit

Broadcast threshold configured for the port.

Broadcast-Drop

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


Related Commands

set port broadcast

show port capabilities

Use the show port capabilities command to display the capabilities on the ports.

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

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 list the port capabilities on a specific module and port:

Console> show port capabilities 1/1
Model                    WS-X6K-SUP1-2GE
Port                     1/1
Type                     No 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
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
Console> 

This example shows the port capabilities on a 48-port 10/100Bas 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> 

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

Table 2-40 show port capabilities Command Output Fields 

Field
Description

Model

Module model number.

Port

Module number and port number.

Type1

Port type (1000BaseSX or 100BaseFX).

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

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 port fast-start feature on the port is enabled (yes, no).

Qos classification

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

QoS scheduling

Status of whether the port supports QoS scheduling (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).

1 This field will change depending on the module configuration.

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


Related Commands

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

show port cdp

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

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

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

Table 2-41 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).


show port channel

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

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

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

Syntax Description

mod

(Optional) Number of the module.

port

(Optional) Number of the port.

statistics

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

info

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

spantree | trunk | protcol | gmrp | gvrp | qos

(Optional) Keyword to display feature-related parameters.


Defaults

This command has no default setting.

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), 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 channeling ports on all modules.

Examples

This example shows how to display Ethernet channeling information for module 1:

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

Port  Device-ID                       Port-ID                   Platform
----- ------------------------------- ------------------------- ----------------
 1/1  
 1/2  
Console> 

This example shows how to display port statistics:

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

This example shows how to display port information:

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

Port  Status     Channel   Admin Channel Speed Duplex Vlan PortSecurity/
                 mode      group id                        Dynamic port
----- ---------- --------- ----- ------- ----- ------ ---- -------------
 1/1  notconnect auto          1       0 1000  full      1 -             
 1/2  connected  auto          1       0 1000  full      1 -             

Port  ifIndex Oper-group Neighbor   Oper-Distribution
                         Oper-group Method
----- ------- ---------- ---------- -----------------
 1/1  -                1            mac both         
 1/2  -                2            mac both         

Port  Device-ID                       Port-ID                   Platform
----- ------------------------------- ------------------------- ----------------
 1/1  
 1/2  

Port  Trunk-status Trunk-type    Trunk-vlans
----- ------------ ------------- -----------------------------------------------
 1/1  not-trunking negotiate     1-1005
 1/2  not-trunking negotiate     1-1005
        
Port  Portvlancost-vlans
----- --------------------------------------------------------------------------
 1/1  
 1/2  

Port  Port     Portfast Port    Port
      priority          vlanpri vlanpri-vlans
----- -------- -------- ------- ------------------------------------------------
 1/1        32 disabled       0 
 1/2        32 disabled       0 

Port  IP       IPX      Group
----- -------- -------- --------
 1/1  on       auto-on  auto-on 
 1/2  on       auto-on  auto-on 

Port  GMRP     GMRP         GMRP
      status   registration forwardAll
----- -------- ------------ ----------
 1/1  enabled  normal       disabled  
 1/2  enabled  normal       disabled  

Port  GVRP     GVRP          GVRP
      status   registeration applicant
----- -------- ------------- ---------
 1/1  disabled normal        normal   
 1/2  disabled normal        normal   

Port  Qos-Tx Qos-Rx Qos-Trust    Qos-DefCos
----- ------ ------ ------------ ----------
 1/1  2q2t   1q4t   untrusted             0
 1/2  2q2t   1q4t   untrusted             0
Console>    

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

Console> (enable) show port channel 3 info spantree
Port  Port     Portfast Port    Port
      priority          vlanpri vlanpri-vlans
----- -------- -------- ------- ------------------------------------------------
3/1        32 disabled      12 2,4,90
3/2        32 disabled      12 2,4,90
3/3        32 disabled      12 2,4,90
3/4        32 disabled      12 2,4,90
Console>    

Console> (enable) show port channel 3 info trunk
Port  Trunk-status Trunk-type    Trunk-vlans
----- ------------ ------------- -----------------------------------------------
3/1  not-trunking negotiate     1-1005
3/2  not-trunking negotiate     1-1005
3/3  not-trunking negotiate     1-1005
3/4  not-trunking negotiate     1-1005
Console>    

Console> (enable) show port channel 3 info protcol
Port  IP       IPX      Group
----- -------- -------- --------
3/1  on       auto-on  auto-on 
3/2  on       auto-on  auto-on 
3/3  on       auto-on  auto-on 
3/4  on       auto-on  auto-on 
Console>    
Console> (enable) show port channel 3 info gmrp
Port  GMRP     GMRP         GMPR
      status   registration forwardAll
----- -------- ------------ ----------
3/1  enabled  normal       disabled  
3/2  enabled  normal       disabled  
3/3  enabled  normal       disabled  
3/4  enabled  normal       disabled  
Console>    

Console> (enable) show port channel 1 info gvrp
Port  GVRP     GVRP          GVRP
      status   registeration applicant
----- -------- ------------- ---------
1/1   disabled normal        normal   
1/2   disabled normal        normal        
Console>    

Console> (enable) show port channel 1 info qos
Port  Qos-Tx   Qos-Rx   Qos-Trust    Qos-DefCos Qos-Interface
      PortType PortType Type