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