In this mode, you can configure certain SNMP triggers for events, what occurs when an event is triggered, resource limits for triggers, and some trap notification options.
From Global Configuration mode, type the snmp-server management-event command and then press Enter.
host1(config)#snmp-server management-event host1(config-mgmtevent)#? default Set a command to its default(s) do Run an exec mode command (alias command run) event Specify what happens when an event is triggered exit Exit from the current command mode help Describe the interactive help system log Configure logging settings macro Run a CLI macro no Negate a command or set its default(s) resource Specify the resource limits run Run an exec mode command (alias command do) sleep Make the Command Interface pause for a specified duration trigger Specify the conditions that lead to events