Table Of Contents
show snmp access
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 portvlancost
show spantree statistics
show spantree summary
show spantree uplinkfast
show summertime
show system
show system highavailability
show tacacs
show tech-support
show test
22
show snmp access
Use the show snmp access command set 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 to display information for volatile storage types.
|
nonvolatile
|
(Optional) Keyword to display information for nonvolatile storage types.
|
read-only
|
(Optional) Keyword to display information for read-only storage types.
|
groupname
|
Name of the SNMP group or collection of users who have a common access policy.
|
-hex
|
(Optional) Keyword to display groupname and username as a hexadecimal character.
|
security-model v1 | v2c | v3
|
Keywords to specify security model v1, v2c, or v3.
|
noauthentication
|
Keyword to display information for security models not set to use authentication protocol.
|
authentication
|
Keyword to display information for authentication protocol.
|
privacy
|
Keyword to display 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 this parameters), 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.
Related Commands
set snmp access
clear snmp access
show snmp counters
Use the show snmp counters command to display SNMP counter information.
show snmp counters
show snmp counters {mod | port} [dot1d | dot3 | dot5 | fddi | hcrmon | ifmib |
rmon | v3]
Syntax Description
mod
|
Module number.
|
port
|
Port number.
|
dot1d
|
(Optional) Keyword to specify dot1d counters.
|
dot3
|
(Optional) Keyword to specify dot3 counters.
|
dot5
|
(Optional) Keyword to specify dot5 counters.
|
fddi
|
(Optional) Keyword to specify FDDI counters.
|
hcrmon
|
(Optional) Keyword to specify HCRMON counters.
|
ifmib
|
(Optional) Keyword to specify if-MIB counters.
|
rmon
|
(Optional) Keyword to specify RMON counters.
|
v3
|
(Optional) Keyword to specify SNMP v3 counters.
|
Defaults
This command has no default setting.
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:
snmpInBadCommunityNames = 33
snmpInBadCommunityUses = 0
snmpInTotalReqVars = 61747
snmpOutGetResponses = 13960
This example shows how to display SNMP 3 counters:
Console> show snmp counters v3
usmStatsUnsupportedSecLevels = 1
usmStatsNotInTimeWindows = 11
usmStatsUnknownUserNames = 18
usmStatsUnknownEngineIDs = 35
usmStatsDecryptionErrors = 0
Table 2-52 describes the fields in the show snmp counters command output.
Table 2-52 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.
|
usmStatsUnsupportedSecLevels
|
Number of packets received by the SNMP engine that were dropped because they requested a security level that was unknown to the SNMP engine or otherwise unavailable.
|
usmStatsNotInTimeWindows
|
Number of packets received by the SNMP engine that were dropped because they appeared outside of the authoritative SNMP engine's window.
|
usmStatsUnknownUserNames
|
Number of packets received by the SNMP engine that were dropped because they referenced a user that was not known to the SNMP engine.
|
usmStatsUnknownEngineIDs
|
Number of packets received by the SNMP engine that were dropped because they referenced an snmpEngineID that was not known to the SNMP engine.
|
usmStatsWrongDigests
|
Number of packets received by the SNMP engine that were dropped because they did not contain the expected digest value.
|
usmStatsDecryptionErrors
|
Number of packets received by the SNMP engine that were dropped because they could not be decrypted.
|
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 setting.
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 SNMP entity has 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-53 describes the fields in the show snmp engineid command output.
Table 2-53 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} [-hex] user {username}
[security-model {v1 | v2c | v3}]
Syntax Description
volatile
|
(Optional) Keyword to specify the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Keyword to specify the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Keyword to specify that the storage type is defined as read only.
|
groupname
|
Name of the SNMP group or collection of users who have a common access policy.
|
-hex
|
(Optional) Keyword to display groupname and username as a hexadecimal character.
|
user username
|
Keyword and variable to specify the SNMP group username.
|
security-model v1 | v2c | v3
|
(Optional) Keywords to 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 (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.
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-54 describes the fields in the show snmp group command output.
Table 2-54 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
set snmp group
clear 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 to specify the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Keyword to specify the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Keyword to specify that the storage type is defined as read only.
|
-hex
|
(Optional) Keyword to display 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
Privileged.
Usage Guidelines
If you use special characters for the notifyname (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:
Console> (enable) show snmp notify snmpV1Notification
Notify Name: snmpV1Notification
Table 2-55 describes the fields in the show snmp notify command output.
Table 2-55 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
set snmp notify
clear snmp notify
show snmp targetaddr
Use the show snmp targetaddr command to display the SNMP target address entries in the snmpTargetAddressTable.
show snmp targetaddr [volatile | nonvolatile | read-only]
show snmp targetaddr [-hex] {addrname}
Syntax Description
volatile
|
(Optional) Keyword to specify the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Keyword to specify the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Keyword to specify that the storage type is defined as read only.
|
-hex
|
(Optional) Keyword to display 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
Privileged.
Usage Guidelines
If you use special characters for the addrname (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-56 describes the fields in the show snmp targetaddr command output.
Table 2-56 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
set snmp targetaddr
clear 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 to specify the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Keyword to specify the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Keyword to specify that the storage type is defined as read only.
|
-hex
|
(Optional) Keyword to display 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
Privileged.
Usage Guidelines
If you use special characters for the paramsname (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-57 describes the fields in the show snmp targetparams command output.
Table 2-57 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: security level is set to use authentication protocol, noauthentication: security level is not set to use authentication protocol).
|
Storage Type
|
Storage type (volatile or nonvolatile).
|
Row Status
|
Status of the entry.
|
Related Commands
set snmp targetparams
clear snmp targetparams
show snmp user
Use the show snmp user command set to display SNMP information for a specific user.
show snmp user [volatile | nonvolatile | read-only]
show snmp user [-hex] {user} [remote {engineid}]
show snmp user summary
Syntax Description
volatile
|
(Optional) Keyword to specify the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Keyword to specify the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Keyword to specify that the storage type is defined as read only.
|
-hex
|
(Optional) Keyword to display user as a hexadecimal character.
|
user
|
Name of the SNMP user.
|
remote engineid
|
(Optional) Keyword and variable to specify the username on a remote SNMP engine.
|
summary
|
Keyword to specify 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
Privileged.
Usage Guidelines
If you use special characters for user (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-58 describes the fields in the show snmp user command output.
Table 2-58 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
set snmp user
clear snmp user
show snmp view
Use the show snmp view command set 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 to specify the storage type is defined as temporary memory and the content is deleted if the device is turned off.
|
nonvolatile
|
(Optional) Keyword to specify the storage type is defined as persistent memory and the content remains after the device is turned off and on again.
|
read-only
|
(Optional) Keyword to specify that the storage type is defined as read only.
|
-hex
|
(Optional) Keyword to display 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
Privileged.
Usage Guidelines
If you use special characters for viewname (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-59 describes the fields in the show snmp view command output.
Table 2-59 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
set snmp view
clear snmp view
show span
Use the show span command to display information about the current SPAN configuration.
show span
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
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-60 describes the fields in the show span command output.
Table 2-60 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/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 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) Number of the VLAN.
|
mod/port
|
(Optional) Number of the module and the port on the module.
|
active
|
(Optional) Keyword to display only the active ports.
|
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify the VLAN number, VLAN 1 is displayed.
The maximum length of the channel port list can be 47. The spaces in the Port 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 Vlan Port-State Cost Priority Portfast Channel_id
------------------------ ---- ------------- ----- -------- ---------- ----------
9 1 not-connected 0 32 disabled 768
Examples
This example shows how to display the active spanning tree port configuration for VLAN 1:
Console> (enable) show spantree 1 active
Designated Root 00-50-a7-0c-a0-00
Designated Root Priority 8192
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 Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec
Port Vlan Port-State Cost Priority Portfast Channel_id
------------------------ ---- ------------- ----- -------- ---------- ----------
6/18 1 forwarding 19 32 disabled 0
6/19 1 forwarding 19 32 disabled 0
6/20 1 forwarding 19 32 disabled 0
6/32 1 blocking 19 32 disabled 0
6/33 1 blocking 19 32 disabled 0
6/34 1 blocking 19 32 disabled 0
6/48 1 forwarding 19 32 disabled 0
Table 2-61 describes the fields in the show spantree command output:
Table 2-61 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.
|
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
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 setting.
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
Related Commands
set spantree backbonefast
show spantree blockedports
Use the show spantree blockedports command to display only the blocked ports.
show spantree blockedports [vlan_num]
Syntax Description
vlan_num
|
(Optional) Number of the VLAN.
|
Defaults
This command has no default setting.
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
Related Commands
show spantree
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
|
(Optional) Number of the module and the port on the module.
|
Defaults
This command has no default setting.
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.
Related Commands
set spantree portvlancost
show spantree statistics
Use the show spantree statistics command to show spanning tree statistical information.
show spantree statistics mod/port [vlan]
Syntax Description
mod/port
|
(Optional) Number of the module and the port on the module.
|
vlan
|
(Optional) Number of the VLAN.
|
Defaults
This command has no default setting.
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