Displays details of one or all event-handler profiles configured on the switch. You can filter the results by description, Python-script action, or trigger ID. You can also display the Python-script action associated with a profile.
Privileged EXEC mode
The show running-config event-handler command displays the following information:
Output field | Description |
---|---|
event-handler | Displays the event-handler name. |
action python-script | Displays the name of the Python script called if the event handler is triggered. |
trigger | Displays a trigger name and definitions |
The following example displays the details of all triggers defined for a specified event-handler.
device# show running-config event-handler evh1 trigger event-handler evh1 trigger 1 raslog NSM-1001
The following example displays the details of the action defined for a specified event-handler.
device# show running-config event-handler evh1 action event-handler evh1 action python-script vlan.py
The following example displays the details of all defined event-handlers.
device# show running-config event-handler event-handler evh1 trigger 10 raslog NSM-1001 action python-script vlan.py event-handler evh2 trigger 100 raslog NSM-1003 action python-script vlan.py !