36-10
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 36 Configuring SNMP
Configuring SNMPv1 and SNMPv2c
Configuring SNMPv1 and SNMPv2c
This section provides basic SNMPv1 and SNMPv2c configuration information. For detailed information
on the SNMP commands supported by the Catalyst 6000 family switches, refer to the
Catalyst 6000
Family Command Reference
publication.
SNMPv1 and SNMPv2c Default Configuration
Refer to the
Catalyst 6000 Family Command Reference
for SNMP default configuration settings for
each command 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 36-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
To configure SNMP from the command-line interface (CLI), perform this task in privileged mode:
This example shows how to define community strings, assign a trap receiver, and specify which traps to
send to the trap receiver:
Console> (enable)
set snmp community read-only Everyone
SNMP read-only community string set to 'Everyone'.
Console> (enable)
set snmp community read-write Administrators
SNMP read-write community string set to 'Administrators'.
Console> (enable)
set snmp community read-write-all Root
SNMP read-write-all community string set to 'Root'.
Console> (enable)
set snmp trap 172.16.10.10 read-write
SNMP trap receiver added.
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
|
module
|
chassis
|
bridge
|
repeater
|
auth
|
vtp
|
ippermit
|
vmps
|
config
|
entity
|
stpx
]
Step 4
Verify the SNMP configuration.
show snmp