532
Configuring SNMP
Information About SNMP
Community Strings
You use the SNMP community string to define the relationship between the SNMP manager and the agent. The
community string acts like a password to permit access to the agent on the switch. Optionally, you can specify one or
more of these characteristics associated with the string:
An access list of IP addresses of the SNMP managers that are permitted to use the community string to gain access
to the agent
A MIB view, which defines the subset of all MIB objects accessible to the given community
Read and write or read-only permission for the MIB objects accessible to the community
SNMP Notifications
A trap manager is a management station that receives and processes traps. Traps are system alerts that the switch
generates when certain events occur. By default, no trap manager is defined, and no traps are sent. Switches running
this Cisco IOS release can have an unlimited number of trap managers.
Note:
Many commands use the word
traps
in the command syntax. Unless there is an option in the command to select
either traps or informs, the keyword
traps
refers to traps, informs, or both. Use the
snmp-server host
global
configuration command to specify whether to send SNMP notifications as traps or informs.
This table describes the supported switch traps (notification types). You can enable any or all of these traps and configure
a trap manager to receive them. To enable the sending of SNMP inform notifications, use the
snmp-server enable traps
global configuration command combined with the
snmp-server host
host-addr
informs
global configuration command.
Table 54
Switch Notification Types
Notification Type
Keyword
Description
bridge
Generates STP bridge MIB traps.
config
Generates a trap for SNMP configuration changes.
copy-config
Generates a trap for SNMP copy configuration changes.
entity
Generates a trap for SNMP entity changes.
cpu threshold
Allows CPU-related traps.
envmon
Generates environmental monitor traps. You can enable any or all of these environmental traps: fan,
shutdown, status, supply, temperature.
errdisable
Generates a trap for an error-disabled VLAN port. You can also set a maximum trap rate per minute.
The range is from 0 to 10000; the default is 0, which means there is no rate limit.
flash
Generates SNMP FLASH notifications.
hsrp
Generates a trap for Hot Standby Router Protocol (HSRP) changes.
ipmulticast
Generates a trap for IP multicast routing changes.
mac-notification
Generates a trap for MAC address notifications.
msdp
Generates a trap for Multicast Source Discovery Protocol (MSDP) changes.
ospf
Generates a trap for Open Shortest Path First (OSPF) changes. You can enable any or all of these
traps: Cisco specific, errors, link-state advertisement, rate limit, retransmit, and state changes.
pim
Generates a trap for Protocol-Independent Multicast (PIM) changes. You can enable any or all of
these traps: invalid PIM messages, neighbor changes, and rendezvous point (RP)-mapping
changes.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...