Catalyst 4000 Family Command Reference, 7.3
show qos info through show test

Table Of Contents

show qos info

show qos status

show radius

show rcp

show reset

show rspan

show running-config

show snmp

show snmp access

show snmp community

show snmp context

show snmp counters

show snmp engineid

show snmp group

show snmp notify

show snmp targetaddr

show snmp targetparams

show snmp user

show snmp view

show span

show spantree

show spantree backbonefast

show spantree blockedports

show spantree bpdu-filter

show spantree bpdu-guard

show spantree bpdu-skewing

show spantree conflicts

show spantree defaultcostmode

show spantree guard

show spantree mapping

show spantree mistp-instance

show spantree mst

show spantree mst config

show spantree portfast

show spantree portinstancecost

show spantree portvlancost

show spantree statistics

show spantree summary

show spantree uplinkfast

show summertime

show switchacceleration

show system

show tacacs

show tech-support

show test


show qos info

Use the show qos info command to display Quality of Service (QoS) related information for a specified port.

show qos info {runtime | config}

Syntax Description

runtime

Keyword that displays current QoS run time information.

config

Keyword that displays the NVRAM setting of QoS.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

The show qos info runtime command display shows both the absolute values and the percentages that you specified for the drop thresholds, queue sizes, and WRR. However, because of the precision limitations of the hardware, the absolute values may not exactly match the percentages specified.

Examples

This example shows how to display current QoS configuration information:

Console> show qos info config
QoS setting in NVRAM:
QoS is enabled
All ports have 2 transmit queues with 1 drop thresholds (2q1t).
Default CoS = 4    
Queue and Threshold Mapping:
Queue Threshold CoS            
----- --------- ---------------
1     1         0 1 2 3 
2     1         4 5 6 7 
Console>

Related Commands

set qosset qos map

show qos status

Use the show qos status command to display whether Quality of Service (QoS) is enabled or disabled.

show qos status

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 the output from the show qos status command:

Console> (enable) show qos status 
QoS is disabled on this switch.
Console> (enable) set qos enable 
QoS is enabled.
Console> (enable) show qos status 
QoS is enabled on this switch. 

Related Commands

set qos

show radius

Use the show radius command to display configured RADIUS parameters.

show radius [noalias]

Syntax Description

noalias

(Optional) Keyword that displays IP addresses, not IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

This command can be entered in Normal or Privileged mode, but the RADIUS key is displayed only if the command is entered in Privileged mode.

Examples

This example shows how to display RADIUS information:

Console> (enable) show radius
Login Authentication:	  Console Session  Telnet Session
---------------------  ---------------- ---------------
tacacs                 disabled         disabled
radius                 enabled(primary) enabled(primary)
local                  enabled          enabled
Enable Authentication: Console Session  Telnet Session
---------------------- ---------------- ---------------
tacacs                 disabled         disabled
radius                 enabled(primary) enabled(primary)
local                  enabled          enabled
Radius deadtime: 	0 minutes
Radius key: 	hello
Radius retransmit: 	3
Radius timeout: 	5 seconds
Radius-Server	       Status  	Auth-port Acct-port
------------------- ------- --------- ---------
198.32.67.9         	primary	 1645      1813
172.31.11.12                1645      1646
Console> (enable)

Related Commands

set qos
set radius key
set radius retransmit
set radius server
set radius timeout

show rcp

Use the show rcp command to display remote copy protocol (rcp) information.

show rcp

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 rcp information:

Console> (enable) show rcp
rcp username for VMPS   :xena
rcp username for others :jdoe
Console> (enable)

Related Commands

clear rcp
set rcp username

show reset

Use the show reset command to display scheduled reset information.

show reset

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 scheduled reset information:

Console> (enable) show reset
Reset schedule for Fri Jan 21 2000, 23:00:00 (in 3 days 12 hours 56 minutes 57 s
econds).
Reset reason: Software upgrade
Console> (enable)

Related Commands

reset—switch

show rspan

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

show rspan

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

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

Examples

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

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

Destination     : Port 6/1
Rspan Vlan      : 906
Admin Source    : -
Oper Source     : -
Direction       : -
Incoming Packets: disabled
Learning        : -
Multicast       : -
Filter          : -
 
--------------------------------------------
 
Destination     : -
Rspan Vlan      : 903
Admin Source    : INBAND
Oper Source     : INBAND
Direction       : transmit
Incoming Packets: -
Learning        : -
Multicast       : disabled
Filter          : -
 
--------------------------------------------
 
Destination     : Port 7/1
Rspan Vlan      : 902
Admin Source    : -
Oper Source     : -
Direction       : -
Incoming Packets: enabled
Learning        : -
Multicast       : -
Filter          : -
Console> (enable) 

Related Commands

set rspan

show running-config

Use the show running-config command to display the configuration information currently running on the switch or the configuration for a specific Access Control List (ACL).

show running-config [system | mod_num] [all]

Syntax Description

system

(Optional) Keyword that displays system configuration.

mod_num

(Optional) Variable that specifies the number of the module.

all

(Optional) Keyword that specifies all modules and system configuration information, including the IP address.


Defaults

By default, this command shows only nondefault configurations. To view the entire configuration, use the keyword all.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to display the nondefault system and module configuration:

Console> (enable) show running-config
This command shows non-default configurations only.
Use 'show running-config all' to show both default and non-default configurations.
............

....................
..................
..

begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
#time: Wed May 9 2001, 15:23:22
!
#version 6.3(0.40)PAN
!
!
#system web interface version(s)
!
#test
set test diaglevel minimal
!
#system
set system countrycode GB
!
#frame distribution method
set port channel all distribution mac both
!
#snmp
set snmp access catherine security-model v1 read defaultAdminView nonvolatile
!
#tacacs+
set tacacs attempts 5
!
#kerberos
set kerberos local-realm help
!
<<<< output truncated >>>>
#switch port analyzer
set span 522 2/12 both inpkts enable learning enable create
set rspan source 2/3 500 rx reflector 2/34 create
set rspan destination 3/1  500  inpkts disable learning enable create
end
Console> (enable)

This example shows how to display the nondefault system configuration for module 3:

Console> (enable) show running-config 3
This command shows non-default configurations only.
Use 'show running-config <mod> all' to show both default and non-default configurations.
..................
begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
#time: Wed May 9 2001, 15:20:26
!
#module 3 : 6-port 1000BaseX Ethernet
set vlan 1    3/1
set trunk 3/4  on dot1q 1-1005
end
Console> (enable)

Related Commands

clear config—switch

show snmp

Use the show snmp command to display SNMP information.

show snmp [noalias]

Syntax Description

noalias

(Optional) Keyword that displays IP addresses, not IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display SNMP information:

Console> (enable) show snmp 
SNMP:			    Enabled
RMON:			    Disabled
Extended RMON Netflow:     Disabled
Memory usage limit for new RMON entries:85 percent 
Traps Enabled:
macnotification
Port Traps Enabled:None

Community-Access     Community-String    
----------------     --------------------
read-only            public
read-write           private
read-write-all       secret

Trap-Rec-Address Trap-Rec-Community Trap-Rec-Port Trap-Rec-Owner Trap-Rec-Index
---------------- ------------------ ------------- -------------- --------------
Console> (enable)

Table 2-53 describes the fields in the show snmp command output. The fields displayed depend on the port type queried.

Table 2-53 show snmp Command Output Fields 

Field
Description

RMON

RMON statistics (enabled or disabled)

Extended RMON

Extended RMON statistics (enabled or disabled)

Traps Enabled

Trap types that are enabled

Port Traps Enabled

Set of ports whose linkup/linkdown trap is enabled

Community-Access

Configured SNMP communities

Community-String

SNMP community strings associated with each SNMP community

Trap-Rec-Address

IP address or IP alias of trap receiver hosts

Trap-Rec-Community

SNMP community string used for trap messages to the trap receiver


Related Commands

set snmp
set snmp rmon
set snmp trap

show snmp access

Use the show snmp access command to display SNMP access information.

show snmp access [volatile | nonvolatile | read-only]

show snmp access [-hex] groupname security-model {v1 | v2c}

show snmp access [-hex] groupname security-model v3 {noauthentication | authentication |
privacy}

Syntax Description

volatile

(Optional) Keyword that displays information for volatile storage types.

nonvolatile

(Optional) Keyword that displays information for nonvolatile storage types.

read-only

(Optional) Keyword that displays information for read-only storage types.

-hex

(Optional) Keyword that displays groupname in hexadecimal format.

groupname

Variable that specifies the name of the SNMP group or collection of users who have a common access policy.

security-model v1 | v2c | v3

Keywords that specify security model v1, v2c, or v3.

noauthentication

Keyword that displays information for security models not set to use authentication protocol.

authentication

Keyword that displays information for authentication protocol.

privacy

Keyword that displays information regarding messages sent on behalf of the user that are protected from disclosure.


Defaults

The default storage type is volatile.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you use special characters for the groupname (nonprintable delimiters for these parameters), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:), such as 00:ab:34.

The read-only keyword is supported for security model v3 only.

Examples

This example shows how to display SNMP access information:

Console> (enable) show snmp access
Group Name: defaultROgroup
Context:
Security Model: v1
Security Level: noauthentication
Context Match: exact
Read View: defaultUserView
Write View:
Notify View: defaultUserView
Storage Type: read-only
Row Status: active

Group Name: defaultROgroup
Context:
Security Model: v2c
Security Level: noauthentication
Context Match: exact
Read View: defaultUserView
Write View:
Notify View: defaultUserView
Storage Type: read-only
Row Status: active
Console> (enable)

Related Commands

clear snmp access
set snmp access

show snmp community

Use the show snmp community command to display SNMP community information.

show snmp community

show snmp community [read-only | volatile | nonvolatile]

show snmp community index [-hex] {index name}

Syntax Description

read-only

(Optional) Keyword that defines the community as read-only.

volatile

(Optional) Keyword that defines the community type as temporary memory and deletes the content if the device is turned off.

nonvolatile

(Optional) Keyword that defines the community type as persistent memory and retains the content when the device is powered off and on.

index

Keyword that specifies the name of the community index.

-hex

(Optional) Keyword to display index name in hexadecimal format.

index name

Variable that specifies the name of the community index.


Defaults

By default, this command displays all table entries.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display SNMP community information:

Console> (enable) show snmp community
Community Index: sysCommunityRo.0
Community Name: public
Security Name: public
Context Name:
Transport Tag:
Storage Type: read-only
Row Status: active

Community Index: sysCommunityRw.0
Community Name: private
Security Name: private
Context Name:
Transport Tag:
Storage Type: read-only
Row Status: active

Community Index: sysCommunityRwa.0
Community Name: secret
Security Name: secret
Context Name:
Transport Tag:
Storage Type: read-only
Row Status: active

Console> (enable) 

Related Commands

clear snmp community
set snmp community

show snmp context

Use the show snmp context command to display SNMP context information.

show snmp context

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 SNMP context information:

Console> (enable) show snmp context 
Index Context
----- --------
    0 
    1 vlan-1
    2 vlan-55
    3 vlan-1002
    4 vlan-1003
    5 vlan-1004
    6 vlan-1005
Console> (enable) 

Related Commands

clear snmp access
set snmp access
show snmp access

show snmp counters

Use the show snmp counters command set to display SNMP counter information.

show snmp counters [v3 | {mod/port} {dot1d | dot3 | hcrmon | ifmib | rmon}]

Syntax Description

v3

(Optional) Keyword that specifies SNMPv3 counters.

mod

Variable that specifies the module number.

port

Variable that specifies the port number.

dot1d

(Optional) Keyword that specifies dot1d counters.

dot3

(Optional) Keyword that specifies dot3 counters.

hcrmon

(Optional) Keyword that specifies HCRMON counters.

ifmib

(Optional) Keyword that specifies if-MIB counters.

rmon

(Optional) Keyword that specifies RMON counters.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display all SNMP counters:

Console> show snmp counters
mib2 SNMP group counters:
snmpInPkts                 = 13993     
snmpOutPkts                = 13960     
snmpInBadVersions          = 0         
snmpInBadCommunityNames    = 33        
snmpInBadCommunityUses     = 0         
snmpInASNParseErrs         = 0         
snmpInTooBigs              = 0         
snmpInNoSuchNames          = 0         
snmpInBadValues            = 0         
snmpInReadOnlys            = 0         
snmpInGenErrs              = 0         
snmpInTotalReqVars         = 61747     
snmpInTotalSetVars         = 0         
snmpInGetRequests          = 623       
snmpInGetNexts             = 13337     
snmpInSetRequests          = 0         
snmpInGetResponses         = 0         
snmpInTraps                = 0         
snmpOutTooBigs             = 0         
snmpOutNoSuchNames         = 230       
snmpOutBadValues           = 0         
snmpOutGenErrs             = 0         
snmpOutGetRequests         = 0         
snmpOutGetNexts            = 0         
snmpOutSetRequests         = 0         
snmpOutGetResponses        = 13960     
snmpOutTraps               = 0         
Console> 

Table 2-54 describes the fields in the show snmp counters command output.

Table 2-54 show snmp counters Command Output Fields 

Field
Description

snmpInPkts

Number of messages delivered to the SNMP entity from the transport service

snmpOutPkts

Number of SNMP messages passed from the SNMP protocol entity to the transport service

snmpInBadVersions

Number of SNMP messages delivered to the SNMP entity for an unsupported SNMP version

snmpInBadCommunityNames

Number of SNMP messages delivered to the SNMP entity that used an SNMP community name not known to said entity

snmpInBadCommunityUses

Number of SNMP messages delivered to the SNMP entity that represented an SNMP operation not allowed by the SNMP community named in the message

snmpInASNParseErrs

Number of ASN.1 or BER errors encountered by the SNMP entity when decoding received SNMP messages

snmpInTooBigs

Number of SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as "tooBig"

snmpInNoSuchNames

Number of SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as "noSuchName"

snmpInBadValues

Number of SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as "badValue"

snmpInReadOnlys1

Number of valid SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as "readOnly"

snmpInGenErrs

Number of SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as "genErr"

snmpInTotalReqVars

Number of MIB objects retrieved successfully by the SNMP protocol entity as the result of receiving valid SNMP Get-Request and Get-Next PDUs

snmpInTotalSetVars

Number of MIB objects altered successfully by the SNMP protocol entity as the result of receiving valid SNMP Set-Request PDUs

snmpInGetRequests

Number of SNMP Get-Request PDUs accepted and processed by the SNMP protocol entity

snmpInGetNexts

Number of SNMP Get-Next PDUs accepted and processed by the SNMP protocol entity

snmpInSetRequests

Number of SNMP Set-Request PDUs accepted and processed by the SNMP protocol entity

snmpInGetResponses

Number of SNMP Get-Response PDUs accepted and processed by the SNMP protocol entity

snmpInTraps

Number of SNMP Trap PDUs accepted and processed by the SNMP protocol entity

snmpOutTooBigs

Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status field as "tooBig"

snmpOutNoSuchNames

Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status as "noSuchName"

snmpOutBadValues

Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status field as "badValue"

snmpOutGenErrs

Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status field as "genErr"

snmpOutGetRequests

Number of SNMP Get-Request PDUs generated by the SNMP protocol entity

snmpOutGetNexts

Number of SNMP Get-Next PDUs generated by the SNMP protocol entity

snmpOutSetRequests

Number of SNMP Set-Request PDUs generated by the SNMP protocol entity

snmpOutGetResponses

Number of SNMP Get-Response PDUs generated by the SNMP protocol entity

snmpOutTraps

Number of SNMP Trap PDUs generated by the SNMP protocol entity

1 It is a protocol error to generate an SNMP PDU that contains the value "readOnly" in the error-status field. This object is provided as a means of detecting incorrect implementations of the SNMP.


show snmp engineid

Use the show snmp engineid command to display the SNMP local engine ID.

show snmp engineid

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If the SNMP engine ID is cleared, the system automatically regenerates a local SNMP engine ID.

The SNMP engine and the SNMP entity have a one-to-one mapping. You can also identify the SNMP entity, which is represented as hexadecimal numbers only, and must be from 5 to 32 bytes long; for example, 00:00:00:09:0a:fe:ff:12:97:33:45:12.

Examples

This example shows how to display the SNMP engine ID:

Console> (enable) show snmp engineid
EngineId: 00:00:00:09:00:d0:00:4c:18:00
Engine Boots: 1234455
Console> (enable) 

Table 2-55 describes the fields in the show snmp engineid command output.

Table 2-55 show snmp engineid Command Output Fields 

Field
Description

EngineId

String identifying the name of the SNMP copy on the device

Engine Boots

Number of times an SNMP engine has been started or reinitialized


Related Commands

show snmp

show snmp group

Use the show snmp group command to display the name of the SNMP group or collection of users who have a common access policy.

show snmp group [volatile | nonvolatile | read-only]

show snmp group {-hex} {groupname} user {-hex} {username} {security-model
{
v1 | v2c | v3}}

Syntax Description

volatile

(Optional) Keyword that defines the storage type as temporary memory and deletes the content if the device is powered off.

nonvolatile

(Optional) Keyword that defines the storage type as persistent memory and retains the content when the device is powered off and on.

read-only

(Optional) Keyword that defines the storage type as read-only.

groupname

Variable that specifies the name of the SNMP group or collection of users who have a common access policy.

user

Keyword that specifies a SNMP group.

-hex

Keyword that displays groupname and username in hexadecimal format.

username

Variable that specifies the SNMP group user name.

security-model v1 | v2c | v3

Keywords that specify security model v1, v2c, or v3.


Defaults

The default storage type is volatile.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you use special characters for the groupname and username variables (nonprintable delimiters for these parameters), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.

Examples

This example shows how to display the SNMP group:

Console> (enable) show snmp group
Security Model: v1
Security Name: public
Group Name: defaultROgroup
Storage Type: volatile
Row Status: active

Security Model: v1
Security Name: secret
Group Name: defaultRWALLgroup
Storage Type: volatile
Row Status: active

Security Model: v1
Security Name: private
Group Name: defaultRWgroup
Storage Type: volatile
Row Status: active

Security Model: v2c
Security Name: public
Group Name: defaultROgroup
Storage Type: volatile
Row Status: active
Console> (enable) 

Table 2-56 describes the fields in the show snmp group command output.

Table 2-56 show snmp group Command Output Fields 

Field
Description

Security Model

Security model used by the group

Security Name

Security string definition

Group Name

Name of the SNMP group or collection of users who have a common access policy

Storage Type

Keyword to indicate whether the settings are volatile or nonvolatile

Row Status

Status of the entry


Related Commands

clear snmp group
set snmp group

show snmp notify

Use the show snmp notify command to display the snmpNotifyTable configuration.

show snmp notify [volatile | nonvolatile | read-only]

show snmp notify {-hex} {notifyname}

Syntax Description

volatile

(Optional) Keyword that defines the storage type as temporary memory and deletes the content if the device is powered off.

nonvolatile

(Optional) Keyword that defines the storage type as persistent memory and retains the content when the device is powered off and on.

read-only

(Optional) Keyword that defines the storage type as read-only.

-hex

Keyword that displays notifyname in hexadecimal format.

notifyname

Variable that specifies a unique identifier that indexes the snmpNotifyTable.


Defaults

The default is that storage type is nonvolatile.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you use special characters for the notifyname variable (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.

Examples

This example shows how to display the SNMP notify information for a specific notifyname:

Console> (enable) show snmp notify snmpV1Notification
Notify Name: snmpV1Notification
Notify Tag: snmpV1Trap
Notify Type: trap
Storage Type: volatile
Row Status: active
Console> (enable)

Table 2-57 describes the fields in the show snmp notify command output.

Table 2-57 show snmp notify Command Output Fields

Field
Description 

Notify Name

Unique identifier used to index the snmpTargetAddrTable

Notify Tag

Specifies selected entries in the snmpTargetAddrTable

Notify Type

Trap: all messages generated contain SNMPv2-Trap PDUs
Inform: all messages generated contain InfoRequest PDUs

Storage Type

Indicates whether the settings are volatile or nonvolatile

Row Status

Status of the entry


Related Commands

clear snmp notify
set snmp notify

show snmp targetaddr

Use the show snmp targetaddr command to display the SNMP target address entries in the table named snmpTargetAddressTable.

show snmp targetaddr [volatile | nonvolatile | read-only]

show snmp targetaddr {-hex} {addrname}

Syntax Description

volatile

(Optional) Keyword that defines the storage type as temporary memory and deletes the content when the device is powered off.

nonvolatile

(Optional) Keyword that defines the storage type as persistent memory and retains the content when the device is powered off and on.

read-only

(Optional) Keyword that defines the storage type as read-only.

-hex

Keyword that displays addrname in hexadecimal format.

addrname

Variable that specifies the arbitrary but unique name of the target agent; the maximum length is 32 bytes.


Defaults

By default, the storage type is nonvolatile.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you use special characters for the addrname variable (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.

The read-only keyword is supported for security model v3 only.

Examples

This example shows how to display specific target address information in the snmpTargetAddressTable:

Console> (enable) show snmp targetaddr cisco
Target Address Name: cisco
IP Address: 170.0.25.1
UDP Port#: 165
Timeout: 100
Retry count: 5
Tag List: tag1 tag2 tag3
Parameters: jeorge
Storage Type: nonvolatile
Row Status: active
Console> (enable)

Table 2-58 describes the fields in the show snmp targetaddr command output.

Table 2-58 show snmp targetaddr Command Output Fields 

Field
Description

Target Address Name

Name of the target address

IP Address

Target IP address

UDP Port#

Number of the UDP port of the target host to use

Timeout

Number of timeouts

Retry count

Number of retries

Tag List

Tags that point to target addresses to send notifications to

Parameters

Entry in the snmpTargetParamsTable; the maximum length is 32 bytes

Storage Type

Keyword to indicate whether the settings are volatile or nonvolatile

Row Status

Status of the entry


Related Commands

clear snmp targetaddr
set snmp targetaddr

show snmp targetparams

Use the show snmp targetparams command to display the SNMP parameters used in the snmpTargetParamsTable when generating a message to a target.

show snmp targetparams [volatile | nonvolatile | read-only]

show snmp targetparams {-hex} {paramsname}

Syntax Description

volatile

(Optional) Keyword that defines the storage type as temporary memory and deletes the content when the device is powered off.

nonvolatile

(Optional) Keyword that defines the storage type as persistent memory and retains the content when the device is powered off and on.

read-only

(Optional) Keyword that defines the storage type as read-only.

-hex

Keyword that displays paramsname in hexadecimal format.

paramsname

Variable that specifies the unique identifier that indexes the snmpTargetParamsTable; the maximum length is 32 bytes.


Defaults

By default, the storage type is volatile.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you use special characters for the paramsname variable (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.

Examples

This example shows how to display specific target parameter information in the snmpTargetParamsTable:

Console> (enable) show snmp targetparams snmpV1TrapParams
Target Parameter Name: snmpV1TrapParams
Message Processing Model: v1
Security Name: public
Security Level: noauthentication
Storage Type: volatile
Row Status: active
Console> (enable)

Table 2-59 describes the fields in the show snmp targetparams command output.

Table 2-59 show snmp targetparams Command Output Fields 

Field
Description

Target Parameter Name

A unique identifier used to index the snmpTargetParamsTable

Message Processing Model

Displays the version number used by the Message Processing Model

Security Name

Security string definition

Security Level

Type of security level (authentication: security level is set to use authentication protocol; noauthentication: security level is not set to use authentication protocol)

Storage Type

Keyword to indicate whether the settings are volatile or nonvolatile

Row Status

Status of the entry


Related Commands

clear snmp targetparams
set snmp targetparams

show snmp user

Use the show snmp user command to display SNMP information for a specific user.

show snmp user [volatile | nonvolatile | read-only]

show snmp user {-hex} {user} [remote {engineid}]

show snmp summary

Syntax Description

volatile

(Optional) Keyword that defines the storage type as temporary memory and deletes the content when the device is powered off.

nonvolatile

(Optional) Keyword that defines the storage type as persistent memory and retains the content when the device is powered off and on.

read-only

(Optional) Keyword that defines the storage type as read-only.

-hex

Keyword that displays user in hexadecimal format.

user

Variable that specifies the name of the SNMP user.

remote engineid

(Optional) Keyword and variable that specify the user name on a remote SNMP engine.

summary

Keyword that summarizes SNMP users.


Defaults

The defaults are as follows:

Storage type is nonvolatile

Local SNMP engine ID

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you use special characters for the user variable (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.

Examples

This example shows how to display specific user information:

Console> (enable) show snmp user joe
EngineId: 00:11:22:33:44
User Name: joe
Authentication Protocol: md5
Privacy Protocol: des56
Storage Type: volatile
Row Status: active
Console> (enable)

Table 2-60 describes the fields in the show snmp user command output.

Table 2-60 show snmp user Command Output Fields 

Field
Description

EngineId

String identifying the name of the copy of SNMP on the device

User Name

String identifying the name of the SNMP user

Authentication Protocol

Type of authentication protocol

Privacy Protocol

Type of privacy authentication protocol

Storage Type

Keyword to indicate whether the settings are volatile or nonvolatile

Row Status

Status of the entry


Related Commands

clear snmp user
set snmp user

show snmp view

Use the show snmp view command to display the SNMP MIB view configuration.

show snmp view [volatile | nonvolatile | read-only]

show snmp view {-hex} {viewname} {subtree}

Syntax Description

volatile

(Optional) Keyword that defines the storage type as temporary memory and deletes the content when the device is powered off.

nonvolatile

(Optional) Keyword that defines the storage type as persistent memory and retains the content when the device is powered off and on.

read-only

(Optional) Keyword that defines the storage type as read-only.

-hex

Keyword that displays the viewname in hexadecimal format.

viewname

Variable that specifies the name of a MIB view.

subtree

Variable that specifies the name of the subtree.


Defaults

By default, the view is volatile.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you use special characters for the viewname variable (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.

A MIB subtree used with a mask defines a view subtree; it can appear in OID format or as a text name mapped to a valid OID.

Examples

This example shows how to display the SNMP MIB configuration:

Console> (enable) show snmp view
View Name: defaultUserView
Subtree OID: 1.3.6.1
Subtree Mask: 
View Type: included
Storage Type: volatile
Row Status: active
Control> (enable)

Table 2-61 describes the fields in the show snmp view command output.

Table 2-61 show snmp view Command Output Fields 

Field
Description

View Name

Name of a MIB view

Subtree OID

Name of a MIB subtree in OID format or as a textname mapped to a valid OID

Subtree Mask

Subtree mask (can be all ones, all zeros, or a combination of both).

View Type

Status of whether the MIB subtree is included or excluded

Storage Type

Keyword to indicate whether the settings are volatile or nonvolatile

Row Status

Status of the entry


Related Commands

clear snmp view
set snmp view

show span

Use the show span command to display information about the current SPAN configuration:

show span [all]

Syntax Description

all

(Optional) Keyword that displays local and remote SPAN configuration information.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

SPAN in the context of a single module is the only possible configuration for Token Ring modules.

Examples

This example shows how to display current SPAN information for a switch:

Console> (enable) show span
----------------------------------------------------------
Destination     : Port 4/1
Admin Source    : Port 2/2
Oper Source     : Port 2/2
Direction       : transmit/receive
Incoming Packets: enabled
Learning        : -
Multicast       : enabled
Filter          : 10,20,30,40,50,60,70,80,90,100
Status          : inactive

------------------------------------------------------------------------
Total local span sessions: 1
Console> (enable)

Table 2-62 describes the fields in the show span command output.

Table 2-62 show span Command Output Fields 

Field
Description

Destination

Destination port for SPAN information.

Admin Source

Source port or VLAN for SPAN information.

Oper Source

Operator port or VLAN for SPAN information.

Direction

Indicates whether transmit, receive, or transmit and receive information is monitored.

Incoming Packets

Indicates whether reception of normal incoming packets on the SPAN destination port is enabled or disabled.

Learning

Indicates whether learning is enabled or disabled for the SPAN destination port.

Multicast

Indicates whether monitoring multicast traffic is enabled or disabled.

Filter

Monitored VLANs in source trunk ports.

Status

Indicates whether SPAN is active or inactive


Related Commands

clear config—switch
set span

show spantree

Use the show spantree command to display spanning tree information for a VLAN.

show spantree [vlan | mod/port] [active]

Syntax Description

vlan

(Optional) Variable that specifies the number of the VLAN.

mod/port

(Optional) Variable that specifies the number of the module and the port on the module.

active

(Optional) Keyword that displays only the active ports.


Defaults

By default, spanning tree information is displayed for VLAN 1.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If the VLAN number is not specified, the default is VLAN 1.

Examples

This example shows how to display the spanning tree configuration for VLAN 64:

Console> show spantree 64
VLAN 64
Spanning tree enabled
Designated Root             00-10-79-57-88-00
Designated Root Priority    8191
Designated Root Cost        3061
Designated Root Port        6/48
Root Max Age   20 sec    Hello Time 2  sec   Forward Delay 15 sec
Bridge ID MAC ADDR          00-50-3e-8f-8c-00
Bridge ID Priority          4160 (bridge priority: 4096, sys ID ext: 64)
Bridge Max Age 6  sec    Hello Time 2  sec   Forward Delay 4  sec
Port,Vlan Vlan  Port-State     Cost   Priority  Fast-Start  Group-method
--------- ----  -------------  -----  --------  ----------  ------------
 1003     1005  inactive          80        32   disabled
Console> 

This example shows how to display only the active ports:

Console> show spantree active 
VLAN 1
Spanning tree enabled
Spanning tree type          ieee

Designated Root             00-60-70-4c-70-00
Designated Root Priority    32768
Designated Root Cost        19
Designated Root Port        1/1
Root Max Age   20 sec    Hello Time 2  sec   Forward Delay 15 sec

Bridge ID MAC ADDR          00-e0-1e-9b-2e-00
Bridge ID Priority          32768
Bridge Max Age 20 sec    Hello Time 2  sec   Forward Delay 15 sec

Port      Vlan  Port-State     Cost   Priority  Fast-Start  Group-Method
--------- ----  -------------  -----  --------  ----------  ------------
 1/1      1     forwarding        19        32   disabled              
 3/1-2    1     forwarding        19        32   disabled    redundancy
Console>

Table 2-63 describes the possible fields in the show spantree command output.

Table 2-63 show spantree Command Output Fields 

Field
Description

VLAN

VLAN for which spanning tree information is shown

Spanning tree

Status of whether Spanning Tree Protocol is enabled or disabled

Designated Root

MAC address of the designated spanning tree root bridge

Designated Root Priority

Priority of the designated root bridge

Designated Root Cost

Total path cost to reach the root

Designated Root Port

Port through which the root bridge can be reached (shown only on nonroot bridges)

Root Max Age

Amount of time a BPDU packet should be considered valid

Hello Time

Number of times the root bridge sends BPDUs

Forward Delay

Amount of time the port spends in listening or learning mode

Bridge ID MAC ADDR

Bridge MAC address

Bridge ID Priority

Bridge priority

Bridge Max Age

Bridge maximum age

Hello Time

Amount of time the bridge sends BPDUs

Forward Delay

Amount of time the bridge spends in listening or learning mode

Port

Port number

Vlan

VLAN to which the port belongs

Port-State

Spanning tree port state (disabled, inactive, not-connected, blocking, listening, learning, forwarding, bridging, or type-pvid-inconsistent)

Cost

Cost associated with the port

Priority

Priority associated with the port

Fast-Start

Status of whether the port is configured to use the fast-start feature

Group-Method

How the multiple ports are treated (redundancy=dual PHY and FDDI; repeater=RSM; channel=Fast EtherChannel)


Related Commands

clear spantree portinstancecost
set spantree disable
set spantree enable
set spantree fwddelay
set spantree hello
set spantree maxage
set spantree portcost
set spantree portfast
set spantree portvlancost
show spantree mistp-instance
show spantree backbonefast
show spantree blockedports
show spantree guard
show spantree statistics
show spantree summary
show spantree uplinkfast

show spantree backbonefast

Use the show spantree backbonefast command to display whether the spanning tree Backbone Fast Convergence feature is enabled.

show spantree backbonefast

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 whether the spanning tree Backbone Fast Convergence feature is enabled:

Console> show spantree backbonefast
Backbonefast is enabled.
Console> 

show spantree blockedports

Use the show spantree blockedports command to display ports that are blocked.

show spantree blockedports [vlan]

show spantree blockedports mistp-instance [instance]

show spantree blockedports mst [instance]

Syntax Description

vlan

(Optional) Variable that specifies the number of the VLAN.

mistp-instance instance

Keyword and optional variable that display instance-specific information; valid values are from 1 to 16.

mst instance

Keyword and optional variable that display instance-specific information; valid values are from 0 to 15.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a VLAN number, all blocked ports in the system are displayed.

Examples

This example shows how to display the blocked ports for VLAN 1002:

Console> show spantree blockedports 1002
Number of blocked ports (segments) in VLAN 1002 : 0
Console> 

This example shows how to display the blocked ports for a MISTP instance:

Console> show spantree blockedports mistp-instance 1
Number of blocked ports (segments) in Instance 1 : 0
Console> 

This example shows how to display the blocked ports for an MST instance:

Console> show spantree blockedports mst 0
Number of blocked ports (segments) in Instance 0: 0
Console>

Related Commands

show spantree

show spantree bpdu-filter

Use the show spantree bpdu-filter command to display information about BPDU filtering.

show spantree bpdu-filter [mod/port]

Syntax Description

mod/port

(Optional) Variable that specifies the 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 information about BPDU filtering on module 1:

Console> show spantree bpdu-filter 1
Global BPDU Filter is disabled on the switch.
Port                     BPDU-Filter
------------------------ -----------
 1/1                     Enable
 1/2                     Default
Console>

Related Commands

set spantree bpdu-filter

show spantree bpdu-guard

Use the show spantree bpdu-guard command to display information about BPDU guard.

show spantree bpdu-guard [mod/port]

Syntax Description

mod/port

(Optional) Variable that specifies the 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 information about BPDU guard on module 1:

Console> show spantree bpdu-guard 1
Global BPDU Guard is disabled on the switch.
Port                     BPDU-Guard
------------------------ ----------
 1/1                     Enable
 1/2                     Default
Console>

Related Commands

set spantree bpdu-guard

show spantree bpdu-skewing

Use the show spantree bpdu-skewing command to display the status of BPDU skewing detection.

show spantree bpdu-skewing [vlan] mod/port

show spantree bpdu-skewing {mistp-instance [instance]} mod/port

Syntax Description

vlan

(Optional) Variable that specifies the number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.

mod/port

Variable that specifies the number of the module and the port on the module.

mistp-instance instance

Keyword and optional variable that display instance-specific information; valid values are from 1 to 16.


Defaults

By default, BPDU skew status for all VLANs is displayed.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

This command is available in MISTP mode only.

Examples

This example shows how to display the BPDU skewing status for VLAN 1:

Console> show spantree bpdu-skewing 1

Bpdu skewing statistics for vlan 1

Port    Last Skewing    Worst Skewing      Worst Skewing Date
------  -------------  -------------  -------------------------
8/2              5869         108370  Tue Nov 21 2000, 06:25:59
8/4              4050         113198  Tue Nov 21 2000, 06:26:04
8/6            113363         113363  Tue Nov 21 2000, 06:26:05
8/8              4111         113441  Tue Nov 21 2000, 06:26:05
8/10           113522         113522  Tue Nov 21 2000, 06:26:05
8/12             4111         113600  Tue Nov 21 2000, 06:26:05
8/14           113678         113678  Tue Nov 21 2000, 06:26:05
8/16             4111         113755  Tue Nov 21 2000, 06:26:05
8/18           113833         113833  Tue Nov 21 2000, 06:26:05
8/20             4111         113913  Tue Nov 21 2000, 06:26:05
8/22           113917         113917  Tue Nov 21 2000, 06:26:05
8/24             4110         113922  Tue Nov 21 2000, 06:26:05
8/26           113926         113926  Tue Nov 21 2000, 06:26:05
8/28             4111         113931  Tue Nov 21 2000, 06:26:05
Console> (enable) 

This example shows how to display the BPDU skewing status for port 2 on module 8 in VLAN 1:

Console> (enable) show spantree bpdu-skewing 1 8/2
Bpdu skewing statistics for vlan 1
Port    Last Skewing    Worst Skewing      Worst Skewing Date
------  -------------  -------------  -------------------------
8/2              5869         108370  Tue Nov 21 2000, 06:25:59
Console> (enable) 

Related Commands

set spantree bpdu-skewing
show spantree summary

show spantree conflicts

Use the show spantree conflicts command to display the MAC address of the root switch in the instance, the time remaining before the VLAN joins the instance, and the number of seconds left before the entry expires and is deleted from the table.

show spantree conflicts vlan

Syntax Description

vlan

Variable that specifies the number of the VLAN.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

This command is available in MISTP or MISTP/PVST+ mode only.

When only one entry is printed (or when all the entries are associated to the same instance), the VLAN is mapped to that instance. If two or more entries are associated with different instances, then the VLAN has a conflict, is blocked, and is not mapped to any instance.

The time left timers associated with the mapping of a VLAN to a MISTP instance are started with the max age of the BPDU, and can be up to the maximum max age. The delay field can show "inactive" to indicate the MAC address is the same as the MAC address of the switch (for example, the switch is the root). In all the other cases, the entry is a number, and the timer restarts every time an incoming BPDU confirms the mapping.

The delay timer field can display:

Number in seconds that represents the timer running; this timer can be up to the maximum forward delay. The timer is initialized with the fwd delay.

If the timer is not running, "inactive" is displayed. This is displayed because the VLAN is already mapped to the instance or a conflict exists.

Examples

This example shows the output if there are no conflicts on VLAN 1:

Console> (enable) show spantree conflicts 1
No conflicts for vlan 1
Inst MAC               Delay     Time left
---- ----------------- --------- ---------
 1   00-30-a3-4a-0c-00  inactive        35
Console> (enable) 

This example shows the output if there are conflicts on the specified VLAN:

Console> (enable) show spantree conflicts 1
Inst MAC               Delay     Time left
---- ----------------- --------- ---------
 1   00-30-a3-4a-0c-00  inactive        35
 3   00-30-f1-e5-00-01  inactive        23
Console> (enable) 

Table 2-64 describes the fields in the show spantree conflict command output.

Table 2-64 show spantree conflict Command Output Fields 

Field
Description

Inst

Instance number that is requesting to map the VLAN.

MAC

MAC address of the root sending the BPDU claiming the VLAN (taken from the root ID of the BPDU).

Delay

Time remaining before the VLAN joins the instance.

Time left

Age of the entry, as time in seconds left before the entry expires and is deleted from the table.


Related Commands

show spantree mistp-instance

show spantree defaultcostmode

Use the show spantree defaultcostmode to display the current default port cost mode.

show spantree defaultcostmode

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 default port cost mode:

Console> (enable) show spantree defaultcostmode
Portcost and portvlancost set to use 802.1d default values.
Console> (enable)

Related Commands

set spantree defaultcostmode

show spantree guard

Use the show spantree guard command to display rootguard information for VLANs or instances on a port.

show spantree guard [vlan]

show spantree guard mod/port

show spantree guard mistp-instance [instance | mod/port]

show spantree guard mst [instance | mod/port]

Syntax Description

vlan

(Optional) Variable that specifies the number of the VLAN; valid values are from 1 to 1005 and 1025 to 4094.

mod/port

(Optional) Variable that specifies the number of the module and the port on the module.

mistp-instance instance

Keyword and optional variable that display instance-specific information; valid values are from 1 to 16.

mst instance

Keyword and optional variable that display instance-specific information; valid values are from 0 to 15.


Defaults

The default is VLAN 1. The default port list is all the ports in the specified or default VLAN.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

You can specify a VLAN or a port, but not both. You can specify an instance or a port, but not both.

Examples

This example shows how to display root guard information for VLAN 1:

Console> show spantree guard 1
Port                     VLAN Port-State    Root guard
------------------------ ---- ------------- ----------
 1/1                     1    not-connected   disabled
 1/2                     1    not-connected   disabled
 2/1                     1    not-connected   disabled
 2/5                     1    not-connected   disabled
<<<< output truncated >>>>
Console> 

This examples shows how to display root guard information for instance 3:

Console> show spantree guard mistp-instance 3
Port                     Inst Port-State    Root guard
------------------------ ---- ------------- ----------
1/1                      1    connected     enabled
1/2                      1    connected     enabled
Console> (enable) 

Related Commands

set spantree uplinkfast

show spantree mapping

Use the show spantree mapping command to display VLAN and instance mapping information.

show spantree mapping [config]

Syntax Description

config

(Optional) Keyword that displays the mapping that has been configured on the local switch.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not enter the optional config keyword, the mapping information propagated from the root switch in the instance is displayed. This runtime command is available in MISTP or MISTP-PVST+ mode only. If you enter the config keyword, the list of mappings configured on the local switch is displayed. It is available in PVST+ mode.

If you enter this command in PVST+ mode, the following message is displayed:

Runtime vlan and instance mapping information is only available in MISTP
or
MISTP-PVST mode. Use 'show spantree mapping config' to view mappings
configured on the local switch.

Examples

This example shows how to display runtime VLAN and instance mapping information:

Console> (enable) show spantree mapping
Inst Root Mac          Vlans
---- ----------------- --------------------------------------------------
1    00-50-3e-78-70-00 1
2    00-50-3e-78-70-00 -
3    00-50-3e-78-70-00 -
4    00-50-3e-78-70-00 -
5    00-50-3e-78-70-00 -
6    00-50-3e-78-70-00 -
7    00-50-3e-78-70-00 -
8    00-50-3e-78-70-00 -
9    00-50-3e-78-70-00 -
10   00-50-3e-78-70-00 -
11   00-50-3e-78-70-00 -
12   00-50-3e-78-70-00 -
13   00-50-3e-78-70-00 -
14   00-50-3e-78-70-00 -
15   00-50-3e-78-70-00 -
16   00-50-3e-78-70-00 -
Console> (enable) 

This example shows how to display mappings configured on the local switch:

Console> (enable) show spantree mapping config
Inst Root Mac          Vlans
---- ----------------- --------------------------------------------------
1    -                 1
2    -                 -
3    -                 -
4    -                 -
5    -                 -
6    -                 -
7    -                 -
8    -                 -
9    -                 -
10   -                 -
11   -                 -
12   -                 -
13   -                 -
14   -                 -
15   -                 -
16   -                 -
Console> (enable) 

Related Commands

set vlan

show spantree mistp-instance

Use the show spantree mistp-instance command set to display instance information.

show spantree mistp-instance [instance] [active]

show spantree mistp-instance mod/port

Syntax Description

instance

(Optional) Variable that specifies the instance number; valid values are from 1 to 16.

active

(Optional) Keyword that displays only active ports.

mod/port

Variable that specifies the number of the module and the port on the module.


Defaults

By default, the instance number is 1.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

This command is available in MISTP mode only.

If you specify the mod/port number only, the VLAN mapping information is not displayed.

Examples

This example shows how to display information regarding active instances only:

Console> show spantree mistp-instance active
Instance 1
Spanning tree mode          MISTP
Spanning tree type          ieee
Spanning tree instance enabled

Designated Root             00-d0-00-4c-18-00
Designated Root Priority    32769  (root priority: 32768, sys ID ext: 1)
Designated Root Cost        0
Designated Root Port        none
VLANs mapped:               1
Root Max Age   20 sec   Hello Time 2  sec   Forward Delay 15 sec

Bridge ID MAC ADDR          00-d0-00-4c-18-00
Bridge ID Priority          32769  (bridge priority: 32768, sys ID ext: 1)
VLANs mapped:               1
Bridge Max Age 20 sec   Hello Time 2  sec   Forward Delay 15 sec

Port                     Inst Port-State    Cost      Prio Portfast Channel_id
------------------------ ---- ------------- --------- ---- -------- ----------
 2/3                     1    forwarding       200000   32 disabled 0
 2/12                    1    forwarding       200000   32 disabled
Console> 

Table 2-65 describes the fields in the show spantree mistp-instance command output:

Table 2-65 show spantree mistp-instance Command Output Fields 

Field
Description

Instance

Instance for which spanning tree information is shown.

Spanning tree mode

Spanning tree mode.

Spanning tree type

Spanning tree type.

Spanning tree instance

Status of whether spanning tree instance is enabled or disabled.

Designated Root

MAC address of the designated spanning tree root bridge.

Designated Root Priority

Priority of the designated root bridge.

Designated Root Cost

Total path cost to reach the root.

Designated Root Port

Port through which the root bridge can be reached (shown only on nonroot bridges).

VLANs mapped

Number of VLANs mapped.

Root Max Age

Amount of time a BPDU packet should be considered valid.

Hello Time

Number of times the root bridge sends BPDUs.

Forward Delay

Amount of time the port spends in listening or learning mode.

Bridge ID MAC ADDR

Bridge MAC address.

Bridge ID Priority

Part of the bridge identifier and is taken as the most significant part bridge ID comparisons.

Bridge Max Age

Bridge maximum age.

Hello Time

Amount of time the bridge sends BPDUs.

Forward Delay

Amount of time the bridge spends in listening or learning mode.

Port

Port number.

Instance

Instance to which the port belongs.

Port-State

Spanning tree port state (disabled, inactive, not-connected, blocking, listening, learning, forwarding, bridging, or type-pvid-inconsistent).

Cost

Cost associated with the port.

Prio

Priority associated with the port.

Portfast

Status of whether the port is configured to use the PortFast feature.

Channel_id

Channel ID number.


Related Commands

set spantree portinstancecost
set spantree portinstancepri

show spantree mst

Use the show spantree mst command set to display MST instance-specific information.

show spantree mst [instance | mod/port]

Syntax Description

instance

Variable that specifies the number of the instance; valid values are from 0 to 4094.

mod/port

Variable that specifies the number of the module and the port on the module.


Defaults

By default, the instance is 0 (IST).

Command Types

Switch command

Command Modes

Normal.

Usage Guidelines

You can use the show spantree command to display VLAN-specific spanning tree information.

Examples

This example shows how to display MST information:

Console> (enable) show spantree mst 
Spanning tree mode          MST 
Instance                    0 
VLANs Mapped:              2-4094 

Designated Root             00-04-9b-ba-48-00 
Designated Root Priority    32768  (root priority:32768, sys ID ext:0) 
Designated Root Cost        2000000 
Designated Root Port        7/48 
Root Max Age   20 sec   Hello Time 2  sec   Forward Delay 15 sec 

IST Master ID MAC ADDR      00-d0-00-b3-68-00 
IST Master ID Priority      32768 
IST Master Path Cost        0          Remaining Hops 20 

Bridge ID MAC ADDR          00-d0-00-b3-68-00 
Bridge ID Priority          32768  (bridge priority:32768, sys ID ext:0) 
Bridge Max Age 20 sec   Hello Time 2  sec   Forward Delay 15 sec  Max Hops 20 

Port                     State         Role Cost     Prio Type 
------------------------ ------------- ---- -------- ---- -------------------- 
 5/1                     forwarding    DESG    20000   32 P2P, Boundary(STP) 
 5/2                     forwarding    DESG    20000   32 P2P, Boundary(STP) 
 7/48                    forwarding    ROOT  2000000   32 Shared, Boundary 
Console> (enable)

This example shows how to display MST instance-specific information for instance 1:

Console> (enable) show spantree mst 1 
Spanning tree mode          MST 
Instance                    1 
VLANs Mapped:              1 

Designated Root             00-d0-00-b3-68-00 
Designated Root Priority    32769  (root priority:32768, sys ID ext:1) 
Designated Root Cost        0          Remaining Hops 20 
Designated Root Port        1/0 

Bridge ID MAC ADDR          00-d0-00-b3-68-00 
Bridge ID Priority          32769  (bridge priority:32768, sys ID ext:1) 

Port                     State         Role Cost     Prio Type 
------------------------ ------------- ---- -------- ---- -------------------- 
 5/1                     forwarding    BDRY    20000   32 P2P, Boundary(STP) 
 5/2                     forwarding    BDRY    20000   32 P2P, Boundary(STP) 
 7/48                    forwarding    BDRY  2000000   32 Shared, Boundary 
Console> (enable)

This example shows how to display MST instance-specific information for port 6 on module 3:

console> show spantree mst 3/6
       Boundary Port:  Yes (STP)
       Edge Port:      No, (Configured) Default
       Port Guard:         Default
       Link Type:     P2P(Configured) Auto
       Inst State         Role Cost      Prio VLANs 
       ---- ------------- ---- --------- ---- --------------------------------
       --
       0    forwarding    ROOT 2000000   32   1
Console>

Related Commands

clear spantree mst
set spantree mst
set spantree mst config
show spantree
show spantree mst config

show spantree mst config

Use the show spantree mst config command to display the MST region information present in NVRAM and changes that have not been applied to the MST region configuration yet.

show spantree mst config

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the MST region information:

Console> show spantree mst config
                  Current (NVRAM) MST Configuration
        Configuration Name:Cisco                         Revision: 1
        Instance Vlans
        -------- ----------------- ------------------------
        IST      401-1005,1025-1999,2201-4096 
	        1        1-50
        2        51-100
        3        101-300
        4        -    
        5        - 
        6        2000-2200 
        7        301-400 
        8        - 
        9        -
        10       -
        11       -
        12       -
        13       -
        14       - 
        15       -
        ================================================



 New MST Region Configuration (Not applied yet)

        Region Name:Catalyst                         Revision: 6000
        Instance Vlans
        -------- ----------------- ------------------------
        IST      1-50,401-1005,1025-1999,2201-4096 
	        1        -
        2        51-100
        3        101-300
        4        -    
        5        - 
        6        2000-2200 
        7        301-400 
        8        - 
        9        -
        10       -
        11       -
        12       -
        13       -
        14       - 
        15       -
        ================================================
 Edit buffer is locked by: Console
 Console> (enable)

Related Commands

clear spantree mst
set spantree mst
set spantree mst config
show spantree mst config

show spantree portfast

Use the show spantree portfast command to display PortFast information.

show spantree portfast [mod/port]

Syntax Description

mod/port

(Optional) Variable that specifies the 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 PortFast information:

Console> (enable) show spantree portfast
Portfast:Default
Portfast BPDU guard is disabled.
Portfast BPDU filter is disabled.
Console> (enable) 

This example shows how to display PortFast information for a specific module and port:

Console> (enable) show spantree portfast 3/1
Portfast:Default
Portfast BPDU guard is disabled.
Portfast BPDU filter is disabled.
Console> (enable) 

Related Commands

set spantree portfast
set spantree portfast bpdu-filter
set spantree portfast bpdu-guard

show spantree portinstancecost

Use the show spantree portinstancecost command to show the path cost for the instances on a port.

show spantree portinstancecost mod/port

Syntax Description

mod/port

Variable that specifies the 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 path cost for the MISTP instances on port 1/1:

Console> show spantree portinstancecost 1/1
Port 1/1 instances 1-16 have path cost 20000.
Console> 

Related Commands

clear spantree portinstancecost
set spantree portinstancecost

show spantree portvlancost

Use the show spantree portvlancost command to show the path cost for the VLANs on a port.

show spantree portvlancost mod/port

Syntax Description

mod/port

Variable that specifies the 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 path cost for the VLANs on port 2/12:

Console> show spantree portvlancost 2/12
Port 2/12 VLANs 1-1005 have path cost 19.
Console> 

Related Commands

set spantree portvlancost
show spantree

show spantree statistics

Use the show spantree statistics command to show spanning tree statistical information.

show spantree statistics mod/port [vlan]

show spantree statistics mistp-instance [instance]

show spantree statistics mst [instance]

Syntax Description

mod/port

Variable that specifies the number of the module and the port on the module.

vlan

(Optional) Variable that specifies the number of the VLAN.

mistp-instance instance

Keyword and optional variable that display instance-specific information; valid values are from 1 to 16.

mst instance

Keyword and optional variable that display instance-specific information; valid values are from 0 to 15.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display statistical information:

Console> (enable) show spantree statistics 1/2 1005

SpanningTree enabled for vlanNo = 1005
                BPDU-related parameters
port spanning tree                   enabled
state                                disabled
port_id                              0xcccf
port number                          0x7eb
path cost                            80
message age (port/VLAN)              0(10)
designated_root                      00-10-2f-52-eb-ec
designated_cost                      0
designated_bridge                    00-10-2f-52-eb-ec
designated_port                      0xcccf
top_change_ack                       FALSE
config_pending                       FALSE
                PORT based information & statistics
config bpdu's xmitted (port/VLAN)    0(0)
config bpdu's received (port/VLAN)   0(0)
tcn bpdu's xmitted (port/VLAN)       0(0)
tcn bpdu's received (port/VLAN)      0(0)
forward trans count                  0
                Status of Port Timers
forward delay timer                  INACTIVE
forward delay timer value            0
message age timer                    INACTIVE
message age timer value              0
topology change timer                INACTIVE
topology change timer value          0
hold timer                           INACTIVE
hold timer value                     0
delay root port timer                INACTIVE
delay root port timer value          0
                VLAN based information & statistics
spanningtree type                    ibm
spanningtree multicast address       c0-00-00-00-01-00
bridge ID priority                             32768 (bridge priority: 32768, sys ID ext: 
64)
bridge mac address                   00-10-2f-52-eb-ec
bridge hello time                    2 sec
bridge forward delay                 4 sec
topology change initiator:           1/0
topology change                      FALSE
topology change time                 14
topology change detected             FALSE
topology change count                0
                Other port-specific info
dynamic max age transitions          0
port bpdu ok count                   0
msg age expiry count                 0
link loading                         1
bpdu in processing                   FALSE
num of similar bpdus to process      0
next state                           0
src mac count:                       0
total src mac count                  0
curr_src_mac                         00-00-00-00-00-00
next_src_mac                         00-00-00-00-00-00
channel_src_mac                      00-00-00-00-00-00
channel src count                    0
channel ok count                     0
Console> (enable)

This example shows how to display instance-specific information:

Console> (enable) show spantree statistics 2 mistp-instance 2
Port  2/1   Instance 2

SpanningTree enabled for instance = 2

                BPDU-related parameters
port spanning tree                   enabled
state                                forwarding
port_id                              0x8041
port number                          0x41
path cost                            20000
message age (port/inst)              1(20)
designated_root                      00-50-3e-8f-8c-00
designated_cost                      0
designated_bridge                    00-50-3e-8f-8c-00
designated_port                      0x8001
top_change_ack                       FALSE
config_pending                       FALSE
port_inconsistency                   none

                PORT based information & statistics
config bpdu's xmitted (port/inst)    0(0)
config bpdu's received (port/inst)   102(490)
tcn bpdu's xmitted (port/inst)       0(0)
tcn bpdu's received (port/inst)      0(0)
forward trans count                  0
scp failure count                    0

                Status of Port Timers
forward delay timer                  INACTIVE
forward delay timer value            15
message age timer                    ACTIVE
message age timer value              1
topology change timer                INACTIVE
topology change timer value          0
hold timer                           INACTIVE
hold timer value                     0
delay root port timer                INACTIVE
delay root port timer value          0
delay root port timer restarted is   FALSE

                Instance based information & statistics
spanningtree type                    ieee
spanningtree multicast address       01-80-c2-00-00-00
bridge priority                      32770
bridge mac address                   00-d0-00-b3-68-00
bridge hello time                    2 sec
bridge forward delay                 15(15) sec
topology change initiator:          15/63
last topology change occured:       Sun Jun 7 2000, 09:00:03
topology change                      FALSE
topology change time                 35
topology change detected             FALSE
topology change count                0
topology change last recvd. from     00-00-00-00-00-00

                Other port-specific info
dynamic max age transitions          0
port bpdu ok count                   0
msg age expiry count                 0
link loading                         1
bpdu in processing                   FALSE
num of similar bpdus to process      0
received_inferior_bpdu              FALSE
next state                           3
src mac count:                      0
total src mac count                  0
curr_src_mac                         00-00-00-00-00-00
next_src_mac                         00-00-00-00-00-00
channel_src_mac                      00-00-00-00-00-00
channel src count                    0
channel ok count                     0
Console> 

This example shows how to display MST instance-specific information:

Console> show spantree statistics 8/1 mst 0 
Port  8/1   Instance 0 

SpanningTree enabled for instance = 0 

                BPDU-related parameters 
port spanning tree                   enabled 
state                                forwarding 
port_id                              0x81c1 
port number                          0x1c1 
path cost                            20000 
message age (port/VLAN)              0(20) 
designated_root                      00-04-9b-ba-48-00 
designated_cost                      33920 
designated_bridge                    00-10-7b-bb-2f-00 
designated_port                      0x81c1 
top_change_ack                       FALSE 
config_pending                       FALSE 
port_inconsistency                   none 

                PORT based information & statistics 
config bpdu's xmitted (port/inst)    101(212) 
config bpdu's received (port/inst)   101(205) 
tcn bpdu's xmitted (port/inst)       0(1) 
tcn bpdu's received (port/inst)      0(2) 
forward trans count                  0 
scp failure count                    0 
root inc trans count (port/inst)     0(0) 
inhibit loopguard                    FALSE 
loop inc trans count (port/inst)     0(0) 

                Status of Port Timers 
forward delay timer                  INACTIVE 
forward delay timer value            0 
message age timer                    INACTIVE 
message age timer value              0 
topology change timer                INACTIVE 
topology change timer value          0 
hold timer                           INACTIVE 
hold timer value                     0 
delay root port timer                INACTIVE 
delay root port timer value          0 
delay root port timer restarted is   FALSE 

                Vlan based information & statistics 
spanningtree type                    ieee 
spanningtree multicast address       01-80-c2-00-00-00 
bridge priority                      32768 
bridge mac address                   00-10-7b-bb-2f-00 
bridge hello time                    2 sec 
bridge forward delay                 15(15) sec 
topology change initiator:          1/0 
last topology change occurred:       Fri Sep 7 2001, 09:52:22 
topology change                      FALSE 
topology change time                 35 
topology change detected             FALSE 
topology change count                3 
topology change last recvd. from     00-00-00-00-00-00 

                Other port-specific info 
dynamic max age transitions          0 
port bpdu ok count                   0 
msg age expiry count                 0 
link loading                         0 
bpdu in processing                   FALSE 
num of similar bpdus to process      0 
received_inferior_bpdu               FALSE 
next state                           3 
src mac count:                      0 
total src mac count                  0 
curr_src_mac                         00-00-00-00-00-00 
next_src_mac                         00-00-00-00-00-00 
channel_src_mac                      00-00-00-00-00-00 
channel src count                    0 
channel ok count                     0 
Console>

Table 2-66 describes the possible fields in the show spantree statistics command output.

Table 2-66 show spantree statistics Command Output Fields 

Field
Description
BPDU-related parameters

port spanning tree

Status of whether Spanning Tree Protocol is enabled or disabled on the port.

state

Spanning tree port state (Disabled, Listening, Learning, Forwarding, or Blocking).

port_id

Port identifier of the associated port.

port number

Port number.

path cost

Contribution of the path through this root port. This applies to the total path cost to the root for this bridge.

message age (port/VLAN)

Age of the received protocol information recorded for a port and the value of the Max Age parameter (shown in parenthesis) recorded by the switch.

designated_root

MAC address of the designated spanningtree root bridge.

designated_cost

Cost of the path to the root offered by the designated port on the LAN to which this port is attached.

designated_bridge

Bridge identifier of the bridge assumed to be the Designated Bridge for the LAN associated with the port.

designated_port

Port identifier of the Bridge Port assumed to be the Designated Port for the LAN associated with the port.

top_change_ack

Value of the Topology Change Acknowledgment flag in the next configured BPDU to be transmitted on the associated port. The flag is set in reply to a Topology Change Notification BPDU.

config_pending

Boolean parameter set to record that a configured BPDU should be transmitted on expiration of the hold timer for the associated port.

port_inconsistency

Status of whether the port is in an inconsistent (PVID or port type) state or not.

PORT-based information and statistics

config bpdu's xmitted (port/VLAN)

Number of BPDUs transmitted from the port. The number in parentheses is the number of configured BPDUs transmitted by the switch for this instance of spanning tree.

config bpdu's received (port/VLAN)

Number of BPDUs received by this port. The number in parentheses is the number of configured BPDUs received by the switch for this instance of spanning tree.

tcn bpdu's xmitted (port/VLAN)

Number of TCN BDPUs transmitted on this port.

tcn bpdu's received (port/VLAN)

Number of TCN BPDUs received on this port.

forward trans count

Number of times the port state transitioned to FORWARDing state.

scp failure count

Number of SCP failures.

Status of Port Timers

forward delay timer

Status of the forward delay timer. This timer monitors the time spent by a port in the Listening and Learning States.

forward delay timer value

Current value of the forward delay timer.

message age timer

Status of the message age timer. This timer measures the age of the received protocol information recorded for a port.

message age timer value

Current value of the message age timer.

topology change timer

Status of the topology change timer. This timer determines the time period in which configured BPDUs are transmitted with the topology change flag set by the bridge when it is root following the detection of a topology change.

topology change timer value

Current value of the topology change timer.

hold timer

Status of the hold timer. This timer ensures that configured BPDUs are not transmitted too frequently through any bridge port.

hold timer value

Current value of the hold timer.

delay root port timer

Status of the delay root port timer. This timer enables fast convergence on linkup when the UplinkFast feature is enabled.

delay root port timer value

Current value of the delay root port timer.

VLAN-based information and statistics

spanningtree type

Type of spanning tree (IEEE, IBM, CISCO).

spanningtree multicast address

Destination address used to send out configured BPDUs on a bridge port.

bridge priority

Part of the bridge identifier and is taken as the most significant part bridge ID comparisons.

bridge mac address

Bridge MAC address.

bridge hello time

Value of the Hello Time parameter when the bridge is the root or is attempting to become the root.

bridge forward delay

Value of the Forward Delay parameter when the bridge is the root or is attempting to become the root.

topology change

Time the last topology change occurred.

topology change initiator:

Number of the port that caused the topology change.

topology change

Number of times configured BPDUs have been transmitted by the bridge on the LANs for which the bridge is the designated bridge.

topology change time

Time period for which BPDUs are transmitted with the topology change flag set by the bridge when it is the root following the detection of a topology change. It is equal to the sum of the bridge's Max Age and Forward Delay parameters.

topology change detected

Number of topology changes that have been detected by or notified to the bridge.

topology change count

Number of times the topology change has occurred.

topology change last recvd. from

MAC address of the bridge that transmitted the last TCN BPDU.

Other port-specific info

dynamic max age transitions

Number of dynamic max age transitions.

port bpdu ok count

Number of reported port BPDU counts.

msg age expiry count

Number of message age expires.

link loading

Status of whether the link is oversubscribed.

bpdu in processing

Status of whether the BPDU is under processing.

num of similar bpdus to process

Number of similar BPDUs to process that are received on a specific port.

received_inferior_bpdu

Status of whether the port received an inferior BPDU or in response to an RLQ BPDU.

next state

Port state before it is actually set by spanning tree, to facilitate other tasks in using the new value.

src mac count:

Number of BPDUs with the same source MAC address.

total src mac count

Number of BPDUs with all the source MAC addresses.

curr_src_mac

Source MAC address of the configured BPDU received on a particular port.

next_src_mac

MAC address from the different source.

channel_src_mac

Source MAC address of the channel port. It is used to detect channel misconfiguration and avoid spanning tree loops.

channel src count

Number of times channel_src_mac gets changed and if the limit is exceeded, a channel misconfiguration is detected.

channel ok count

Boolean flag which records the channel status.


Related Commands

clear spantree statistics
show spantree

show spantree summary

Use the show spantree summary command to display a summary of spanning tree information.

show spantree summary [novlan]

show spantree summary {mistp-instance | mst}[noinstance]

Syntax Description

novlan

(Optional) Keyword that displays only non-VLAN-specific information.

mistp-instance

Keyword that displays only MISTP instance-specific information.

mst

Keyword that displays only MST instance-specific information.

noinstance

(Optional) Keyword that displays only non-instance-specific information.


Defaults

This command has no default settings.

Command Modes

Normal.

Examples

This example shows how to display a summary of spanning tree information:

Console> show spantree summary
MAC address reduction: disabled
Root switch for vlans: none.
BPDU skewing detection disabled for the bridge
BPDU skewed for vlans:  none.
Portfast bpdu-guard disabled for bridge.
Portfast bpdu-filter disabled for bridge.
Uplinkfast disabled for bridge.
Backbonefast disabled for bridge.

Summary of connected spanning tree ports by vlan

VLAN  Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
   1         0         0        0          3          3

      Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
Total        0         0        0          3          3
Console>

This example shows how to display non-VLAN-specific information only:

Console> (enable) show spantree summary novlan
MAC address reduction:disabled
Root switch for vlans:1-8,10-500,911.
BPDU skewing detection enabled for the bridge
BPDU skewed for vlans:1-8,10-500,911.
Portfast bpdu-guard disabled for bridge.
Portfast bpdu-filter disabled for bridge.
Uplinkfast disabled for bridge.
Backbonefast disabled for bridge.

      Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
Total      506         0        0        506       1012
Console> (enable) 

This example shows how to display a summary of spanning tree instance information:

Console> show spantree summary mistp-instance
MAC address reduction:disabled
Root switch for vlans:1-8,10-500,911.
BPDU skewing detection enabled for the bridge
BPDU skewed for vlans:1-8,10-500,911.
Portfast bpdu-guard disabled for bridge.
Portfast bpdu-filter disabled for bridge.
Uplinkfast disabled for bridge.
Backbonefast disabled for bridge.

Summary of connected spanning tree ports by mistp-instance

Inst  Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
   1         0         0        0          8          0
   2         4         0        0          4          8
   3         4         0        0          4          8
   4         4         0        0          4          8
   5         4         0        0          4          8
   6         4         0        0          4          8
   7         4         0        0          4          8
   8         4         0        0          4          8
   9         4         0        0          4          8
  10         4         0        0          4          8
  11         4         0        0          4          8
  12         4         0        0          4          8
  13         4         0        0          4          8
  14         4         0        0          4          8
  15         4         0        0          4          8
  16         0         0        0          0          0

      Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
Total       56         0        0         64        112
Console> 

This example shows how to display a summary of spanning tree mst instance information:

Console> show spantree summary mst 
MAC address reduction:disabled 
Root switch for MST instances:none. 
Global loopguard is disabled on the switch. 
Global portfast is disabled on the switch. 
BPDU skewing detection enabled for the bridge. 
BPDU skewed for MST instances: none. 
Portfast bpdu-guard disabled for bridge. 
Portfast bpdu-filter disabled for bridge. 

Summary of connected spanning tree ports by MST instances 

Inst  Blocking Listening Learning Forwarding STP Active 
----- -------- --------- -------- ---------- ---------- 
   0         0         0        0          3          3 
   1         0         0        0          0          0 
   2         0         0        0          0          0 
   3         0         0        0          0          0 
   4         0         0        0          0          0 
   5         0         0        0          0          0 
   6         0         0        0          0          0 
   7         0         0        0          0          0 
   8         0         0        0          0          0 
   9         0         0        0          0          0 
  10         0         0        0          0          0 
  11         0         0        0          0          0 
12         0         0        0          0          0 
  13         0         0        0          0          0 
  14         0         0        0          0          0 
  15         0         0        0          0          0 

      Blocking Listening Learning Forwarding STP Active 
----- -------- --------- -------- ---------- ---------- 
Total        0         0        0          3          3 
Console>

This example shows how to display a summary of spanning tree non-instance-specific mst information:

Console> show spantree summary mst noinstance 
MAC address reduction:disabled 
Root switch for MST instances:none. 
Global loopguard is disabled on the switch. 
Global portfast is disabled on the switch. 
BPDU skewing detection enabled for the bridge. 
BPDU skewed for MST instances: none. 
Portfast bpdu-guard disabled for bridge. 
Portfast bpdu-filter disabled for bridge. 

      Blocking Listening Learning Forwarding STP Active 
----- -------- --------- -------- ---------- ---------- 
Total        0         0        0          3          3 
Console>

Related Commands

show spantree

show spantree uplinkfast

Use the show spantree uplinkfast command to show the UplinkFast settings.

show spantree uplinkfast

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 UplinkFast settings:

Console> show spantree uplinkfast
VLAN port list 	
------------------------------------------------
1-20   1/1(fwd),1/2-1/5
21-50  1/9(fwd), 1/6-1/8, 1/10-1/12
51-100 2/1(fwd), 2/12
Console> 

Related Commands

clear spantree uplinkfast
set spantree uplinkfast
show spantree

show summertime

Use the show summertime command to determine whether the summertime feature is enabled or disabled.

show summertime

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 status of the summertime feature:

Console> show summertime
Summertime is disabled and set to ''
Start : Sun Apr 2 2000, 02:00:00
End   : Sun Oct 29 2000, 02:00:00
Offset: 60 minutes
Recurring: yes, starting at 02:00am of first Sunday of April and ending on 02:00am of last 
Sunday of October.
Console> 

Related Commands

set summertime

show switchacceleration

Use the show switchacceleration command to display the current status of the switch acceleration feature.

show switchacceleration mod_num

Syntax Description

mod_num

Variable that specifies the number of the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the current status of the switch acceleration feature on module 1:

Console> show switchacceleration 1
Module 1 has switch acceleration enabled.
Console> 

Related CommandsConsole> (enable)

set switchacceleration

show system

Use the show system command to display system information.

show system

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

In a Token Ring module, the values shown for Traffic and Peak are the average of three switching buses.

Examples

This example shows the system status and other information:

Console> show system
PS1-Status PS2-Status PS3-Status PEM Installed PEM Powered
---------- ---------- ---------- ------------- -----------
ok         ok         ok         yes          no

Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout
---------- ---------- ---------- -------------- ---------
ok         off        ok         0,18:24:41     none

PS1-Type          PS2-Type          PS3-Type
----------------- ----------------- -----------------
WS-X4008-DC-650W  WS-X4008          WS-X4008

Modem   Baud  Traffic Peak Peak-Time
------- ----- ------- ---- -------------------------
disable  9600   0%      0% Wed Apr 24 2002, 15:46:01

Power Capacity of the Chassis:2 supplies

WARNING:Power supplies of different values have been inserted

System Name              System Location          System Contact           CC
------------------------ ------------------------ ------------------------ ---
                         Sunnyvale CA             sysadmin@corp.com        4006
Console> 

Table 2-67 describes the fields in the show system command output.

Table 2-67 show system Command Output Fields 

Field
Description

PS1-Status

Status of power supply 1 (ok, fan failed, faulty, or none)

PS2-Status

Status of power supply 2 (ok, fan failed, faulty, or none)

PS3-Status

Status of power supply 3(ok, fan failed, faulty, or none)

Fan-Status

Status of the fan (ok, faulty, or other)

Temp-Alarm

Status of the temperature alarm is off or on

Sys-Status

System status (ok or faulty). Corresponds to system LED status

Uptime d,h:m:s

Amount of time in days, hours, minutes, and seconds, that the system has been up and running

Logout

Amount of time after which an idle session is disconnected

PS1-Type

Part number of the power supply

PS2-Type

Part number of the redundant power supply, if present

PS3-Type

Part number of the redundant power supply, if present

Modem

Status of the modem status (enabled or disabled)

Baud

Baud rate to which the modem is set

Traffic

Current traffic percentage

Peak

Peak percentage of traffic on the backplane

Peak-Time

Time stamp when peak percentage was recorded

System Name

System name

System Location

System location

System Contact

System contact information


Related Commands

set system baud
set system contact
set system location
set system modem
set system name

show tacacs

Use the show tacacs command to display the TACACS+ protocol configuration.

show tacacs [noalias]

Syntax Description

noalias

(Optional) Keyword that displays IP addresses, not IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the TACACS+ protocol configuration:

Console> (enable) show tacacs

Login Authentication:  Console Session   Telnet Session
---------------------  ----------------  ----------------
tacacs                 disabled          disabled        
radius                 disabled          disabled        
kerberos               disabled          disabled        
local                  enabled(primary)  enabled(primary)

Enable Authentication: Console Session   Telnet Session
---------------------- ----------------- ----------------
tacacs                 disabled          disabled        
radius                 disabled          disabled        
kerberos               disabled          disabled        
local                  enabled(primary)  enabled(primary)

Tacacs key: 
Tacacs login attempts: 3
Tacacs timeout: 5 seconds
Tacacs direct request: disabled

Tacacs-Server                              Status
----------------------------------------   -------
Console> (enable) 

This example shows how to display the TACACS+ protocol configuration without aliases:

Console> (enable) show tacacs noalias

Login Authentication:  Console Session   Telnet Session
---------------------  ----------------  ----------------
tacacs                 disabled          disabled        
radius                 disabled          disabled        
kerberos               disabled          disabled        
local                  enabled(primary)  enabled(primary)

Enable Authentication: Console Session   Telnet Session
---------------------- ----------------- ----------------
tacacs                 disabled          disabled        
radius                 disabled          disabled        
kerberos               disabled          disabled        
local                  enabled(primary)  enabled(primary)


Tacacs key: 
Tacacs login attempts: 3
Tacacs timeout: 5 seconds
Tacacs direct request: disabled

Tacacs-Server                              Status
----------------------------------------   -------
Console> (enable) 

Table 2-68 describes the fields in the show tacacs command output.

Table 2-68 show tacacs Command Output Fields

Field
Description 

Tacacs login attempts

Number of failed login attempts allowed

Tacacs timeout

Time in seconds to wait for a response from the TACACS+ server

Tacacs direct request

Status of whether TACACS+ directed-request option is enabled or disabled

Tacacs-Server

IP addresses or IP aliases of configured TACACS+ servers

Status

Primary TACACS+ server


Related Commands

set tacacs directedrequest
set tacacs key
set tacacs server
set tacacs timeout

show tech-support

Use the show tech-support command to display system and configuration information that you can provide to the Cisco Technical Assistance Center (TAC) when reporting a problem.

show tech-support [{module mod} | {port mod/port}] [vlan vlan] [mistp-instance instance]
[
mst instance] [memory] [config]

Syntax Description

module mod

(Optional) Keyword and variable that displays the module number of the switch port.

port mod/port

(Optional) Keyword and variable that specify the module number and port number of the switch port.

vlan vlan

(Optional) Keyword and variable that specify the VLAN; valid values are from 1 to 1001 and from 1025 to 4094.

mistp-instance instance

(Optional) Keyword and variable that specify the MISTP instance number; valid values are from 1 to 16.

mst instance

(Optional) Keyword and variable that specify the MST instance number; valid values are from 0 to 15.

memory

(Optional) Keyword that displays memory and processor state data.

config

(Optional) Keyword that displays switch configuration.


Defaults

By default, this command displays the output for technical-support-related show commands. Use keywords to specify the type of information to be displayed. If you do not specify any parameters, the system displays the time, as well as all configuration, memory, module, port, instance, and VLAN data.

Command Types

Switch command.

Command Modes

Normal.


Caution Avoid running multiple show tech-support commands on a switch or multiple switches on the network segment. Doing so may cause spanning tree instability.

Usage Guidelines

The show tech-support command output is continuous; it does not display one screen at a time. To interrupt the output, press Ctrl-C.

The show tech-support command may time out if the configuration file output takes longer to display than the configured session timeout time. If this happens, enter a set logout timeout value of 0 to disable automatic disconnection of idle sessions or enter a longer timeout value.

The show tech-support command output is continuous; it does not display one screen at a time. To interrupt the output, press Ctrl-C.

If you specify the config keyword, the show tech-support command displays the output of these commands:

show config

show flash

show log

show microcode

show module

show port

show spantree active

show system

show test

show trunk

show version

show vlan


Note If MISTP is running, the output from the show spantree mistp-instance active and show spantree summary mistp-instance commands are displayed instead of the output from the show spantree active and show spantree summary commands.



Note If MST is running, the output from the show spantree mst and show spantree summary mst commands are displayed instead of the output from the show spantree active and show spantree summary commands.


If you specify the memory keyword, the show tech-support command displays the output of these commands:

ps

ps -c

show cam static

show cam system

show flash

show memory buffers

show microcode

show module

show proc

show proc mem

show proc cpu

show system

show spantree active

show version

If you specify a module, port, or VLAN number, the system displays general system information and information for the component you specified.

Related Commands

See the commands listed under "Usage Guidelines."

show test

Use the show test command to display the results of diagnostic tests.

show test [mod_num]

show test [diaglevel]

show test [[packetbuffer] [status]]

Syntax Description

mod_num

(Optional) Variable that specifies the number of the module.

diaglevel

(Optional) Keyword that displays the diagnostic mode of the last bootup and the next reset of the switch.

packetbuffer

(Optional) Keyword that displays packet buffer test schedule information.

status

(Optional) Keyword that displays the status of the current packet buffer test.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a module number, test statistics are given for the general system and for module 1.

Network Management Processor (NMP) information applies only to modules; consequently, only the display for module 1 includes NMP status. If you specify other modules, NMP status is not displayed.

Examples

This example shows how to display general test results for a Catalyst 4000 family switch:

Console> show test

Environmental Status (. = Pass, F = Fail, U = Unknown, N = Not Present)
  PS1: .    PS2: .    PS1 Fan: .    PS2 Fan: .    Fan Tray: .
  Temperature: .        Chassis Temperature: 39 degC (103 degF)

Module 1 : 0-port Switching Supervisor
 POST Results
 Network Management Processor (NMP) Status: (. = Pass, F = Fail, U = Unknown)
 Galaxy Supervisor Status : .
 CPU Components Status
   Processor              : .
   DRAM                   : .
   RTC                    : .
   EEPROM                 : .
   FLASH                  : .
   NVRAM                  : .
   Temperature Sensor     : .
 Me1  Status              : .

SCX1000 - 0
   Register               : .
   Switch Sram            : .
   Switch Gigaports
    0: .   1: .   2: .   3: .
    4: .   5: .   6: .   7: .
    8: .   9: .  10: .  11: .
Console> (enable)

This example shows how to display general test results for module 3:

Console> show test 3
Module 3: 48 10/100 Base T port Ethernet Card

  (HX,CX)1000:
    Ports 1-8:.    Ports 9-16:.  Ports 17-24:.
    Ports 25-32:.  Ports 33-40:. Ports 41-48:.

10/100BaseTX Loopback Status:
    Ports  1  2  3  4  5  6  7  8  9  10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
    ------------------------------------------------------------------------------
           .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
    Ports  25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
    ------------------------------------------------------------------------------

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

Table 2-69 show test Command Output Fields 

Field
Description

Environmental Status

Test results that apply to the general system environment.

PS (3.3V)

Test results for the 3.3V power supply.

PS (12V)

Test results for the 12V power supply.

PS (24V)

Test results for the 24V power supply.

PS1

Test results for power supply 1.

PS2

Test results for power supply 2.

Temperature

Test results for temperature.

Fan

Test results for the fan.

Module 1

Test results that apply to module 1. The module type is indicated as well.

Network Management Processor (NMP) Status

Test results that apply to the NMP on the supervisor module.

ROM

Test results for ROM.

Flash-EEPROM

Test results for the Flash EEPROM.

Ser-EEPROM

Test results for serial EEPROM.

NVRAM

Test results for the NVRAM.

EARL Status

Fields that display the EARL status information.

NewLearnTest

Test results for NewLearn test (EARL).

IndexLearnTest

Test results for IndexLearn test (EARL).

DontForwardTest

Test results for DontForward test (EARL).

MonitorTest

Test results for Monitor test (EARL).

DontLearn

Test results for DontLearn test (EARL).

FlushPacket

Test results for FlushPacket test (EARL).

ConditionalLearn

Test results for ConditionalLearn test (EARL).

EarlLearnDiscard

Test results for EarlLearnDiscard test (EARL).

EarlTrapTest

Test results for EarlTrap test (EARL).

LCP Diag Status for Module 1

Test results for the specified module.

CPU

Test results for the CPU.

Sprom

Test results for serial PROM.

Bootcsum

Test results for Boot ROM checksum.

Archsum

Test results for archive Flash checksum.

RAM

Test results for the RAM.

LTL

Test results for local-target logic.

CBL

Test results for color-blocking logic.

DPRAM

Test results for dual-port RAM.

SAMBA

Test results for SAMBA chip.

Saints

Test results for SAINT chips.

Pkt Bufs

Test results for the packet buffers.

Repeater

Test results for repeater module.

FLASH

Test results for the Flash memory.

Phoenix

Test results for the Phoenix.

TrafficMeter

Test results for the TrafficMeter.

UplinkSprom

Test results for the UplinkSprom.

PhoenixSprom

Test results for the Phoenix.

MII Status

Test results for MII ports.

SAINT/SAGE Status

Test results for individual SAINT/SAGE chip.

Phoenix Port Status

Test results for Phoenix ports.

Packet Buffer Status

Test results for individual packet buffer.

Phoenix Packet Buffer Status

Test results for Phoenix packet buffer.

Loopback Status

Test results for the loopback test.

Channel Status

Test results for the channel test.


This example shows how to display test results for module 10 (an FDDI module):

Console> show test 10

Module 10 : 2-port MM MIC FDDI
Module 10 : FDDI Module Status: (. = Pass, F = Fail, U = Unknown)

FDDI Control Processor (FCP) Status:
  ROM:  .   RAM:  .   Flash-EEPROM: .   Dpram: .

  Switch Memory Status:
  RAM:  .   Cache-SRAM: .    DmpCom: .    Loadgen: .

FDDI Status:
  Port A Access:   .  Port B Access:   .
  Port A Loopback: .  Port B Loopback: .
  MAC Access:      .  MAC Buffer R/W:  .
  MAC Internal LB: .  MAC External LB: .
  CAM:  . . . .

Data Movement Processor (DMP) Status:
  Flash-EEPROM: .   RAM: .  SRAM: . COMM: .

  Switch Memory Status:
  RAM: .  Cache-SRAM: .

FDDI Status:
  MAC Access:            .   MAC Buffer R/W:        .
  MAC Internal LB:       .   MAC External LB:       .  LoadGen:.
  FBIGA Access:          .   FBIGA->MAC Buffer R/W: .
  FBIGA->MAC TxDMA:      .   FBIGA->MAC RxDMA:      .
  FBIGA->MAC Internal LB:.   FBIGA->MAC External LB:.  LoadGen:.

Bus Interface Status:
  SBIGA Access:          .   SBIGA->SAGE RxDMA:     .  SBIGA<-SAGE TxDMA:.
  Biga Loop Access:      .   Biga Loop Rx:          .  Biga Loop Tx:     .

LCP Diag Status for Module 10  (. = Pass, F = Fail, N = N/A)
 CPU         : .    Sprom    : .    Bootcsum : .    Archsum  : N
 RAM         : .    LTL      : .    CBL      : .    DPRAM    : .   SAMBA : N
 Saints      : .    Pkt Bufs : .    Repeater : N    FLASH    : N

 SAINT/SAGE Status :
  Ports 1
  --------
        .

 Packet Buffer Status :
  Ports 1
  --------
        .

 Loopback Status :
  Ports 1
  --------
Console> 

Table 2-70 describes the possible fields in the show test command output for an FDDI module.

Table 2-70 show test Command Output Fields (FDDI) 

Field
Description

Module 10

Fields that indicate subsequent test results apply to module 10. The module type is indicated as well.

FDDI Control Processor (FCP) Status

Fields that indicate FCP status.

ROM

Test results for the ROM.

RAM

Test results for the RAM.

Flash-EEPROM

Test results for the Flash EEPROM.

Dpram

Test results for the dynamic PRAM.

Switch Memory Status

Fields that indicate the switch memory status.

RAM

Test results for the RAM.

Cache-SRAM

Test results for the queue SRAM.

DmpCom

Test results for communication block.

Loadgen

Test results for MAC LoadGen test.

FDDI Status

Fields that indicate FDDI status.

Port A Access

Test results for port A PHY register test.

Port B Access

Test results for port B PHY register test.

Port A Loopback

Test results for port A PHY loopback test.

Port B Loopback

Test results for port B PHY loopback test.

MAC Access

Test results for MAC register test.

MAC Buffer R/W

Test results for MAC buffer memory test.

MAC Internal LB

Test results for MAC internal loopback test.

MAC External LB

Test results for MAC external loopback test.

CAM

Test results for the CAM.

Data Movement Processor (DMP) Status

Fields that indicate the DMP status.

Flash-EEPROM

Test results for the Flash EEPROM.

RAM

Test results for the RAM.

SRAM

Test results for the SRAM test.

COMM

Test results for communication block.

Switch Memory Status

Fields that indicate switch memory status.

RAM

Test results for the RAM.

Cache-SRAM

Test results for the queue SRAM.

FDDI Status

Fields that indicate FDDI status.

MAC Access

Test results for MAC register test.

MAC Buffer R/W

Test results for MAC buffer memory test.

MAC Internal LB

Test results for MAC internal loopback test.

MAC External LB

Test results for MAC external loopback test.

LoadGen

Test results for MAC LoadGen test.

FBIGA Access

Test results for FBIGA register test.

FBIGA->MAC Buffer R/W

Test results for FBIGA buffer memory test.

FBIGA->MAC TxDMA

Test results for FBIGA transmit test.

FBIGA->MAC RxDMA

Test results for FBIGA receive test

FBIGA->MAC Internal LB

Test results for FBIGA internal loopback test.

FBIGA->MAC External LB

Test results for FBIGA external loopback test.

LoadGen

Test results for FBIGA LoadGen test.

Bus Interface Status

Fields that indicate bus interface status.


This example shows how to display diagnostic mode information for the last bootup and next reset of the switch:

Console> show test diaglevel 
Diagnostic mode at last bootup : complete
Diagnostic mode at next reset  : complete
Console> 

This example shows how to display packet buffer schedule information:

Console > (enable) show test packetbuffer
Packet buffer test            : enabled
Packet buffer test schedule   : continuous
Console > (enable)
2