Configuring Snmpv1 And Snmpv2C From The Cli; Snmpv1 And Snmpv2C Enhancements In Software Release - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Configuring SNMPv1 and SNMPv2c from the CLI

Task
Step 3
Specify the SNMP traps to send to the trap
receiver.
Step 4
Verify the SNMP configuration.
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.
Console> (enable) set snmp trap 172.16.10.20 read-write-all
SNMP trap receiver added.
Console> (enable) set snmp trap enable all
All SNMP traps enabled.
Console> (enable) show snmp
RMON:
Extended RMON:
Traps Enabled:
Port,Module,Chassis,Bridge,Repeater,Vtp,Auth,ippermit,Vmps,config,entity,stpx
Port Traps Enabled: 1/1-2,4/1-48,5/1
Community-Access
----------------
read-only
read-write
read-write-all
Trap-Rec-Address
----------------------------------------
172.16.10.10
172.16.10.20
Console> (enable)
To disable access for an SNMP community, set the community string for that community to the null
Note
string (do not enter a value for the community string).

SNMPv1 and SNMPv2c Enhancements in Software Release 7.5(1)

The following sections describe enhancements that were added to software release 7.5(1).
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
24-10
Command
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]
show snmp
Disabled
Extended RMON module is not present
Community-String
--------------------
Everyone
Administrators
Root
Trap-Rec-Community
--------------------
read-write
read-write-all
Chapter 24
Configuring SNMP
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents