Purpose
Command 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 manager
command 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
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......