21-4
Cisco Systems IntelligentGigabit Ethernet Switch Modules for the IBMBladeCenter, Software Configuration Guide
24R9746
Chapter21 Configuring SNMP
Understanding SNMP
The SNMP agent also sends unsolicited trap messages to notify an NMS that a significant event has
occurred on the agent. Examples of trap conditions include, but are not limited to, when a port or module
goes up or down, when spanning-tree topology changes occur, and when authentication failures occur.
SNMP Community Strings
SNMP community strings authenticate access to MIB objects and function as embedded passwords. In
order for the NMS to access the switch, the community string definitions on the NMS must match at least
one of the three community string definitions on the switch.
A community string can have one of these attributes:
Read-only (RO)—Gives read access to authorized management stations to all objects in the MIB
except the community strings, but does not allow write access
Read-write (RW)—Gives read and write access to authorized management stations to all objects in
the MIB, but does not allow access to the community strings
Using SNMP to Access MIB Variables
An example of an NMS is the CiscoWorks network management software. CiscoWorks 2000 software
uses the switch MIB variables to set device variables and to poll devices on the network for specific
information. The results of a poll can be displayed as a graph and analyzed to troubleshoot
internetworking problems, increase network performance, verify the configuration of devices, monitor
traffic loads, and more.
As shown in Figure 21-1, the SNMP agent gathers data from the MIB. The agent can send traps, or
notification of certain events, to the SNMP manager, which receives and processes the traps. Traps alert
the SNMP manager to a condition on the network such as improper user authentication, restart s, link
status (up or down), MAC address tracking, and so forth. The SNMP agent also responds to MI B-related
queries sent by the SNMP manager in get-request, get-next-request, and set-request format.
Figure21-1 SNMP Network
For information on supported MIBs and how to access them, see Appendix A, “Supported MIBs.”
SNMP Notifications
SNMP allows the switch to send notifications to SNMP managers when particular events occur. SNMP
notifications can be sent as traps or inform requests. In command syntax, unless ther e is an option in the
command to select either traps or informs, the keyword traps refers to either traps or informs, or both.
Use the snmp-server host command to specify whether to send SNMP notifications as traps or informs.
Note SNMPv1 does not support informs.
Get-request, Get-next-request,
Get-bulk, Set-request
Network device
Get-response, traps
43581
SNMP Manager
NMS
MIB
SNMP Agent