47-11
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 47 Configuring SNMP
Configuring SNMPv1 and SNMPv2c on the Switch
Configuring SNMPv1 and SNMPv2c on the Switch
This section provides the basic SNMPv1 and SNMPv2c configuration information. For detailed
information on the SNMP commands that are supported by the Catalyst 6500 series switches, refer to
the
Catalyst 6500 Series Switch Command Reference
publication.
SNMPv1 and SNMPv2c Default Configuration
Refer to the
Catalyst 6500 Series Switch Command Reference
for the SNMP default configuration
settings for each command that is listed in the configuration section.
Configuring SNMPv1 and SNMPv2c from an NMS
To configure SNMP from an NMS, refer to the NMS documentation (see the
“Using CiscoWorks2000”
section on page 47-6
).
The switch supports up to 20 trap receivers through the RMON2 trap destination table. You configure
the RMON2 trap destination table from the NMS.
Configuring SNMPv1 and SNMPv2c from the CLI
Note
For the enhanced SNMP features in software release 7.5(1), see the
“SNMPv1 and SNMPv2c
Enhancements in Software Release 7.5(1)” section on page 47-12
.
To configure SNMP from the CLI, perform this task in privileged mode:
Task
Command
Step 1
Define the SNMP community strings for each
access type.
set snmp community
read-only
community_string
set snmp community
read-write
community_string
set snmp community read-write-all
community_string
Step 2
Assign a trap receiver and community. You can
specify up to ten trap receivers.
set snmp trap
rcvr_address rcvr_community
Step 3
Specify the SNMP traps to send to the trap
receiver.
set snmp trap enable
[
all
|
auth
|
bridge
|
chassis
|
config
|
entity
|
entityfru
|
envfan
|
envpower
|
envshutdown
|
envtemp
|
flashinsert
|
flashremove
|
ippermit
|
module
|
stpx
|
syslog
|
system
|
vlancreate
|
vlandelete
|
vmps
|
vtp
]
Step 4
Verify the SNMP configuration.
show snmp