Home > CISCO, EEM Scripts > Cisco EEM Applet – Prevent debug being enabled by exec users

Cisco EEM Applet – Prevent debug being enabled by exec users

September 7th, 2013

CLI EVENT DETECTOR:
The EEM applet prevents the “debugging” command being executed on the CLI. Any attempt will store the system clock and user’s on the flash.
event manager applet Stop_Debug
event cli pattern “debug” sync no skip yes
action 1.0 cli command “enable”
action 2.0 cli command “sh users | append flash:Debug”
action 3.0 cli command “sh clock | append flash:Debug_clock”

Categories: CISCO, EEM Scripts Tags:
Comments are closed.