Catalyst 6500 Series Command Reference, 8.6
show snmp access to show tech-support

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 inform

show snmp notification mapping

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 ssh

show startup-config

show summertime

show system

show system health

show system highavailability

show system info-log

show system profile

show system sanity

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
Context:
Security Model:v1
Security Level:noauthentication
Context Match:vlan-1
Read View:defaultAdminView
Write View:
Notify View:defaultAdminView
Storage Type:read-only
Row Status:active

Group Name:defaultROgroup
Context:
Security Model:v2c
Secuirty Level:noauthentication
Context Match:vlan-55
Read View:defaultAdminView
Write View:
Notify View:defaultAdminView
Storage Type:read-only
Row Status:active

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 
                1.1.1.1/- 
2               172.20.60.7/- 
                2.2.2.2/- 
3               2.2.2.2/155.0.0.0 
4               1.1.1.1/2.1.2.4 
                2.2.2.2/- 
                2.2.2.5/- 

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

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
Community Name: public
Security Name: public
Context Name:
Transport Tag:
Storage Type: read-only
Row Status: active
Console>

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 Name: public
Security Name: public
Context Name:
Transport Tag:
Storage Type: read-only
Row Status: active

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

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

Console> (enable) 

Related Commands

clear snmp community
set snmp community

show snmp context

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 
Index Context
----- --------
    0 
    1 vlan-1
    2 vlan-55
    3 vlan-1002
    4 vlan-1003
    5 vlan-1004
    6 vlan-1005
Console> (enable) 

Related Commands

clear snmp access
set snmp access
show snmp access

show snmp counters

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

(Optional) 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:
snmpInPkts                 = 13993     
snmpOutPkts                = 13960     
snmpInBadVersions          = 0         
snmpInBadCommunityNames    = 33        
snmpInBadCommunityUses     = 0         
snmpInASNParseErrs         = 0         
snmpInTooBigs              = 0         
snmpInNoSuchNames          = 0         
snmpInBadValues            = 0         
snmpInReadOnlys            = 0         
snmpInGenErrs              = 0         
snmpInTotalReqVars         = 61747     
snmpInTotalSetVars         = 0         
snmpInGetRequests          = 623       
snmpInGetNexts             = 13337     
snmpInSetRequests          = 0         
snmpInGetResponses         = 0         
snmpInTraps                = 0         
snmpOutTooBigs             = 0         
snmpOutNoSuchNames         = 230       
snmpOutBadValues           = 0         
snmpOutGenErrs             = 0         
snmpOutGetRequests         = 0         
snmpOutGetNexts            = 0         
snmpOutSetRequests         = 0         
snmpOutGetResponses        = 13960     
snmpOutTraps               = 0         
Console> 

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

Table 2-89 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 It is a protocol error to generate an SNMP PDU that contains the value "readOnly" in the error-status field. This object is provided as a means of detecting incorrect implementations of the SNMP.

1 This example shows how to display the SNMPv3 counters:

1 Console> show snmp counters v3
1 snmpv3 MPD statistics:
1 snmpUnknownSecurityModels     = 0
1 snmpInvalidMsgs               = 0
1 snmpUnknownPDUHandlers        = 0

1 snmpv3 TARGET statistics:
1 snmpUnavailableContexts       = 0
1 snmpUnknownContexts           = 0

1 snmpv3 USM statistics:
1 usmStatsUnsupportedSecLevels  = 0
1 usmStatsNotInTimeWindows      = 0
1 usmStatsUnknownUserNames      = 0
1 usmStatsUnknownEngineIDs      = 0
1 usmStatsWrongDigests          = 0
1 usmStatsDecryptionErrors      = 0
1 Console>

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
Engine Boots: 1234455
Console> (enable) 

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

Table 2-90 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
Security Model: v1
Security Name: public
Group Name: defaultROgroup
Storage Type: volatile
Row Status: active

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

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

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

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

Table 2-91 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 inform

To display information about the SNMP version 3 inform request feature, use the show snmp inform command.

show snmp inform

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 information about the inform request feature:

Console> show snmp inform

Inform Pending Limit: 150
SNMPv3 inform counters:    
--------------------------------- 
Total informs created : 1001
Total inform responsed: 100
Total inform in queue : 100
Total infrom removed  : 0
Total inform timeout  : 801

Console>

Related Commands

clear snmp inform
set snmp inform

show snmp notification mapping

To display the SNMP notification mapping, use the show snmp notification mapping command.

show snmp notification mapping

Syntax Description

This command has no keywords or arguments.

Defaults

None.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the SNMP notification mapping:

Console> (enable) show snmp notification mapping
Trap Keyword     Notification Object Name               Notif. Sent Syslog
--------------------------------------------------------------------------------
auth             authenticationFailure                  SNMPAUTHFAIL           
autoshutdown     cmasModuleAutoShutdown                 MODAUTOSHUTTRAP        
bridge           newRoot                                NEWROOTTRAP            
                 topologyChange                         TOPOTRAP               
callhomesmtp     ccmSmtpServerFailNotif                 SMTPSERVERFAILNOTIF    
chassis          chassisAlarmOn                         CHASSISALARM           
                 chassisAlarmOff                        CHASSISALARM           
config           sysConfigChangeTrap                    SYSCONFIGCHANGENOTIF   
entity           entConfigChange                        ENTITYTRAP             
entityfru        cefcModuleStatusChange                 ENTITYMODTRAP          
                 cefcPowerStatusChange                  ENTITYPOWERTRAP        
                 cefcFRUInserted                        FRUINSERTEDTRAP        
                 cefcFRURemoved                         FRUREMOVEDTRAP         
                 cefcPowerSupplyOutputChange            POWEROUTPUTCHANGENOTIF 
envtemp          ciscoEnvMonTemperature                 ENVMONTEMPTRAP         
envshutdown      ciscoEnvMonShutdown                    ENVMONSHUTDOWNTRAP     
envfan           ciscoEnvMonFanNotification             ENVMONFANTRAP          
envpower         ciscoEnvMonRedundantSupplyNotification ENVMONPOWERTRAP        
envstate         ciscoEnvMonTempStatusChangeNotif       ENVMONTEMPTRAP         
                 ciscoEnvMonFanStatusChangeNotif        ENVMONFANTRAP          
                 ciscoEnvMonSuppStatusChangeNotif       ENVMONPOWERTRAP        
flashinsert      ciscoFlashDeviceInsertedNotif          FLASHINSERTEDNOTIF     
flashremove      ciscoFlashDeviceRemovedNotif           FLASHREMOVEDNOTIF      
flexifchange     cflIfStatusChangeNotif                 FLEXLINKSTATUSNOTIF    
inlinepower      pethPsePortOnOffNotification           PETHPORTONOFFTRAP      
ippermit         ipPermitDeniedTrap                     IPPERMITDENIEDNOTIF    
l2ctrl           clcIfMacLimitHighNotif                 CLCIFHIGHTRAP          
                 clcIfMacLimitLowNotif                  CLCIFLOWTRAP           
                 clcIfVlanMacLimitHighNotif             CLCIFVLANHIGHTRAP      
                 clcIfVlanMacLimitLowNotif              CLCIFVLANLOWTRAP       
                 clcVlanMacLimitHighNotif               CLCVLANHIGHTRAP        
                 clcVlanMacLimitNotif                   CLCVLANLOWTRAP         
l2tunnel         cltcTunnelDropThresholdExceeded        CLTCDROPEXCEEDTRAP     
                 cltcTunnelShutdownThresholdExceeded    CLTCSHUTEXCEEDTRAP     
linkerrhigh      clemHighThresholdExceeded              CLEMHIGHTHRESHEXCDTRAP 
linkerrlow       clemLowThresholdExceeded               CLEMLOWTHRESHEXCDTRAP  
macmove          cmnMacMoveNotification                 MACMOVENOTIF           
mac              cmnMacChangedNotification              MACCHANGEDNOTIF        
macthreshold     cmnMacThresholdExceedNotif             MACTHRESHOLDEXCEEDNOTIF
module           moduleUp                               MODULETRAP             
                 moduleDown                             MODULETRAP             
noauthfailvlan   cpaeNoAuthFailVlanNotif                NOAUTHFAILVLANNOTIF    
noguestvlan      cpaeNoGuestVlanNotif                   NOGUESTVLANNOTIF       
redundancy       ciscoRFSwactNotif                      RFSWACTTRAP            
                 ciscoRFProgressionNotif                RFPROGRESSIONTRAP      
stpx             stpxInconsistencyUpdate                STPXTRAP               
                 stpxRootInconsistencyUpdate            STPXTRAPROOT           
                 stpxLoopInconsistencyUpdate            STPXTRAPROOT           
syslog           clogMessageGenerated                                          
system           ciscoSystemClockChanged                CLOCKCHANGETRAP        
sysinfolog       csilLoggingFailNotif                   SYSINFOLOGFAILNOTIF    
vlancreate       vtpVlanCreated                         VLANCREATEDNOTIF       
vlandelete       vtpVlanDeleted                         VLANDELETEDNOTIF       
vmps             vmVmpsChange                           VMPSCHANGENOTIF        
vtp              vtpConfigRevNumberError                VTPREVERRORNOTIF       
                 vtpLocalModeChanged                    VTPLOCALMODENOTIF      
                 vtpVersionInUseChanged                 VTPVERCHANGEDNOTIF     
                 vtpVersionOneDeviceDetected            VTPVERONENOTIF         
                 vlanTrunkPortDynamicStatusChange       TRUNKSTATUSCHANGEDNOTIF
                 vtpConfigDigestError                   CONFIGDIGESTERROR      
Console> (enable)

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
Notify Tag: snmpV1Trap
Notify Type: trap
Storage Type: volatile
Row Status: active
Console> (enable)

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

Table 2-92 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
85 percent
Console> (enable) 

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
IP Address: 170.0.25.1
UDP Port#: 165
Timeout: 100
Retry count: 5
Tag List: tag1 tag2 tag3
Parameters: jeorge
Storage Type: nonvolatile
Row Status: active
Console> (enable)

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

Table 2-93 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 Name: public
Security Level: noauthentication
Storage Type: volatile
Row Status: active
Console> (enable)

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

Table 2-94 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
EngineId: 00:11:22:33:44
User Name: joe
Authentication Protocol: md5
Privacy Protocol: des56
Storage Type: volatile
Row Status: active
Console> (enable)

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

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