Table Of Contents
show snmp access
show snmp access-list
show snmp buffer
show snmp community
show snmp context
show snmp counters
show snmp engineid
show snmp group
show snmp ifalias
show snmp notify
show snmp rmonmemory
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 startup-config
show summertime
show system
show system highavailability
show system supervisor-update
show system switchmode
show tacacs
show tech-support
22
show snmp access
To display SNMP access information, use the show snmp access command.
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} [context [-hex] contextname]
Syntax Description
volatile
|
(Optional) Displays information for volatile storage types.
|
nonvolatile
|
(Optional) Displays information for nonvolatile storage types.
|
read-only
|
(Optional) Displays information for read-only storage types.
|
-hex
|
(Optional) Displays groupname, username, and contextname as a hexadecimal character.
|
groupname
|
Name of the SNMP group or collection of users who have a common access policy.
|
security-model v1 | v2c | v3
|
Specifies security model v1, v2c, or v3.
|
noauthentication
|
Displays information for security models not set to use authentication protocol.
|
authentication
|
Displays information for authentication protocol.
|
privacy
|
Displays information regarding messages sent on behalf of the user that are protected from disclosure.
|
context contextname
|
(Optional) Specifies the name of a context string.
|
Defaults
The default storage type is volatile.
Command Types
Switch command.
Command Modes
Normal.
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 (:); for example, 00:ab:34.
If you do not enter a context name, a NULL context string is used.
There are three versions of SNMP:
•
Version 1 (SNMPv1)—This is the initial implementation of SNMP. Refer to RFC 1157 for a full description of functionality.
•
Version 2 (SNMPv2c)—The second release of SNMP, described in RFC 1902, has additions and enhancements to data types, counter size, and protocol operations.
•
Version 3 (SNMPv3)—This is the most recent version of SNMP and is fully described in RFC 2571, RFC 2572, RFC 2573, RFC 2574, and RFC 2575. SNMPv3 has significant enhancements to administration and security.
The SNMP functionality on the Catalyst enterprise LAN switches for SNMP v1 and SNMP v2c remains intact; however, the functionality has greatly expanded for SNMPv3. Refer to the "Configuring SNMP" chapter of the Catalyst 6500 Series Switch Software Configuration Guide for more information on SNMPv3.
The read-only keyword is supported for security model v3 only.
Examples
This example shows how to display all SNMP access information:
Console> (enable) show snmp access
Group Name:defaultROgroup
Security Level:noauthentication
Read View:defaultAdminView
Notify View:defaultAdminView
Group Name:defaultROgroup
Secuirty Level:noauthentication
Read View:defaultAdminView
Notify View:defaultAdminView
Related Commands
clear snmp access
set snmp access
show snmp context
show snmp access-list
To display SNMP access list numbers and corresponding IP addresses and IP masks, use the show snmp access-list command.
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 access list numbers and corresponding IP addresses and IP masks:
Console> show snmp access-list
Access-Number IP-Addresses/IP-Mask
------------- -------------------------
1 172.20.60.100/255.0.0.0
Related Commands
clear snmp access-list
set snmp access-list
show snmp buffer
To display the number of SNMP packets that can be saved in the SNMP UDP socket receive buffer, use the show snmp buffer command.
show snmp buffer
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 number of SNMP socket packets that can be saved in the SNMP UDP socket receive buffer:
Console> show snmp buffer
SNMP socket receive buffer:40 packets
Related Commands
set snmp buffer
show snmp community
To display SNMP context information, use the show snmp community command.
show snmp community
show snmp community [read-only | volatile | nonvolatile]
show snmp community index [-hex] {index name}
Syntax Description
read-only
|
(Optional) Specifies that the community is defined as read only.
|
volatile
|
(Optional) Specifies the community type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Specifies the community type is defined as persistent memory and the content remains after the device is turned off and on again.
|
index
|
Specifies the index of community names.
|
-hex
|
(Optional) Displays index name as a hexadecimal character.
|
index name
|
Name of the community index.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal and privileged.
Usage Guidelines
If you enter the show snmp community command in privileged mode, the output display includes information for the read-only, the read-write, and the read-write-all community strings. If you enter the show snmp community command in normal mode, the display includes only information for the read-only community string.
Examples
This example shows the output when you enter the show snmp community command for the read-only community string in normal mode:
Console> show snmp community
Community Index: sysCommunityRo.0
This example shows the display output when you enter the show snmp community command for the read-only, the read-write, and the read-write-all community strings in privileged mode:
Console> (enable) show snmp community
Community Index: sysCommunityRo.0
Community Index: sysCommunityRw.0
Community Index: sysCommunityRwa.0
Related Commands
clear snmp community
set snmp community
show snmp context
To display SNMP context information, use the show snmp context command.
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
Related Commands
clear snmp access
set snmp access
show snmp access
show snmp counters
To display SNMP counter information, use the show snmp counters command.
show snmp counters [v3 | {{mod/port} {dot1d | dot3 | hcrmon | ifmib | rmon}}]
Syntax Description
v3
|
(Optional) Specifies SNMPv3 counters.
|
mod/port
|
Module number and port number.
|
dot1d
|
Specifies dot1d counters.
|
dot3
|
Specifies dot3 counters.
|
hcrmon
|
Specifies HCRMON counters.
|
ifmib
|
Specifies if-MIB counters.
|
rmon
|
Specifies RMON counters.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal
Usage Guidelines
There are three versions of SNMP:
•
Version 1 (SNMPv1)—This is the initial implementation of SNMP. Refer to RFC 1157 for a full description of functionality.
•
Version 2 (SNMPv2c)—The second release of SNMP, described in RFC 1902, has additions and enhancements to data types, counter size, and protocol operations.
•
Version 3 (SNMPv3)—This is the most recent version of SNMP and is fully described in RFC 2571, RFC 2572, RFC 2573, RFC 2574, and RFC 2575. SNMPv3 has significant enhancements to administration and security.
The SNMP functionality on the Catalyst enterprise LAN switches for SNMP v1 and SNMP v2c remains intact; however, the functionality has greatly expanded for SNMPv3. Refer to the "Configuring SNMP" chapter of the Catalyst 6500 Series Switch Software Configuration Guide for more information on SNMPv3.
Examples
This example shows how to display all SNMP counters:
Console> show snmp counters
mib2 SNMP group counters:
snmpInBadCommunityNames = 33
snmpInBadCommunityUses = 0
snmpInTotalReqVars = 61747
snmpOutGetResponses = 13960
Table 2-77 describes the fields in the show snmp counters command output.
Table 2-77 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.
|
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."
|
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 This example shows how to display the SNMPv3 counters:
1 Console> show snmp counters v3
1 snmpUnknownSecurityModels = 0
1 snmpUnknownPDUHandlers = 0
1 snmpv3 TARGET statistics:
1 snmpUnavailableContexts = 0
1 snmpUnknownContexts = 0
1 usmStatsUnsupportedSecLevels = 0
1 usmStatsNotInTimeWindows = 0
1 usmStatsUnknownUserNames = 0
1 usmStatsUnknownEngineIDs = 0
1 usmStatsWrongDigests = 0
1 usmStatsDecryptionErrors = 0
|
show snmp engineid
To display the SNMP local engine ID, use the show snmp engineid command.
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
Normal.
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
Table 2-78 describes the fields in the show snmp engineid command output.
Table 2-78 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
To display the name of the SNMP group or collection of users who have a common access policy, use the show snmp group command.
show snmp group [volatile | nonvolatile | read-only]
show snmp group [-hex] {groupname} [-hex] user {username}
[security-model {v1 | v2c | v3}]
Syntax Description
volatile
|
(Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Specifies the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Specifies that the storage type is defined as read only.
|
-hex
|
(Optional) Displays groupname and username as a hexadecimal character.
|
groupname
|
Name of the SNMP group or collection of users who have a common access policy.
|
user username
|
Specifies the SNMP group username.
|
security-model v1 | v2c | v3
|
(Optional) Specifies security model v1, v2c, or v3.
|
Defaults
The default storage type is volatile.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you use special characters for the groupname and username (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.
There are three versions of SNMP:
•
Version 1 (SNMPv1)—This is the initial implementation of SNMP. Refer to RFC 1157 for a full description of functionality.
•
Version 2 (SNMPv2c)—The second release of SNMP, described in RFC 1902, has additions and enhancements to data types, counter size, and protocol operations.
•
Version 3 (SNMPv3)—This is the most recent version of SNMP and is fully described in RFC 2571, RFC 2572, RFC 2573, RFC 2574, and RFC 2575. SNMPv3 has significant enhancements to administration and security.
The SNMP functionality on the Catalyst enterprise LAN switches for SNMP v1 and SNMP v2c remains intact; however, the functionality has greatly expanded for SNMPv3. Refer to the "Configuring SNMP" chapter of the Catalyst 6500 Series Switch Software Configuration Guide for more information on SNMPv3.
The read-only keyword is supported for security model v3 only.
Examples
This example shows how to display the SNMP group:
Console> (enable) show snmp group
Group Name: defaultROgroup
Group Name: defaultRWALLgroup
Group Name: defaultRWgroup
Group Name: defaultROgroup
Table 2-79 describes the fields in the show snmp group command output.
Table 2-79 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
|
Indicates whether the settings are volatile or nonvolatile.
|
Row Status
|
Status of the entry.
|
Related Commands
clear snmp group
set snmp group
show snmp ifalias
To display SNMP interface aliases, use the show snmp ifalias command.
show snmp ifalias [ifIndex]
show snmp ifalias module mod
show snmp ifalias vlan [vlan]
show snmp ifalias channel
Syntax Description
ifIndex
|
(Optional) Number of the interface index.
|
module
|
Displays module interface aliases.
|
mod
|
Number of the module.
|
vlan
|
Displays VLAN interface aliases.
|
vlan
|
(Optional) Number of the VLAN.
|
channel
|
Displays channel interface aliases.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not enter an interface index number, all interface aliases are displayed.
Related Commands
clear snmp ifalias
set snmp ifalias
show snmp notify
To display the snmpNotifyTable configuration, use the show snmp notify command.
show snmp notify [volatile | nonvolatile | read-only]
show snmp notify [-hex] {notifyname}
Syntax Description
volatile
|
(Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Specifies the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Specifies that the storage type is defined as read only.
|
-hex
|
(Optional) Displays notifyname as a hexadecimal character.
|
notifyname
|
A unique identifier to index the snmpNotifyTable.
|
Defaults
The default storage type is nonvolatile.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you use special characters for the notifyname value (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 the SNMP notify information for a specific notifyname value:
Console> (enable) show snmp notify snmpV1Notification
Notify Name: snmpV1Notification
Table 2-80 describes the fields in the show snmp notify command output.
Table 2-80 show snmp notify Command Output Fields
Field
|
Description
|
Notify Name
|
Unique identifier used to index the snmpNotifyTable.
|
Notify Tag
|
Name of the entry in the snmpNotifyTable.
|
Notify Type
|
Type of notification.
|
Storage Type
|
Storage type (volatile or nonvolatile).
|
Row Status
|
Status of the entry.
|
Related Commands
clear snmp notify
set snmp notify
show snmp rmonmemory
To display the memory usage limit in percentage, use the show snmp rmonmemory command.
show snmp rmonmemory
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The percentage value displayed indicates that you cannot create new RMON entries or restore entries from the NVRAM if the specified memory usage is exceeded.
Examples
This example shows how to display the RMON memory limit use:
Console> (enable) show snmp rmonmemory
Related Commands
set snmp rmonmemory
show snmp targetaddr
To display the SNMP target address entries in the snmpTargetAddressTable, use the show snmp targetaddr command.
show snmp targetaddr [volatile | nonvolatile | read-only]
show snmp targetaddr [-hex] {addrname}
Syntax Description
volatile
|
(Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Specifies the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Specifies that the storage type is defined as read only.
|
-hex
|
(Optional) Displays addrname as a hexadecimal character.
|
addrname
|
Name of the target agent; the maximum length is 32 bytes.
|
Defaults
The default storage type is nonvolatile.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you use special characters for the addrname value (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
Storage Type: nonvolatile
Table 2-81 describes the fields in the show snmp targetaddr command output.
Table 2-81 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
|
Storage type (volatile or nonvolatile).
|
Row Status
|
Status of the entry.
|
Related Commands
clear snmp targetaddr
set snmp targetaddr
show snmp targetparams
To display the SNMP parameters used in the snmpTargetParamsTable when generating a message to a target, use the show snmp targetparams command.
show snmp targetparams [volatile | nonvolatile | read-only]
show snmp targetparams [-hex] {paramsname}
Syntax Description
volatile
|
(Optional) Specifies that the storage type is defined as temporary memory and that the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Specifies the storage type is defined as persistent memory and that the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Specifies that the storage type is defined as read only.
|
-hex
|
(Optional) Displays paramsname as a hexadecimal character.
|
paramsname
|
Name of the parameter in the snmpTargetParamsTable; the maximum length is 32 bytes.
|
Defaults
The default storage type is volatile.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you use special characters for the paramsname value (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 parameter information in the snmpTargetParamsTable:
Console> (enable) show snmp targetparams snmpV1TrapParams
Target Parameter Name: snmpV1TrapParams
Message Processing Model: v1
Security Level: noauthentication
Table 2-82 describes the fields in the show snmp targetparams command output.
Table 2-82 show snmp targetparams Command Output Fields
Field
|
Description
|
Target Parameter Name
|
A unique identifier used to index the snmpTargetParamsTable.
|
Message Processing Model
|
Version number used by the Message Processing Model.
|
Security Name
|
Security string definition.
|
Security Level
|
Type of security level:
• Authentication—The security level is set to use the authentication protocol.
• Noauthentication—The security level is not set to use the authentication protocol.
|
Storage Type
|
Status of whether the settings are volatile or nonvolatile.
|
Row Status
|
Status of the entry.
|
Related Commands
clear snmp targetparams
set snmp targetparams
show snmp user
To display SNMP information for a specific user, use the show snmp user command.
show snmp user [volatile | nonvolatile | read-only]
show snmp user [-hex] {user} [remote {engineid}]
show snmp user summary
Syntax Description
volatile
|
(Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Specifies the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Specifies that the storage type is defined as read only.
|
-hex
|
(Optional) Displays user as a hexadecimal character.
|
user
|
Name of the SNMP user.
|
remote engineid
|
(Optional) Specifies the username on a remote SNMP engine.
|
summary
|
Specifies a summary of SNMP users.
|
Defaults
The default storage type is nonvolatile, and the local SNMP engine ID is used.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you use special characters for the user value (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 user information:
Console> (enable) show snmp user joe
Authentication Protocol: md5
Table 2-83 describes the fields in the show snmp user command output.
Table 2-83 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
|
Status of whether the settings are volatile or nonvolatile.
|
Row Status
|
Status of the entry.
|
Related Commands
clear snmp user
set snmp user
show snmp view
To display the SNMP MIB view configuration, use the show snmp view command.
show snmp view [volatile | nonvolatile | read-only]
show snmp view [-hex] {viewname} {subtree}
Syntax Description
volatile
|
(Optional) Specifies the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Specifies the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Specifies that the storage type is defined as read only.
|
-hex
|
(Optional) Displays the viewname as a hexadecimal character.
|
viewname
|
Name of a MIB view.
|
subtree
|
Name of the subtree.
|
Defaults
The default view is volatile.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you use special characters for the viewname value (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 be in OID format or a text name mapped to a valid OID.
The read-only keyword is supported for security model v3 only.
Examples
This example shows how to display the SNMP MIB view:
Console> (enable) show snmp view
View Name: defaultUserView
Table 2-84 describes the fields in the show snmp view command output.
Table 2-84 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 a text name 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
|
Storage type (volatile or nonvolatile).
|
Row Status
|
Status of the entry.
|
Related Commands
clear snmp view
set snmp view
show span
To display information about the current SPAN configuration, use the show span command.
show span [all]
Syntax Description
all
|
(Optional) Displays local and remote SPAN configuration information.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display SPAN information for the switch. In this example, the SPAN source is port 2/1 and the SPAN destination is port 2/12. Only transmit traffic is monitored. Normal incoming packets are disabled on the SPAN destination port. Monitoring multicast traffic is enabled.
Console> (enable) show span
----------------------------------------------------------
Direction : transmit/receive
Incoming Packets: enabled
Filter : 10,20,30,40,50,60,70,80,90,100
Table 2-85 describes the fields in the show span command output.
Table 2-85 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
|
Status of whether transmit, receive, or transmit and receive information is monitored.
|
Incoming Packets
|
Status of whether reception of normal incoming packets on the SPAN destination port is enabled or disabled.
|
Learning
|
Status of whether learning is enabled or disabled for the SPAN destination port.
|
Multicast
|
Status of whether monitoring multicast traffic is enabled or disabled.
|
Filter
|
Monitored VLANs in source trunk ports.
|
Max. Bandwidth
|
Bandwidth limits for SPAN traffic, in Mbps.
|
Related Commands
clear config
set spantree root
show spantree
To display spanning tree information for a VLAN or port, use the show spantree command.
show spantree [vlan] [active]
show spantree mod/port
Syntax Description
vlan
|
(Optional) Number of the VLAN; valid values are from 1 to 1001 and from 1025 to 4094.
|
active
|
(Optional) Displays only the active ports.
|
mod/port
|
Number of the module and the port on the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify the VLAN number, VLAN 1 is displayed.
If you are in MISTP mode, instance information is not displayed.
The maximum length of the channel port list can be 47. The spaces in the Port(s) column may not be enough to display the entire list in one line. If this is the case, the port list is split into multiple lines. For example, in the following display, ports 6/5-8, 6/13, 6/15, 6/17, 6/19 are channeling:
Port(s) Vlan Port-State Cost Prio Portfast Channel_id
------------------------ ---- ------------- --------- ---- -------- ----------
6/5-8,6/13,6/15,6/17,6/1 1 not-connected 2684354 32 disabled 0
The LACP channel protocol does not support half-duplex links. If a port is in active/passive mode and becomes half duplex, the port is suspended (and a syslog message is generated). The port is shown as "connected" using the show port command and as "not connected" using the show spantree command. This discrepancy is because the port is physically connected but never joined spanning tree. To get the port to join spanning tree, either set the duplex to full or set the channel mode to off for that port.
Examples
This example (while in PVST+ mode) shows how to display the active spanning tree port configuration for VLAN 1:
Console> (enable) show spantree 1 active
Designated Root 00-60-70-4c-70-00
Designated Root Priority 16384
Root Max Age 14 sec Hello Time 2 sec Forward Delay 10 sec
Bridge ID MAC ADDR 00-d0-00-4c-18-00
Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec
Port Vlan Port-State Cost Prio Portfast Channel_id
------------------------ ---- ------------- --------- ---- -------- ----------
2/3 1 forwarding 19 32 disabled 0
2/12 1 forwarding 19 32 disabled 0
This example (while in MISTP mode) shows how to display the active spanning tree port configuration for VLAN 1:
Console> (enable) show spantree 1 active
VLAN mapped to MISTP Instance: 1
Port Vlan Port-State Cost Prio Portfast Channel_id
------------------------ ---- ------------- --------- ---- -------- ----------
2/3 1 forwarding 200000 32 disabled 0
2/12 1 forwarding 200000 32 disabled 0
This example (while in Rapid PVST+ mode) shows how to display the active spanning tree port configuration for VLAN 989:
Console> show spantree 989 active
Spanning tree mode RAPID-PVST+
Designated Root 00-02-7d-a4-53-dc
Designated Root Priority 8192
Root Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec
Bridge ID MAC ADDR 00-02-7d-a4-53-dc
Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec
Port State Role Cost Prio Type
------------------------ ------------- ---- -------- ---- --------------------
3/3 forwarding DESG 19 32 P2P, PEER(STP)
5/1 forwarding DESG 4 32 P2P, Edge
6/5 forwarding DESG 4 32 P2P
This example (while in Rapid PVST+ mode) shows how to display the spanning tree configuration for module 5, port 1:
Console> show spantree 5/1
Edge Port: Yes, (Configured) Disable
Link Type: P2P, (Configured) Auto
Port Vlan State Role Cost Prio Type
------------------------ ---- ------------- ---- -------- ---- -----------------
5/1 1 forwarding DESG 4 32 P2P, Edge
5/1 40 forwarding DESG 4 32 P2P, Edge
5/1 500 forwarding DESG 4 32 P2P, Edge
5/1 501 forwarding DESG 4 32 P2P, Edge
5/1 856 forwarding DESG 4 32 P2P, Edge
5/1 989 forwarding DESG 4 32 P2P, Edge
Table 2-86 describes the fields in the show spantree command output:
Table 2-86 show spantree Command Output Fields
Field
|
Description
|
VLAN
|
VLAN for which the spanning tree information is shown.
|
Spanning tree
|
Status of whether Spanning Tree Protocol is enabled or disabled.
|
Spanning tree mode
|
Current spanning tree mode: mistp, pvst+, mistp-pvst+, mst, or rapid pvst+.
|
Spanning tree type
|
Current spanning tree type: ieee or cisco.
|
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.
|
Forward Delay
|
Amount of time the bridge spends in listening and 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).
|
Role
|
Port role in the spanning tree: Root, Designated, Alternate, Back-up.
|
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
show spantree backbonefast
show spantree blockedports
show spantree portvlancost
show spantree statistics
show spantree summary
show spantree uplinkfast
show spantree backbonefast
To display whether the spanning tree BackboneFast Convergence feature is enabled, use the show spantree backbonefast command.
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.
Usage Guidelines
This command is not available in MISTP mode or in MST mode.
Examples
This example shows how to display whether the spanning tree BackboneFast Convergence feature is enabled:
Console> show spantree backbonefast
Related Commands
set spantree backbonefast
show spantree defaultcostmode
show spantree blockedports
To display only the blocked ports on a per-VLAN or per-instance basis, use the show spantree blockedports command.
show spantree blockedports [vlans]
show spantree blockedports mistp-instance [instance]
show spantree blockedports mst [instance]
Syntax Description
vlans
|
(Optional) Number of the VLANs.
|
mistp-instance instance
|
Keyword and optional variable to display instance-specific information; valid values are from 1 to 16.
|
mst instance
|
Keyword and optional variable to display instance-specific information; valid values are from 0 to 15.
|
Defaults
The default is all blocked ports in all VLANs are displayed.
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
This example shows how to display the blocked ports for an MISTP instance:
Console> show spantree blockedports mistp-instance 1
Number of blocked ports (segments) in Instance 1 : 0
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
Related Commands
show spantree
show spantree bpdu-filter
To display information about BPDU filtering, use the show spantree bpdu-filter command.
show spantree bpdu-filter [mod[/port]]
Syntax Description
mod
|
(Optional) Number of the module.
|
port
|
(Optional) Number of the port on the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display information about BPDU filtering on module 1:
Console> show spantree bpdu-filter 1
Global BPDU Filter is disabled on the switch.
------------------------ -----------
Related Commands
set spantree bpdu-filter
show spantree bpdu-guard
To display information about BPDU guard, use the show spantree bpdu-guard command.
show spantree bpdu-guard [mod[/port]]
Syntax Description
mod
|
(Optional) Number of the module.
|
port
|
(Optional) Number of the port on the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display information about BPDU guard on module 1:
Console> show spantree bpdu-guard 1
Global BPDU Guard is disabled on the switch.
------------------------ ----------
Related Commands
set spantree bpdu-guard
show spantree bpdu-skewing
To display BPDU skewing detection status, use the show spantree bpdu-skewing command.
show spantree bpdu-skewing vlan [mod/port]
show spantree bpdu-skewing {mistp-instance instance} mod/port
show spantree bpdu-skewing mst [instance | mod/port]
Syntax Description
vlan
|
Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.
|
mod/port
|
(Optional) Number of the module and the port on the module.
|
mistp-instance instance
|
Displays instance-specific information; valid values are from 1 to 16.
|
mst
|
Displays MST instance information.
|
instance
|
(Optional) Number of the instance; valid values are from 1 to 15.
|
mod/port
|
(Optional) Number of the module and the port on the module.
|
Defaults
The default is the BPDU skew status for all VLANs is displayed.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The mistp-instance instance options are available in MISTP mode only.
You can use this command to troubleshoot slow network convergence due to skewing. Skewing occurs when spanning tree timers lapse, expected BPDUs are not received, and spanning tree detects topology changes. The difference between the expected result and the BPDUs actually received is a skew. The skew causes BPDUs to reflood the network to keep the spanning tree topology database up to date.
Examples
This example shows how to display the BPDU skew status for a VLAN:
Console> show spantree bpdu-skewing 1
Bpdu skewing statistics for vlan 1
Port Last Skew (ms) Worst Skew (ms) Worst Skew Time
-------------- --------------- --------------- -------------------------
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/24 4111 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
This example shows how to display the BPDU skew status for a specific module and port on a VLAN:
Console> (enable) show spantree bpdu-skewing 1 5/9
Bpdu skewing statistics for vlan 1
Port Last Skew (ms) Worst Skew (ms) Worst Skew Time
-------------- --------------- --------------- -------------------------
5/9 3992 4407 Mon Mar 26 2001, 11:31:37
Table 2-87 describes the fields in the show spantree bpdu-skewing command output.
Table 2-87 show spantree bpdu-skewing Command Output Fields
Field
|
Description
|
Last Skew (ms)
|
Duration of the last skew; absolute time in milliseconds.
|
Worst Skew (ms)
|
Duration of the worst skew; absolute time in milliseconds.
|
Worst Skew Date
|
Date and time of the worst skew duration.
|
Related Commands
set spantree bpdu-skewing
show spantree summary
show spantree conflicts
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 removed from the table, use the show spantree conflicts command.
show spantree conflicts vlan
Syntax Description
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.
This command is not available in MST mode.
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 an MISTP instance are started with the maximum age of the BPDU and can be up to the maximum age. This 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 the following:
•
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 because the VLAN is already mapped to the instance or a conflict is in progress.
Examples
This example shows the output if there are no conflicts on the specified VLAN:
Console> (enable) show spantree conflicts 1
---- ----------------- --------- ---------
1 00-30-a3-4a-0c-00 inactive 35
This example shows the output if there are conflicts on the specified VLAN:
Console> (enable) show spantree conflicts 1
---- ----------------- --------- ---------
1 00-30-a3-4a-0c-00 inactive 35
3 00-30-f1-e5-00-01 inactive 23
Table 2-88 describes the fields in the show spantree conflicts command output.
Table 2-88 show spantree conflicts 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 removed from the table.
|
Related Commands
show spantree mistp-instance
show spantree defaultcostmode
To display the current default port cost mode, use the show spantree defaultcostmode command.
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.
Related Commands
set spantree defaultcostmode
show spantree guard
To display spanning tree guard information for the VLANs or instances on a port, use the show spantree guard command.
show spantree guard [vlan]
show spantree guard [mod/port]
show spantree guard mistp-instance [instance]
show spantree guard mistp-instance [mod/port]
show spantree guard mst [instance]
show spantree guard mst [mod/port]
Syntax Description
vlan
|
(Optional) Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.
|
mod/port
|
(Optional) Number of the module and the port on the module.
|
mistp-instance instance
|
Keyword and optional variable to display MISTP instance-specific information; valid values are from 1 to 16.
|
mst instance
|
Keyword and optional variable to display MST instance-specific information; valid values are from 0 to 15.
|
Defaults
The default is VLAN 1, and the default port list is "all the ports" in the specified or default VLAN.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
he command works on a per-port basis. When you enable the feature on a port, a logical port is blocked on a per-VLAN basis. This means that you can specify a port (or a list of ports) and specify a VLAN, but you cannot specify both.
Examples
This example shows how to display spanning tree guard information for a specific VLAN:
Console> show spantree guard 1004
Port Vlan Port-State Guard type
---- ---- ------------------- ------------
1/1 1004 root-inconsistent root
1/2 1004 not-connected none
2/1 1004 loop-inconsistent loop
This example shows how to display spanning tree guard information for a specific instance:
Console> show spantree guard mistp-instance 3
Port Inst Port-State Guard Type
------------------------ ---- ------------- ----------
Related Commands
set spantree guard
show spantree mapping
To display VLAN and instance mapping information, use the show spantree mapping.
show spantree mapping [config]
Syntax Description
config
|
(Optional) Displays mappings 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, this message displays:
Runtime vlan and instance mapping information is only available in MISTP
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
---- ----------------- --------------------------------------------------
This example shows how to display mappings configured on the local switch:
Console> (enable) show spantree mapping config
---- ----------------- --------------------------------------------------
Related Commands
set vlan
show spantree mistp-instance
To display instance information, use the show spantree mistp-instance command.
show spantree mistp-instance [instance] [active]
show spantree mistp-instance mod/port
Syntax Description
instance
|
(Optional) Instance number; valid values are from 1 to 16.
|
active
|
(Optional) Displays only active ports.
|
mod/port
|
Number of the module and the port on the module.
|
Defaults
The default instance 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
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 Port none
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)
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
Table 2-89 describes the fields in the show spantree mistp-instance command output:
Table 2-89 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 of the 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
To display MST information, use the show spantree mst command.
show spantree mst [instance | mod/port]
show spantree mst active
Syntax Description
instance
|
Number of the instance; valid values are from 0 to 15.
|
mod/port
|
Number of the module and the port on the module.
|
active
|
Displays active IST ports only.
|
Defaults
The default instance is instance 0 (IST).
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
You can use the show spantree mst command to display VLAN-specific spanning tree information.
Examples
This example shows how to display MST information:
Console> (enable) show spantree mst
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
This example shows how to display MST instance-specific information for instance 1:
Console> (enable) show spantree mst 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
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
This example shows how to display MST instance-specific information for port 6 on module 3:
console> show spantree mst 3/6
Edge Port: No, (Configured) Default
Link Type: P2P(Configured) Auto
Inst State Role Cost Prio VLANs
---- ------------- ---- --------- ---- --------------------------------
0 forwarding ROOT 2000000 32 1
Related Commands
clear spantree mst
set spantree mst config
show spantree
show spantree mst config
show spantree mst config
To display the MST region information present in NVRAM and to display changes that have not been applied to the MST region configuration yet, use the show spantree mst config command.
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
Currnet (NVRAM) MST Configuration
Configuration Name:Cisco Revision: 1
-------- ----------------- ------------------------
IST 401-1005,1025-1999,2201-4096
===============================================
New MST Region Configuration (Not applied yet)
Region Name:Catalyst Revision: 6000
-------- ----------------- ------------------------
IST 1-50,401-1005,1025-1999,2201-4096
================================================
Edit buffer is locked by: Console
Related Commands
clear spantree mst
set spantree mst config
show spantree portfast
To display PortFast information, use the show spantree portfast command.
show spantree portfast [mod/port]
Syntax Description
mod/port
|
(Optional) Number of the module and the port on the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
When you enter the show spantree portfast command, if the designation for a port is displayed as an edge port, it is a PortFast port. Refer to Chapter 8, "Configuring Spanning Tree," and Chapter 9, "Configuring Spanning Tree PortFast, UplinkFast, BackboneFast, and Loop Guard," of the Catalyst 6500 Series Switch Software Configuration Guide for more information about PortFast.
Examples
This example shows how to display PortFast information:
Console> show spantree portfast
Portfast BPDU guard is disabled.
Portfast BPDU filter is disabled.
This example shows how to display PortFast information for a specific module and port:
Console> show spantree portfast 3/1
Portfast BPDU guard is disabled.
Portfast BPDU filter is disabled.
Related Commands
set spantree portfast
set spantree portfast bpdu-filter
set spantree portfast bpdu-guard
show spantree portinstancecost
To show the path cost for the instances on a port, use the show spantree portinstancecost command.
show spantree portinstancecost mod/port
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to 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.
Related Commands
clear spantree portinstancecost
set spantree portinstancecost
show spantree portvlancost
To show the path cost for the VLANs or extended-range VLANs, use the show spantree portvlancost command.
show spantree portvlancost mod/port | extended-range
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
extended-range
|
Specifies extended-range VLANs.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is valid in PVST+ mode only.
Extended-range VLANs are from 1025 to 4094 and cannot be managed using VTP.
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.
Related Commands
clear spantree portvlancost
set spantree portvlancost
show spantree statistics
To show spanning tree statistical information, use the show spantree statistics command.
show spantree statistics mod/port [vlan]
show spantree statistics mod/port mistp-instance [instance]
show spantree statistics mod/port mst [instance]
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
vlan
|
(Optional) Number of the VLAN; valid values are from 1 to 1001 and from 1025 to 4094.
|
mistp-instance instance
|
Keyword and optional variable to display MISTP instance-specific information; valid values are from 1 to 16.
|
mst instance
|
Keyword and optional variable to display MST 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
port spanning tree enabled
message age (port/VLAN) 0(10)
designated_root 00-10-2f-52-eb-ec
designated_bridge 00-10-2f-52-eb-ec
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 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
delay root port timer INACTIVE
delay root port timer value 0
VLAN based information & statistics
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 forward delay 4 sec
topology change initiator: 1/0
topology change detected FALSE
dynamic max age transitions 0
num of similar bpdus to process 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
This example shows how to display instance-specific information:
Console> (enable) show spantree statistics 2 mistp-instance 2
SpanningTree enabled for instance = 2
port spanning tree enabled
message age (port/inst) 1(20)
designated_root 00-50-3e-8f-8c-00
designated_bridge 00-50-3e-8f-8c-00
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 delay timer INACTIVE
forward delay timer value 15
message age timer value 1
topology change timer INACTIVE
topology change 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 multicast address 01-80-c2-00-00-00
bridge mac address 00-d0-00-b3-68-00
bridge forward delay 15(15) sec
topology change initiator: 15/63
last topology change occured: Sun Jun 7 2000, 09:00:03
topology change detected FALSE
topology change last recvd. from 00-00-00-00-00-00
dynamic max age transitions 0
num of similar bpdus to process 0
received_inferior_bpdu FALSE
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
This example shows how to display MST instance-specific information:
Console> show spantree statistics 8/1 mst 0
SpanningTree enabled for instance = 0
port spanning tree enabled
message age (port/VLAN) 0(20)
designated_root 00-04-9b-ba-48-00
designated_bridge 00-10-7b-bb-2f-00
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)
root inc trans count (port/inst) 0(0)
loop inc trans count (port/inst) 0(0)
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
delay root port timer INACTIVE
delay root port timer value 0
delay root port timer restarted is FALSE
Vlan based information & statistics
spanningtree multicast address 01-80-c2-00-00-00
bridge mac address 00-10-7b-bb-2f-00
bridge forward delay 15(15) sec
topology change initiator: 1/0
last topology change occured: Fri Sep 7 2001, 09:52:22
topology change detected FALSE
topology change last recvd. from 00-00-00-00-00-00
dynamic max age transitions 0
num of similar bpdus to process 0
received_inferior_bpdu FALSE
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
Table 2-90 describes the possible fields in the show spantree statistics command output.
Table 2-90 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 parentheses) recorded by the switch.
|
designated_root
|
MAC address of the designated spanning tree 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 Acknowledgement 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 the 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 ID 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 initiator:
|
Number of the port that caused the topology change.
|
topology change
|
Boolean parameter set to record the value of the topology change flag in config BPDUs to be transmitted by the bridge on 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
|
Boolean parameter set to TRUE when a topology change has 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 faciliate 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. It should always be set to NULL for the Catalyst 6500 series switches.
|
next_src_mac
|
MAC address from the different source. It should always be set to NULL for the Catalyst 6500 series switches.
|
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
|
Number of times the channel ok condition was detected.
|
Related Commands
clear spantree statistics
show spantree
show spantree summary
To display a summary of spanning tree information, use the show spantree summary command.
show spantree summary [novlan]
show spantree summary {mistp-instance | mst} [noinstance]
Syntax Description
novlan
|
(Optional) Displays non-VLAN-specific information only.
|
mistp-instance
|
Displays MISTP instance-specific information only.
|
mst
|
Displays MST instance-specific information only.
|
noinstance
|
(Optional) Displays non-instance-specific information only.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If the switch is not the root for any VLANs, "none" is displayed in the "Root switch for vlans" field.
Examples
This example shows how to display a summary of spanning tree information:
Console> show spantree summary
Spanning tree mode: RAPID-PVST+
MAC address reduction: enabled
Root switch for vlans: none.
Global loopguard is disabled on the switch.
Global portfast is disabled on the switch.
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
----- -------- --------- -------- ---------- ----------
Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
This example shows how to display non-VLAN-specific information only:
Console> show spantree summary novlan
Spanning tree mode: RAPID-PVST+
MAC address reduction: enabled
Root switch for vlans: none.
Global loopguard is disabled on the switch.
Global portfast is disabled on the switch.
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.
Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
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
----- -------- --------- -------- ---------- ----------
Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
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
----- -------- --------- -------- ---------- ----------
Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
This example shows how to display a summary of spanning tree noninstance-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
----- -------- --------- -------- ---------- ----------
Related Commands
show spantree
show spantree uplinkfast
To show the UplinkFast feature settings, use the show spantree uplinkfast command.
show spantree uplinkfast [{mistp-instance [instances]} | vlans]
Syntax Description
mistp-instance instances
|
(Optional) Keyword and (optional) variable to display instance-specific information; valid values are from 1 to 16.
|
vlans
|
(Optional) Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The mistp-instance instances keyword and optional variable are available in MISTP or MISTP/PVST+ mode only.
The vlans variable is available in PVST+ mode only.
You can enter a single VLAN or instance or a range of VLANs or instances separated by commas.
If you do not specify a VLAN or instance, all VLANs or instances are displayed.
This command is not available in MST mode.
Examples
This example shows how to display the UplinkFast feature settings for all VLANs:
Console> show spantree uplinkfast
Station update rate set to 15 packets/100ms.
uplinkfast all-protocols field set to off.
------------------------------------------------
21-50 1/9(fwd), 1/6-1/8, 1/10-1/12
This example shows how to display the UplinkFast feature settings for a specific instance:
Console> show spantree uplinkfast mistp-instance 1
Station update rate set to 15 packets/100ms.
uplinkfast all-protocols field set to off.
------------------------------------------------
This example shows how to display the UplinkFast feature settings when in Rapid PVST+ mode:
Console> show spantree uplinkfast
uplinkfast is enabled but inactive in Rapid-Pvst+ mode.
Related Commands
clear spantree uplinkfast
set spantree uplinkfast
show startup-config
To display the startup configuration file contained in NVRAM or specified by the CONFIG_FILE environment variable, use the show startup-config command.
show startup-config
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
To view specific information within the show startup-config output, if you enter /text and press the Return key at the --More-- prompt, the display starts two lines above the line containing the text string. If the text string is not found, "Pattern Not Found" is displayed. You can also enter "n" at the --More-- prompt to search for the last entered text string.
Examples
This example shows how to display the switch startup configuration:
Console> (enable) show startup-config
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default configurations.
# ***** NON-DEFAULT CONFIGURATION *****
#time: Mon Jun 11 2001, 06:56:10
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state acti
set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active s
set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state act
ve mode srb aremaxhop 7 stemaxhop 7 backupcrf off
set interface sc0 1 172.20.52.19/255.255.255.224 172.20.52.31
set ip route 0.0.0.0/0.0.0.0 172.20.52.1
set boot config-register 0x10f
set boot system flash bootflash:cat6000-sup2-d.6-3-0-56-PAN.bin
set boot system flash bootflash:cat6000-sup2-d.6-3-0-54-PAN.bin
set boot system flash bootflash:cat6000-sup2-d.6-3-0-46-PAN.bin
set boot system flash bootflash:cat6000-sup2-d.6-3-0-44-PAN.bin
set boot system flash bootflash:
set qos wred 1p2q2t tx queue 1 60:80 80:100
set qos wred 1p2q2t tx queue 2 60:80 80:100
set qos wred 1p3q1t tx queue 1 80:100
set qos wred 1p3q1t tx queue 2 80:100
set qos wred 1p3q1t tx queue 3 80:100
set pbf mac 00-01-64-61-39-c3
set security acl adjacency ADJ2 10 00-00-00-00-00-0a 00-00-00-00-00-0b mtu 9600
# default port status is enable
#module 2 : 2-port 1000BaseX Supervisor
#module 3 : 48-port 10/100BaseTX Ethernet
#module 5 : 0-port Switch Fabric Module
Related Commands
show running-config
show summertime
To display the current status of the summertime feature, use the show summertime command.
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:
Summertime is disabled and set to ''
Start : Thu Apr 13 2000, 04:30:00
End : Mon Jan 21 2002, 05:30:00
Offset: 1440 minutes (1 day)
Related Commands
set summertime
show system
To display system information, use the show system command.
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
The switching bus traffic values displayed apply to a single bus.
Examples
This example shows how to display system information:
Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout
---------- ---------- ---------- -------------- ---------
ok off ok 1,22:38:21 20 min
-------------------- --------------------
Modem Baud Traffic Peak Peak-Time
------- ----- ------- ---- -------------------------
disable 9600 0% 0% Mon Jan 10 2000, 15:23:31
PS1 Capacity: 1153.32 Watts (27.46 Amps @42V)
System Name System Location System Contact CC
------------------------ ------------------------ ------------------------ ---
Information Systems Closet 230 4/F Xena ext. 24
No active fabric module in the system.
------------------------ -----------------------
enabled bootflash:crashinfo
------------------------ -----------------------
enabled bootflash:sysloginfo
This example shows how to display system information on a system configured with the Supervisor Engine 2 with Layer 3 Switching Engine II (PFC2):
Console> (enable) show system
Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout
---------- ---------- ---------- -------------- ---------
ok off ok 5,22:12:33 20 min
-------------------- --------------------
Modem Baud Backplane-Traffic Peak Peak-Time
------- ----- ----------------- ---- -------------------------
disable 9600 0% 0% Tue Mar 5 2002, 11:44:07
PS1 Capacity: 1153.32 Watts (27.46 Amps @42V)
System Name System Location System Contact CC
------------------------ ------------------------ ------------------------ ---
------------------------ -----------------------
------------------------ -----------------------
enabled bootflash:sysloginfo
Table 2-91 describes the fields in the show system command output.
Table 2-91 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).
|
Fan-Status
|
Status of the fan (ok, faulty, or other).
|
Temp-Alarm
|
Status of whether 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.
|
Modem
|
Status of the modem status (enable or disable).
|
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.
|
PS1 Capacity
|
Power supply 1 maximum capacity.
|
PS2 Capacity
|
Power supply 2 maximum capacity.
|
PS Configuration
|
Power supply configuration.
|
System Name
|
System name.
|
System Location
|
System location.
|
System Contact
|
System contact information.
|
CC
|
Country code string.
|
Core Dump
|
Status of the core dump feature (enable or disable).
|
Core File
|
Flash file device and core dump file name.
|
Syslog Dump
|
Status of the syslog dump feature (enable or disable).
|
Syslog File
|
Flash file device and syslog dump file name.
|
Backplane-Traffic
|
Current traffic percentage.
|
Fabric Chan
|
Number of the fabric channel.
|
Input
|
Percentage of fabric channel utilization for input.
|
Output
|
Percentage of fabric channel utilization for output.
|
Related Commands
set system baud
set system contact
set system core-dump
set system core-file
set system countrycode
set system location
set system modem
set system name
set system syslog-dump
set system syslog-file
show system highavailability
To display the system high-availability configuration settings, use the show system highavailability command.
show system highavailability
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 system high-availability configuration settings:
Console> (enable) show system highavailability
Highavailability:disabled
Highavailability versioning:disabled
Highavailability Operational-status:OFF(high-availability-not-enabled)
Related Commands
set system highavailability
set system highavailability versioning
show system supervisor-update
To display the Erasable Programmable Logic Device (EPLD) upgrade process configuration, use the show system supervisor-update command.
show system supervisor-update
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 EPLD upgrade configuration:
Console> show system supervisor-update
Supervisor EPLD update: disabled
Related Commands
set system supervisor-update
show system switchmode
To display the system switching mode setting, use the show system switchmode command.
show system switchmode
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 system switching mode:
Console> show system switchmode
Switching-mode allow:truncated
Switching-mode threshold:2
Related Commands
set system switchmode allow
show tacacs
To display the TACACS+ protocol configuration, use the show tacacs command.
show tacacs [noalias]
Syntax Description
noalias
|
(Optional) Forces the display to show IP addresses, not IP aliases.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the TACACS+ protocol configuration:
Login Authentication: Console Session Telnet Session
--------------------- ---------------- ----------------
local enabled(primary) enabled(primary)
Enable Authentication:Console Session Telnet Session
---------------------- ----------------- ----------------
local enabled(primary) enabled(primary)
Tacacs direct request:disabled
---------------------------------------- -------
Table 2-92 describes the fields in the show tacacs command output.
Table 2-92 show tacacs Command Output Fields
Field
|
Description
|
Login authentication
|
Display of the login authentication types.
|
Console Session
|
Status of whether the console session is enabled or disabled.
|
Telnet Session
|
Status of whether the Telnet session is enabled or disabled.
|
Enable Authentication
|
Display of the enable authentication types.
|
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 attempts
set tacacs directedrequest
set tacacs key
set tacacs server
set tacacs timeout
show tech-support
To display system and configuration information you can provide to the Cisco Technical Assistance Center when reporting a problem, use the show tech-support command.
show tech-support [{module mod} | {port mod/port}] [vlan vlan] [mistp-instance instance]
[mst instance] [memory] [config]
Syntax Description
module mod
|
(Optional) Specifies the module number of the switch ports.
|
port mod/port
|
(Optional) Specifies the module and port number of the switch ports.
|
vlan vlan
|
(Optional) Specifies the VLAN; valid values are from 1 to 1001 and from 1025 to 4094.
|
mistp-instance instance
|
(Optional) Specifies the MISTP instance number; valid values are from 1 to 16.
|
mst instance
|
(Optional) Specifies the MST instance number; valid values are from 0 to 15.
|
memory
|
(Optional) Displays memory and processor state data.
|
config
|
(Optional) 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 all configuration, memory, module, port, instance, and VLAN data.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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.
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 spantree summary
•
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 in the "Usage Guidelines" section.