Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Aborting an event-handler action

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

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

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