Aborting an event-handler action

If needed, abort a Python script launched by an event-handler action.

About this task

Procedure

  1. In privileged EXEC mode, enter the event-handler abort action command.
    device# event-handler abort action eh1
    This operation will abort an event handler action that is currently running and may leave the device in an inconsistent state.  Do you want to continue? [y/n]:y
    
  2. To confirm aborting the action, type y.
    Operation completed successfully.

    The Python script launched by the event-handler action is aborted.