Catalyst 4500 Series Command Reference, 7.5
show multicast router through show pvlan mapping

Table Of Contents

show multicast router

show netstat

show ntp

show port

show port auxiliaryvlan

show port capabilities

show port cdp

show port channel

show port counters

show port debounce

show port dot1x

show port errdisable-timeout

show port flowcontrol

show port ifindex

show port inlinepower

show port lacp-channel

show port mac

show port negotiation

show port protocol

show port security

show port security statistics

show port spantree

show port status

show port trap

show port trunk

show port unicast-flood

show proc

show protocolfilter

show pvlan

show pvlan capability

show pvlan mapping


show multicast router

To display which ports have Cisco Group Management Protocol (CGMP) capable routers assigned to them, use the show multicast router command.

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

Syntax Description

cgmp

(Optional) Displays only the configuration information learned through CGMP.

rgmp

(Optional) Displays 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> (enable) 

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-28 describes the fields in the show multicast router command output.

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

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 multicast router
show multicast group count

show netstat

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

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

Syntax Description

tcp

(Optional) Displays TCP statistics.

udp

(Optional) Displays UDP statistics.

ip

(Optional) Displays IP statistics.

icmp

(Optional) Displays ICMP statistics.

routes

(Optional) Displays the IP routing table.

stats

(Optional) Displays all statistics for TCP, UDP, IP, and ICMP.

interfaces

(Optional) Displays 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-29 describes the fields in the show netstat tcp command output.

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

Table 2-30 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-31 describes the fields in the show netstat ip command output.

Table 2-31 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-32 describes the fields in the show netstat icmp command output.

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

Table 2-33 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-34 describes the fields in the show netstat interface command output.

Table 2-34 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—switch

show ntp

To display the current Network Time Protocol (NTP) status, use the show ntp command.

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>

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

Table 2-35 show ntp Command Output Fields 

Field
Description

Current time

Current system time

Timezone

Time zone and 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

To display port status and counters, use the show port command.

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

In the Status field for the switch ports, the following applies:

connected indicates the port is operational.


Note 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 working correctly. According to the 802.3z Gigabit Ethernet Specification, a link partner is not allowed to send remote fault indications until after the link comes up successfully.


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

In the show port command display, the combination of the 32-port module (WS-X4502) and 4-port 100FX card results in an entry that lists 36 ports. If the uplink card is not installed, only ports 1 through 32 are listed.

Although me1 resides on the supervisor engine module for the Catalyst 4000 family switches, me1 port information is not displayed by the show module or show port CLI commands.

Examples

This example shows how to display the status and counters for ports on module 2:

Console> show port 3/1

Port  Name                 Status     Vlan       Duplex Speed Type
----- -------------------- ---------- ---------- ------ ----- ------------
 3/1                       connected  99         a-half  a-10 10/100BaseTX

Port  AuxiliaryVlan AuxVlan-Status     InlinePowered     PowerAllocated
                                   Admin Oper   Detected mWatt mA @42V
----- ------------- -------------- ----- ------ -------- ----- --------
 3/1  none          none           -     -      -        -     -


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

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

Port     Broadcast-Limit Multicast Unicast Total-Drop           errdisable
-------- --------------- --------- ------- -------------------- ----------
 3/1             75.00 %         -       -                    0   disabled

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

Port  Status     Channel              Admin Ch
                 Mode                 Group Id
----- ---------- -------------------- ----- -----
 3/1  connected  auto silent            163     0

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

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

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

Port  Last-Time-Cleared
----- --------------------------
3/3  Fri Oct 19 2001, 12:31:28
> >>Console>

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

Table 2-36 show port Command Output Fields 

Field
Description

Port

Module and port number.

Name

Name (if configured) of the port.

Status

Status of the port. For the Catalyst 4000 family and Catalyst 2948G switches, possible displays are connected, notconnect, faulty, remfault, disable, remdisable, configerr, remcfgerr, reflector, and disagree.

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 Valid values are 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.

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-Col

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 to 82 bit times) is detected.

ErrDisableReason

Reason for the port to in errdisabled state

Action on Timeout

Action that will be taken on errdisable timer timeout

1 These fields will change according to the system configuration.


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 | none]

Syntax Description

vlan

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

untagged

(Optional) Displays the port that sends untagged packets.

none

(Optional) Displays the port 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

Usage Guidelines

This command is not supported by the NAM.

Examples

This example shows how to display the port information for all auxiliary VLANs:

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

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)

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 AuxVlanStatus Mod/Ports
------------- ------------- ------------------------------------------------
none          none     2/1-3,2/8-12,2/19-22,2/24-30,2/35-48,3/1-11,3/13-48
Console> (enable) 

This example shows how to display the status of the switch that sends untagged packets:

Console> (enable) show port auxiliaryvlan untagged
AuxiliaryVlan AuxVlanStatus Mod/Ports
------------- ------------- -------------------------
untagged      untagged 3/12
Console> (enable) 

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

Table 2-37 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 capabilities

To display the port, type, duplex, trunking capabilities, and speed of the modules and ports in a switch, use the show port capabilities command.

show port capabilities [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 you do not specify a mod_num, the ports on all modules are shown.

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

Examples

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

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

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

Table 2-38 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_num/port_num format. For example, 3/1-2 indicates module 3, ports 1 and 2. In addition, 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 to 150000) or the percentage of total available bandwidth that can be used by broadcast/multicast traffic (0 to 100).

Flow control

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

Security

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

Membership

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

Fast Start

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

QoS Scheduling

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

CoS Rewrite

Status of whether the port supports COS rewrite (yes or no).

ToS Rewrite

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

Rewrite

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

UDLD

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

Voice Vlan

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

1 These fields will change depending on the system configuration.


Related Commands

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

show port cdp

To display port Cisco Discovery Protocol (CDP) enable state and message interval on the port, use the show port cdp command.

show port cdp [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 you do not specify a mod_num, the ports on all modules are shown. If you do not specify a /port_num, all the ports on the module are shown.

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

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

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

To display EtherChannel information for a specific module or port, use the show port channel command.

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

Syntax Description

mod/port

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

statistics

(Optional) Displays EtherChannel PAgP statistics.

info

(Optional) Displays EtherChannel configuration information.

spantree

(Optional) Displays only spanning-tree-related configuration information.

trunk

(Optional) Displays only VLAN-trunk-related configuration information.

protocol

(Optional) Displays only protocol-filtering-related configuration information.

gmrp

(Optional) Displays only GMRP-related configuration information.

gvrp

(Optional) Displays only  GVRP-related configuration information.

qos

(Optional) Displays 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/4  connected  auto silent             22   769
----- ---------- -------------------- ----- -----

Port  Device-ID                       Port-ID                   Platform
----- ------------------------------- ------------------------- ----------------
 1/1  069003103(4000)                 3/13                      WS-C4000
 1/2  069003103(4000)                 3/14                      WS-C4000
 1/4  069003103(4000)                 3/16                      WS-C4000
----- ------------------------------- ------------------------- ----------------
Console> 

Table 2-40 describes the fields in the show port channel output.

Table 2-40 show port channel Command Output Fields

Field
Description

Port

Module and port number

Status

Port connection status

Channel mode

EtherChannel mode

Admin Group

EtherChannel administrative group

Ch Id

EtherChannel ID

Device-ID

Serial number and hostname of neighboring device

Port-ID

Connected port number on neighboring device

Platform

Neighboring device platform


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> 

Table 2-41 describes the fields in the show port channel statistics output.

Table 2-41 show port channel statistics Command Output Fields  

Field
Description

Port

Port number

Admin Group

EtherChannel administrative group

PAgP Pkts Transmitted

Number of PAgP packets transmitted on the port

PAgP Pkts Received

Number of PAgP packets received on the port

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


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
 1/3  trunking     n-isl         1-1005
 1/4  trunking     n-isl         1-1005
----- ------------ ------------- -----------------------------------------------

Port  Portvlancost-vlans
----- --------------------------------------------------------------------------
 1/1  
 1/2  
 1/3  
 1/4  
----- --------------------------------------------------------------------------

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

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

Port  GMRP     GMRP         GMRP
      status   registration forwardAll
----- -------- ------------ ----------
 1/1  enabled  Normal       disabled  
 1/2  enabled  Normal       disabled  
 1/3  enabled  Normal       disabled  
 1/4  enabled  Normal       disabled  
----- -------- ------------ ----------
Port  GVRP     GVRP          GVRP
      status   registration applicant
----- -------- ------------- ---------
 1/1  disabled Normal        Normal   
 1/2  disabled Normal        Normal   
 1/3  disabled Normal        Normal   
 1/4  disabled Normal        Normal   
----- -------- ------------- ---------

Port  Qos-Tx   Qos-Rx   Qos-Trust    Qos-DefCos
      PortType PortType Type
----- -------- -------- ------------ ----------
 1/1  -        -        untrusted             0
 1/2  -        -        untrusted             0
 1/3  -        -        untrusted             0
 1/4  -        -        untrusted             0
----- -------- -------- ------------ ----------

Console>

Table 2-42 describes the fields in the show port channel info output.

Table 2-42 show port channel info Command Output Fields 

Field
Description

Switch Frame Distribution Method

Frame distribution method for all EtherChannels on the switch

Port

Port number

Status

Port connection status

Channel mode

EtherChannel mode

Admin group

EtherChannel administrative group

Channel id

EtherChannel ID

Speed

Port speed

Duplex

Port duplex

Vlan

Port VLAN membership

if-index

Interface index number

Oper-group

Capability of the group

Neighbor Oper-group

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

Chan cost

EtherChannel spanning tree port cost

Oper-Distribution Method

EtherChannel frame distribution method

PortSecurity/Dynamic Port

Status of whether the port is secure or dynamic

Device-ID

Serial number and hostname of neighboring device

Port-ID

Connected port number on neighboring device

Platform

Neighboring device platform

Trunk-status

VLAN trunking mode

Trunk-type

VLAN trunk encapsulation type

Trunk-vlans

Allowed VLAN list for the trunk

Portvlancost-vlans

Spanning tree port-VLAN cost and associated VLAN IDs

Port priority

Spanning tree port priority

Portfast

Spanning tree PortFast enable state

Port vlanpri-vlans

Spanning tree port-VLAN priority and associated VLAN IDs

IP

IP protocol filtering mode

IPX

IPX protocol filtering mode

Group

Group protocol filtering mode

GMRP status

GMRP enable state

GMRP registration

GMRP registration mode

GMRP forwardAll

GMRP forward-all enable status

GVRP status

GVRP enable state

GVRP registration

GVRP registration mode

GVRP applicant

GVRP applicant mode

Qos-Tx

Transmit queue and threshold port type

Qos-Rx

Receive queue and threshold port type

Qos-Trust

QoS port trust

QoS-DefCos

QoS default CoS


Related Commands

set channel cost
set channel vlancost
set port channel
show channel
show channel group

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/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 mod_num, the ports on all modules are shown.

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

Examples

This example shows the output of the show port counters command:

Console> (enable) show port counters
Port Align-Err  				FCS-Err    Xmit-Err   Rcv-Err    Broad-Limit Broad-Drop 
---- ---------- ---------- ---------- ---------- ----------- ---------- 
1/1    0         0          0           0          -            0 
1/2    0         0          0           0          -            0 
4/1	    0         0          0           0          10000p/s     0 
4/2    0         0          0           0          100p/s       53728 
4/3    0         0          0           0          -            0
4/4    0         0          0           0          11.50p/s      52 
Port Single-Col Multi-Coll Late-Coll  Excess-Col Carri-Sens Runts Giants 
---- ---------- ---------- --------- ---------- ---------- ----- ------
1/1    0           0           0        0          0         0      -
1/2    0           0           0        0          0         0      -
4/1    0           0           0        0          0         0      -
4/2    0           0           0        0          0         0      -
4/3    0           0           0        0          0         0      -
4/4	    0           0           0        0          0         0      -

                                    Ler
Port  CE-State Conn-State Type Neig Con Est Alm Cut Lem-Ct     Lem-Rej-Ct Tl-Min
----- -------- ---------- ---- ---- --------------- ---------- ---------- ------
 3/1  isolated connecting A    U    no    9   9   7          0          0 102
 3/2  isolated connecting B    U    no    9   8   7          0          0 40

Last-Time-Cleared
-------------------------- 
Wed Apr 10 1996, 14:59:51 
Console> (enable) 

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

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

Broad-Limit

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

Broad-Drop

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

Single-Col

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-Sens

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.

Tl-Min

TL-min value (the minimum time to transmit a FDDI PHY line state) before advancing to the next PCM state.

Last-Time-Cleared

Last time the port counters were cleared.


Related Commands

show port

show port debounce

To display the current state of the port debounce timers (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 dot1x

To display all the configurable and current state values associated with the authenticator PAE, backend authenticator, and statistics for the different types of EAP packets on a specific port, use the show port dot1x command set.

show port dot1x [mod[/port]]

show port dot1x statistics [mod[/port]]

Syntax Description

mod/port

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

statistics

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


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

Number of the module and 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 errdisable timeout configuration and status for a particular port:

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

Some of the cases and the corresponding output of the command "show port errdisable-timeout 3/3" are shown below. If the port is disabled and the reason is disabled globally, then the Action on Timeout field will have the value No Change irrespective of the Port ErrDisableTimeout field value. If the port is not in errdisabled state, then the Action on Timeout field will always have the value No Change.


CASE 1: Port is in errdisabled state, timeout flag is enabled and reason is disabled.

Console>(enable) show port errdisable-timeout 3/3

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

CASE 2: Port is in errdisabled state, timeout flag is enabled and reason is enabled.

Console>(enable) show port errdisable-timeout 3/3

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

CASE 3: Port is in errdisabled state, timeout flag is disabled and reason is disabled.

Console>(enable) show port errdisable-timeout 3/3

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

CASE 4: Port is in errdisabled state, timeout flag is disabled and reason is enabled.

Console>(enable) show port errdisable-timeout 3/3

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

CASE 5: Port is not in errdisabled state, timeout flag is enabled and reason is disabled.

Console>(enable) show port errdisable-timeout 3/3

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

Related Commands

set port 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/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 number, filters configured on all the ports on the module are shown.

Examples

This example shows how to display the flow-control port status and statistics:

Console> show port flowcontrol
Port   Send-Flowcontrol   Receive-Flowcntl   RxPause   TxPause
       Admin   Oper       Admin   Oper
-----  ----------------   ----------------   -------   ------
 3/1   on      disagree   on      disagree   0         0
 3/2	   off     off        off     off        0         0
 3/3   desired on         desired off        10        10
Console> 

Table 2-44 describes the fields in the show port flowcontrol command output.

Table 2-44 show port flowcontrol Command Output Fields 

Field
Description

Port

Module and port number.

Send-Flowcontrol-
Admin

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

Send-Flowcontrol-
Oper

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

Receive-Flowcntl-
Admin

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

Receive-Flowcntl-
Oper

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

RxPause

Number of Pause frames received.

TxPause

Number of Pause frames transmitted.


Related Commands

set port flowcontrol

show port ifindex

To view ifIndex information on a per-port or per-module basis, use the show port ifindex command.

show port ifindex [mod]

show port ifindex mod/port

Syntax Description

mod

(Optional) Number of the module.

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 display ifIndex information for all the ports:

Console> show port ifindex
Port   ifIndex
-----  -------
 1/1   3
 1/2   4
 3/1   383
 3/2   384
 4/1   385
 4/2   386
 4/3   387
 4/4   388
 4/5   389
 4/6   390
 4/7   391
 4/8   392
 4/9   393
 4/10  394
 4/11  395
 4/12  396
 4/13  397
Console> 

show port inlinepower

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

show port inlinepower [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

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:

on—Power is being supplied by the port.

off—Power is not being supplied by the port.

denied—System does not have enough available power for the port, and power is not 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 status for multiple ports on module 3, ports 2 to 6:

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 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 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 spantree, trunk, protocol, 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

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.

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 information about the port MAC counter, 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

Usage Guidelines

If you do not specify a port number, the port mac counter information is displayed for all the ports on the module.

Examples

This example shows how to display port MAC counter information for all ports on module 1:

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

Table 2-45 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 by 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

Lrn-Discard

Number of outbound packets chosen to be discarded even though no errors had been detected to prevent transmission

In-Lost

Number of incoming frames

Out-Lost

Number of outbound packets


Related Commands

clear counters

show port negotiation

To display the link negotiation protocol setting for a specific 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 supported on Gigabit Ethernet and some Fast Ethernet ports. If the port does not support the command, the following message is displayed (where N/N is the module and port number):

Feature not supported on Port N/N.

Examples

This example shows how to display the link negotiation protocol settings on module 3, port 1:

Console> show port negotiation 3/1
Port     Link Negotiation
------- --------------------
3/1          enabled
Console> 

Related Commands

set port negotiation
show port flowcontrol

show port protocol

To view protocol filters configured on a specific port, use the show port protocol command.

show port protocol [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 you do not specify a port number, 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
Console> 

This example shows how to view protocol filters on port 15 of module 3:

Console> (enable) show port protocol 3/15
Port     Vlan       IP       IP Hosts IPX      IPX Hosts Group    Group
Hosts
-------- ---------- ------- -------- -----      -------- -----   -------- 
3/15     1000       auto-on 2        auto-off  0         auto-off  0      

To:

Port     Vlan       AuxVlan IP       IP    IPX      IPX   Group    Group
                            Status   Hosts Status   Hosts Status   Hosts
-------- ---------- ------- -------- ----- -------- ----- -------- ----- 
 3/15    1000       234     auto-on  2     auto-off 0     auto-off  0 
Console> (enable)

Related Commands

set port protocol

show port security

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

show port security [mod[/port...]] [statistics]

Syntax Description

mod/port

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

statistics

Displays security statistics.


Defaults

Configuration information is displayed

Command Types

Switch command

Command Modes

Privileged

Usage Guidelines

If you enter this command on a Token Ring port, the following message is generated:

Feature not supported for Module x.

Examples

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

Console> (enable) show port security 4/1
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                                  

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

Console> (enable) show port security 4/1
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

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> (enable) show port security 4/1
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
Console> (enable)

Related Commands

clear qos config
set port security

show port security statistics

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

show port security statistics [mod [mod/port]] [system]

Syntax Description

mod

Number of the module.

mod/port

Number of the module and port.

system

(Optional) Displays systemwide configuration statistics.


Command Types

Switch command

Command Modes

Privileged

Usage Guidelines

If you enter this command on a Token Ring port, the following message is generated:

Feature not supported for Module x.

Examples

This example shows how to display port security configuration information on a secured port and
the output:

Console> (enable) show port security statistics system
Module 1:
  Total ports: 4
  Total MAC address(es): 4
  Total global address space used (out of 1024): 0
  Status: installed

Module 3:
  Total ports: 24
  Total MAC address(es): 24
  Total global address space used (out of 1024): 0
  Status: installed
Module 8:
  Module does not support port security feature
Module 10:
  Module does not support port security feature
Console> (enable) 

Related Commands

clear qos config
set port security

show port spantree

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

show port spantree [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 you do not specify 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 spanning tree information on all ports on module 5:

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

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/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 module number, the ports on all modules are shown.

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

Examples

This example shows how to display port status information for all ports on all modules:

Console> show port status
Port  Name               Status     Vlan       Level  Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
 1/1                     connected  523        Normal   half   100 100BaseTX
 1/2                     notconnect 1          Normal   half   100 100BaseTX
 2/1                     connected  trunk      Normal   half   400 Route Switch
 3/1                     notconnect trunk      Normal   full   155 OC3 MMF ATM
 5/1                     notconnect 1          Normal   half   100 FDDI
 5/2                     notconnect 1          Normal   half   100 FDDI
Console> 

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

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

VLAN to which the port belongs

Level

Level setting for the port (Normal or high)

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, 400, a-10, a-100, 4, 16, a-14, or a-16)

Type1

Port type (for example, 10BASE-T, 10BaseFL MM, 100BASE-TX, 100BASE-T4, 100BASE-FX MM, 100BASE-FX SM, 10/100BASE-TX, TokenRing, FDDI, CDDI, OC3, MMF, ATM, or RSM)

1 The types will change according to the system configuration.


show port trap

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

show port trap [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 you do not specify mod, the ports on all modules are shown. If you do not specify port, all the ports on a specified module are shown.

Examples

This example shows how to display port trap status for all ports on module 1:

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/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 mod, the ports on all modules are shown. If you do not specify port, all the ports on a specified module are shown.

Examples

This example shows how to display trunking information for module 4, port 5:

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

Table 2-47 show port trunk Command Output Fields

Field
Description 

Port

Module and port numbers

Mode

Trunk administrative status of the port (on, off, auto, nonnegotiate, 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 (valid values are from 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

show 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 | 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 show port unicast-flood command displays the run-time status of unicast flood. The switch may show as enabled or disabled depending upon if the address limiation has been reached.

Examples

This example shows how to display unicast flood blocking information for module 4, port 1 of a switch:

Console> (enable) show port unicast-flood 4/1
Port      Unicast Flooding
----      ----------------
4/1       Disabled
Console> (enable) 

Related Commands

set port unicast-flood

show proc

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

show proc [cpu | mem] {mod}

Syntax Description

cpu

(Optional) CPU information.

mem

(Optional) Memory information.

mod

Number of the module.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Privileged

Usage Guidelines

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

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

Examples

This example shows how to display CPU information:

Console> (enable) show proc cpu

CPU utilization for five seconds:   1.44%
                      one minute:   1.96%
                    five minutes:   1.02%

PID Runtime(ms) Invoked    uSecs    5Sec    1Min    5Min    TTY Process
--- ----------- ---------- -------- ------- ------- ------- --- ---------------
1   0           0          0         98.56%  98.04%  98.98% 0   Kernel and Idle
2   4           38         1000       0.00%   0.00%   0.00% 0   Flash MIB Updat
3   1421        5547       466000     0.00%   0.00%   0.00% 0   SynDiags       
4   166212      519822     19000      0.22%   0.00%   0.00% 0   SynConfig      
5   185         94681      1000       0.00%   0.00%   0.00% 0   Statuspoll     
6   472         297        0          0.00%   0.00%   0.00% 0   SWPoll64bCnt   
7   90          3548211    1000       0.00%   0.00%   0.00% 0   SL_TASK        
8   113         141960     106000     0.00%   0.00%   0.00% 0   RedundantTask 
Console> (enable) 

This example shows how to display process information:

Console> (enable) show proc mem

Memory Used:   1281040
      Freed:   9597104
      Total:  10878144

PID        TTY        Allocated  Freed      Holding    Process
---------- ---------- ---------- ---------- ---------- ---------------
1          0          711008     2832       708176     Kernel and Idle
2          0          240        0          240        Flash MIB Updat
3          0          284128     283712     416        SynDiags       
4          0          211856     1920       209936     SynConfig      
5          0          96         0          96         Statuspoll     
6          0          4944       4352       592        SWPoll64bCnt   
7          0          80         0          80         SL_TASK        
8          0          2272       1952       320        RedundantTask
Console> (enable) 

This example shows how to display process utilization information:

Console> (enable) show proc

CPU utilization for five seconds:   0.44%
                      one minute:   1.00%
                    five minutes:   1.00%

PID Q  T  PC         Runtime(ms) Invoked  uSecs   Stacks    TTY Process
--- -- -- ---------- ----------- -------- ------- --------- --- ---------------
1   1  rd 0x8041ab80 0           0        0       1580/6144 0   Kernel and Idle
2   1  st 0x8041adfc 4           38       1000    1604/6144 0   Flash MIB Updat
3   2  st 0x8041adfc 1421        5547     466000  3364/6144 0   SynDiags       
4   1  si 0x8041adfc 166438      520543   19000   1764/6144 0   SynConfig      
5   2  si 0x8041adfc 186         94812    1000    1576/6144 0   Statuspoll     
6   4  si 0x8041adfc 472         297      0        244/6144 0   SWPoll64bCnt   
7   2  si 0x8041adfc 92          3553068  1000     904/6144 0   SL_TASK        
8   2  si 0x8041adfc 113         142157   106000  1172/6144 0   RedundantTask
Console> (enable) 

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

Table 2-48 show proc Command Output Fields 

Field
Definition

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 being created (in milliseconds).

Invoked

Number of times the process has been invoked since being created.

uSecs

Maximum time a process ran in a single invocation.

5sec

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

1Min

Percentage of time this process ran on the CPU in the last 1 minute interval.

5Min

Percentage of time this process ran on the CPU in the last 5 minute interval.

TTY

TTY associated with the process.

Process

Name of the process.

Allocated

Sum of all the memory malloced by the process since it was created, and includes the memory previously freed.

Freed

Sum of memory the process has freed until now.

Holding

Amount of memory the process is currently holding.

PC

Calling PC for "show_process" function.

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

Stacks

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


show protocolfilter

To determine 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

show pvlan

To show the configuration for a specific private VLAN (PVLAN), 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 PVLAN is a bidirectional community PVLAN that carries traffic among community ports and to and from community ports to and from the supervisor engine.

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 capability
show pvlan mapping
show vlan

show pvlan capability

To determine if 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 port 20 on module 5 can be made into a PVLAN:

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

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
show pvlan mapping
show vlan

show pvlan mapping

To show the PVLAN 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 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 private VLAN mapping by port:

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

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

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

This example shows how to display the private VLAN mapping for port 3 on module 6:

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 pvlan
show pvlan capability
show vlan

2