Catalyst 5000 Family Command Reference (6.3 and 6.4)
show rmsautostate through show timezone

Table Of Contents

show rgmp statistics

show rif

show rsmautostate

show running-config

show snmp

show snmp access

show snmp community

show snmp counters

show snmp engineid

show snmp group

show snmp noalias

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

show spantree guard

show spantree portstate

show spantree portvlancost

show spantree statistics

show spantree summary

show spantree uplinkfast

show standbyports

show startup-config

show station controltable

show station ordertable

show station softerror config

show station softerror counters

show summertime

show system

show tacacs

show tech-support

show test

show time

show timezone

show tokenring

show top

show top report


2

show rgmp statistics

Use the show rgmp statistics command to display all the RGMP-related statistics for a given VLAN.

show rgmp statistics [vlan]

Syntax Description

vlan

(Optional) Number of the VLAN.


Defaults

The default is VLAN 1.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example displays RGMP-related statistics for a specific VLAN:

Console> show rgmp statistics 23
RGMP enabled
RGMP Statistics for vlan <23>:
Recieve:       
Valid pkts:       20
Hellos:           10
Joins:            5
Leaves:           5
Join Alls:        0
Leave Alls:       0
Byes:             0
Discarded:        0
Transmit:          
Total Pkts:       10
Failures:         0
Hellos:           10
Joins:            0
Leaves:           0
Join Alls:        0
Leave Alls:       0
Byes:             0
Console> 

Related Commands

clear rgmp statistics
set rgmp

show rif

Use the show rif command to display RIF information.

show rif [vlan]

Syntax Description

vlan

(Optional) Number of the VLAN to display RIF information.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display RIF information for the system and for a VLAN:

Console> show rif
MAC                  VLAN     RIF
-------------------- -------- --------------------
00:00:30:e2:cf:00 on 401  via 0610.001a.0020
00:05:77:01:bc:4a on 1020 via 0690.00d1.00e2
00:05:77:01:bc:4b on 1020 via 0690.00d1.00e2
00:05:77:01:bc:48 on 1020 via 0690.00d1.00e2

This example shows how to display RIF information for a VLAN:

Console> show rif 401
MAC                  VLAN     RIF
-------------------- -------- --------------------
00:00:30:e2:cf:00 on 401  via 0610.001a.0020
Console>

show rsmautostate

Use the show rsmautostate command to display the current status of line protocol state determination of the RSMs caused by Catalyst 5000 family switch port state change.

show rsmautostate mod

Syntax Description

mod

Number of the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the current status of RSM line protocol state determination:

Console> show rsmautostate
RSM Auto port state: enabled
Console>

Related Commands

set rsmautostate

show running-config

Use the show running-config command to display the configuration information currently running on the switch.

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

Syntax Description

system

(Optional) Keyword to display system configuration.

mod_num

(Optional) Number of the module.

all

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


Defaults

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

Command Types

Switch command.

Command Modes

Privileged.

Examples

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

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

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

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

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

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

Related Commands

clear config
write

show snmp

Use the show snmp command to display SNMP information.

show snmp [noalias]

Syntax Description

noalias

(Optional) Keyword that forces the display to show the IP address, not the IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Defaults

This example shows how to display SNMP information:

Console> show snmp
RMON: Enabled
Traps Enabled: Chassis
Port Traps Enabled: None

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

Trap-Rec-Address                           Trap-Rec-Community
----------------------------------------   --------------------
192.122.173.42                             public
Console> 

This example shows the SNMP information displayed when a Network Analysis Module is installed:

Console> show snmp
RMON: Enabled
Traps Enabled: Chassis
Port Traps Enabled: None
Community-Access     Community-String
----------------     --------------------
read-only            public
read-write           private
read-write-all       secret

Trap-Rec-Address                           Trap-Rec-Community
----------------------------------------   --------------------
192.122.173.42                             public

Extended Rmon:              Disabled
Extended RMON Netflow:      Disabled
Extended RMON Vlanmode:     Disabled
Extended RMON Vlanagent:    Disabled

Table 2-62 describes the possible fields (depending on the port type queried) in the show snmp command output.

Table 2-62 show snmp Command Output Fields 

Field
Description

RMON

Status of whether RMON is enabled or disabled.

Traps Enabled

Trap types that are enabled.

Port Traps Enabled

Set of ports whose linkup/linkdown trap is enabled.

Community-Access

Configured SNMP communities.

Community-String

SNMP community strings associated with each SNMP community.

Trap-Rec-Address

IP address or IP alias of trap receiver hosts.

Trap-Rec-Community

SNMP community string used for trap messages to the trap receiver.

Extended Rmon

Status of whether extended RMON is enabled or disabled.

Extended RMON Netflow

Status of whether Netflow Monitor option is enabled or disabled.

Extended RMON Vlanmode

Status of whether VLAN Monitor option is enabled or disabled.

Extended RMON Vlanagent

Status of whether VLANagent option is enabled or disabled.


Related Commands

set snmp rmon
set snmp trap
show snmp counters

show snmp access

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

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

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

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

Syntax Description

volatile

(Optional) Keyword 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.

-hex

(Optional) Keyword to display groupname 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

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 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 value (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 Request for Comments (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 5000 Family Software Configuration Guide for more information on SNMPv3.

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

Related Commands

clear snmp access
set snmp access

show snmp community

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

show snmp community

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

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

Syntax Description

read-only

(Optional) Keyword to specify that the community is defined as read only.

volatile

(Optional) Keyword to specify the community type is defined as temporary memory and the content is deleted if the device is turned off.

nonvolatile

(Optional) Keyword to specify the community type is defined as persistent memory and the content remains after the device is turned off and on again.

index

Keyword to specify the index of community names

-hex

(Optional) Keyword to display the index name value 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.

Usage Guidelines

If you enter show snmp community 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 show snmp community in normal mode, the display includes only information for the read-only community string.

Examples

This example shows the output when you enter show snmp community 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

This example shows the display output when you enter show snmp community 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 counters

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

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

Syntax Description

v3

(Optional) Keyword to specify SNMPv3 counters.

mod

Number of the module.

port

Number of the port.

dot1d

(Optional) Keyword to specify dot1d MIB counters.

dot3

(Optional) Keyword to specify Etherlike counters.

dot5

(Optional) Keyword to specify Token Ring counters.

fddi

(Optional) Keyword to specify FDDI counters.

hcrmon

(Optional) Keyword to specify HC-RMON counters.

ifmib

(Optional) Keyword to specify Interface counters.

rmon

(Optional) Keyword to specify 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 Request for Comments (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 has not changed; however, the functionality has greatly expanded for SNMPv3. Refer to the "Configuring SNMP" chapter of the Catalyst 5000 Family Software Configuration Guide for more information on SNMPv3.

Examples

This example shows how to display SNMP counter information:

Console> show snmp counters
mib2 SNMP group counters:
snmpInPkts                 = 13993     
snmpOutPkts                = 13960     
snmpInBadVersions          = 0         
snmpInBadCommunityNames    = 33        
snmpInBadCommunityUses     = 0         
snmpInASNParseErrs         = 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-63 describes possible fields in the show snmp counters command output.

Table 2-63 show snmp counters Command Output Fields 

Field
Description

snmpInPkts

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

snmpOutPkts

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

snmpInBadVersions

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

snmpInBadCommunityNames

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

snmpInBadCommunityUses

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

snmpInASNParseErrs

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

snmpInTooBigs

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

snmpInNoSuchNames

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

snmpInBadValues

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

snmpInReadOnlys1

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

snmpInGenErrs

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

snmpInTotalReqVars

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

snmpInTotalSetVars

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

snmpInGetRequests

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

snmpInGetNexts

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

snmpInSetRequests

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

snmpInGetResponses

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

snmpInTraps

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

snmpOutTooBigs

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

snmpOutNoSuchNames

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

snmpOutBadValues

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

snmpOutGenErrs

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

snmpOutGetRequests

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

snmpOutGetNexts

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

snmpOutSetRequests

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

snmpOutGetResponses

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

snmpOutTraps

Number of SNMP Trap PDUs generated by the SNMP protocol entity.

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


This example shows how to display dot1d MIB counter information for module 1, port 7:

Console> show snmp counters 1/7 dot1d
dot1d MIB counters:
dot1dBasePortDelayExceededDiscards       = 0
dot1dBasePortMtuExceededDiscards         = 0
dot1dStpTopChanges                       = 0
dot1dStpPortForwardTransitions           = 0
dot1dTpLearnedEntryDiscards              = 0
dot1dTpPortInFrames                      = 0
dot1dTpPortOutFrames                     = 0
dot1dTpPortInDiscards                    = 0
Console> 

This example shows how to display dot3 counters for module 1, port 7:

Console> show snmp counters 1/7 dot3
Etherlike-MIB counters:
dot3StatsAlignmentErrors                 = 0
dot3StatsFCSErrors                       = 0
dot3StatsSingleCollisionFrames           = 0
dot3StatsMultipleCollisionFrames         = 0
dot3StatsSQETestErrors                   = 0
dot3StatsDeferredTransmissions           = 0
dot3StatsLateCollisions                  = 0
dot3StatsExcessiveCollisions             = 0
dot3StatsInternalMacTransmitErrors       = 0
dot3StatsCarrierSenseErrors              = 0
dot3StatsFrameTooLongs                   = 0
dot3StatsInternalMacReceiveErrors        = 0
Console> 

This example shows how to display Token Ring counters for module 7, port 3:

Console> show snmp counters 7/3 dot5
Dot5 MIB:
dot5StatsLineErrors            = 0
dot5StatsBurstErrors           = 0
dot5StatsACErrors              = 0
dot5StatsAbortTransErrors      = 0
dot5StatsInternalErrors        = 0
dot5StatsLostFrameErrors       = 0
dot5StatsReceiveCongestions    = 0
dot5StatsFrameCopiedErrors     = 0
dot5StatsTokenErrors           = 0
dot5StatsSoftErrors            = 0
dot5StatsHardErrors            = 0
dot5StatsSignalLoss            = 0
dot5StatsTransmitBeacons       = 0
dot5StatsRecoverys             = 0
dot5StatsLobeWires             = 0
dot5StatsRemoves               = 0
dot5StatsSingles               = 0
dot5StatsFreqErrors            = 0
Console> 

This example shows how to display hcrmon counters for module 1, port 7:

Console> show snmp counters 1/7 hcrmon
HC-RMON:
etherStatsHighCapacityOverflowPkts                      = 0
etherStatsHighCapacityPkts                              = 0
etherStatsHighCapacityOverflowOctets                    = 0
etherStatsHighCapacityOctets                            = 0
etherStatsHighCapacityOverflowPkts64Octets              = 0
etherStatsHighCapacityPkts64Octets                      = 0
etherStatsHighCapacityOverflowPkts65to127Octets         = 0
etherStatsHighCapacityPkts65to127Octets                 = 0
etherStatsHighCapacityOverflowPkts128to255Octets        = 0
etherStatsHighCapacityPkts128to255Octets                = 0
etherStatsHighCapacityOverflowPkts256to511Octets        = 0
etherStatsHighCapacityPkts256to511Octets                = 0
etherStatsHighCapacityOverflowPkts512to1023Octets       = 0
etherStatsHighCapacityPkts512to1023Octets               = 0
etherStatsHighCapacityOverflowPkts1024to1518Octets      = 0
etherStatsHighCapacityPkts1024to1518Octets              = 0
Console> 

This example shows how to display IFMIB counters for module 1, port 7:

Console> show snmp counters 1/7 ifmib
Interface MIB counter:
ifInOctets           = 0
ifInUcastPkts        = 0
ifInNUcastPkts       = 0
ifInDiscards         = 0
ifInErrors           = 0
ifInUnknownProtos    = 0
ifOutOctets          = 0
ifOutUcastPkts       = 0
ifOutNUcastPkts      = 0
ifOutDiscards        = 0
ifOutErrors          = 0
ifInMulticastPkts    = 0
ifInBroadcastPkts    = 0
ifOutMulticastPkts   = 0
ifOutBroadcastPkts   = 0
ifHCInOctets         = 0
ifHCInUcastPkts      = 0
ifHCInMulticastPkts  = 0
ifHCInBroadcastPkts  = 0
ifHCOutOctets        = 0
ifHCOutUcastPkts     = 0
ifHCOutMulticastPkts = 0
ifHCOutBroadcastPkts = 0
Console> 

This example shows how to display RMON counters for module 1, port 7:

Console> show snmp counters 1/7 rmon
RMON MIB counters:
etherStatsDropEvents                = 0
etherStatsOctets                    = 0
etherStatsPkts                      = 0
etherStatsBroadcastPkts             = 0
etherStatsMulticastPkts             = 0
etherStatsUndersizePkts             = 0
etherStatsOversizePkts              = 0
etherStatsFragments                 = 0
etherStatsJabbers                   = 0
etherStatsCollisions                = 0
etherStatsPkts64Octets              = 0
etherStatsPkts65to127Octets         = 0
etherStatsPkts128to255Octets        = 0
etherStatsPkts256to511Octets        = 0
etherStatsPkts512to1023Octets       = 0
etherStatsPkts1024to1518Octets      = 0
Console> 

This example shows how to display the SNMPv3 counters:

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

snmpv3 TARGET statistics:
snmpUnavailableContexts       = 0
snmpUnknownContexts           = 0

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

Related Commands

set snmp rmon
set snmp trap

show snmp engineid

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

show snmp engineid

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

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

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

Table 2-64 show snmp engineid Command Output Fields 

Field
Description

EngineId

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

Engine Boots

The number of times an SNMP engine has been started or reinitialized.


Related Commands

show snmp

show snmp group

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

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

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

Syntax Description

volatile

(Optional) Keyword to define the storage type as temporary memory and the delete the contents if the device is turned off.

nonvolatile

(Optional) Keyword to define the storage type as persistent memory and keep the contents after the device is turned off.

read-only

(Optional) Keyword to define the storage type as read-only.

groupname

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

user

Keyword to specify a SNMP group.

-hex

Keyword to display groupname and username as a hexadecimal character.

username

SNMP group user name.

security-model v1 | v2 | v3

Keywords to specify security model 1, 2c, or 3.


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 Request for Comments (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 5000 Family Software Configuration Guide for more information on SNMPv3.

Examples

This example shows how to display the SNMP group:

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

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

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

Status of whether the settings are volatile or nonvolatile.

Row Status

Status of the entry.


Related Commands

clear snmp group
set snmp group

show snmp noalias

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

show snmp noalias

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display all SNMP counters:

Console> show snmp noalias
RMON:                       Disabled
Extended RMON Netflow Enabled : None.
Memory usage limit for new RMON entries: 85 percent
Traps Enabled:
None
Port Traps Enabled: None

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

Trap-Rec-Address                           Trap-Rec-Community
----------------------------------------   --------------------

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 define the storage type as temporary memory and the delete the contents if the device is turned off.

nonvolatile

(Optional) Keyword to define the storage type as persistent memory and keep the contents after the device is turned off.

read-only

(Optional) Keyword to define the storage type as read-only.

-hex

Keyword to display the notifyname as a hexadecimal character.

notifyname

A unique identifier that indexes the snmpNotifyTable.


Defaults

The default is that 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.

Examples

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

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

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

Table 2-66 show snmp notify Command Output Fields 

Field
Description 

Notify Name

Unique identifier used to index the snmpTargetAddrTable.

Notify Tag

Specifies selected entries in the snmpTargetAddrTable.

Notify Type

Trap: All messages generated contain SNMPv2-Trap PDUs.
Inform: All messages generated contain InfoRequest PDUs.

Storage Type

Status of whether the settings are volatile or nonvolatile.

Row Status

Status of the entry.


Related Commands

set snmp notify
clear snmp notify

show snmp rmonmemory

Use the show snmp rmonmemory command to display the memory usage limit, which is displayed in a percentage value.

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

You cannot create new RMON entries or restore entries from the NVRAM if the specified memory percentage (shown in the display) is exceeded.

Examples

This example shows how to display the RMON memory usage limit:

Console> (enable) show snmp rmonmemory
85 percent
Console> (enable)  

Related Commands

set snmp rmonmemory

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 define the storage type as temporary memory and the delete the contents if the device is turned off.

nonvolatile

(Optional) Keyword to define the storage type as persistent memory and keep the contents after the device is turned off.

read-only

(Optional) Keyword to define the storage type as read-only.

-hex

Keyword to display the addrname as a hexadecimal character.

addrname

The arbitrary but unique 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.

Examples

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

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

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

Table 2-67 show snmp targetaddr Command Output Fields 

Field
Description

Target Address Name

Name of the target address.

IP Address

IP address target.

UDP Port #

Number of the UDP port of the target host.

Timeout

Number of timeouts.

Retry count

Number of retries.

Tag List

Tags that point to target addresses to send notifications to.

Parameters

Entry in the snmpTargetParamsTable; the maximum length is 32 bytes.

Storage Type

Keyword to indicate whether the settings are volatile or nonvolatile.

Row Status

Status of the entry.


Related Commands

clear snmp targetaddr
set snmp targetaddr

show snmp targetparams

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

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

show snmp targetparams {-hex} {paramsname}

Syntax Description

volatile

(Optional) Keyword to define the storage type as temporary memory and the delete the contents if the device is turned off.

nonvolatile

(Optional) Keyword to define the storage type as persistent memory and keep the contents after the device is turned off.

read-only

(Optional) Keyword to define the storage type as read-only.