DescriptionOID Type
A 32-bit number with a minimum value of 0. For example, the
interface speed on a device is measured using a gauge object
type. Integer value in the range from 0 to 4294967295 is valid.
gauge
A 32-bit number used to specify a numbered type within the
context of a managed object. For example, to set the operational
status of a device interface, 1 represents up and 2 represents
down. Integer value in the range from 0 to 4294967295 is valid.
integer
IP version 4 address. IPv4 address in dotted decimal notation is
valid.
ipv4
An octet string in hexadecimal notation used to represent physical
addresses. Text strings are valid.
octet string
An octet string in text notation used to represent text strings.
Text strings are valid.
string
A 32-bit number used to represent decimal value.Unsigned
integer value in the range from 0 to 4294967295 is valid.
unsigned32
The set operation can carried out on both local and remote hosts.
SNMP Traps and Inform Requests
Traps are SNMP notifications that alert the SNMP manager or the NMS to a network condition.
SNMP inform requests refer to the SNMP notifications that alert the SNMP manager to a network condition
and request for confirmation of receipt from the SNMP manager.
An SNMP event occurs when SNMP MIB object ID values are sampled, or when the SNMP counter crosses
a defined threshold. If the notifications are enabled and configured for such events, the SNMP traps or inform
messages generated. An SNMP notification event is triggered when an SNMP trap or inform message is
received by the event manager server.
To send an SNMP trap or inform message when an Embedded Event Manager (EEM) applet is triggered, the
action info type snmp trap and action info type snmp informcommands are used. The
CISCO-EMBEDDED-EVENT-MGR-MIB.my is used to define the trap and inform messages.
Configuring EEM Applet for SNMP Get and Set Operations
While registering a policy with the event manager server, the actions associated with an SNMP event can be
configured.
Perform this task to configure EEM applet for SNMP set and get operations.
Before You Begin
•
SNMP event manager must be configured using the snmp-server managercommand.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1726
How to Write EEM Policies Using the Cisco IOS CLI