Use this procedure to activate one or more event-handlers on the device. If a trigger specified in the event-handler profile occurs, a designated Python script runs.
device# configure terminal
device(config)# event-handler activate eventHandler1
device(config-activate-eventHandler1)# event-handler activate eventHandler2
device(config-activate-eventHandler2)# no event-handler activate eventHandler2
The following example includes all of the activation steps.
device# configure terminal device(config)# event-handler activate eventHandler1 device(config-activate-eventHandler1)# event-handler activate eventHandler2