PurposeCommand or Action
(Optional) Specifies if the individual variables should
be retrieved by the getid operation.
action label info type snmp getid oid-value [community
community-string] [ipaddr ip-address]
Example:
Device(config-applet)# action 1.3 info type
Step 7
Example:
snmp getid community public ipaddr 172.17.16.69
Exits global configuration mode and returns to
privileged EXEC mode.
exit
Example:
Device(config)# exit
Step 8
Configuring EEM Applet for SNMP OID Notifications
Perform this task to configure SNMP notifications.
Before You Begin
•
SNMP event manager must be configured using the snmp-server managercommand and SNMP agents
must be configured to send and receive SNMP traps generated for an EEM policy.
•
SNMP traps and informs must be enabled by using the snmp-server enable traps event-manager and
snmp-server enable traps commands, to allow traps and inform requests to be sent from the device to
the event manager server.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1729
How to Write EEM Policies Using the Cisco IOS CLI