03-16-2023 06:03 AM
I made an event manager applet to clear a packet capture and I have a KRON job to run it at 4am but the applet doesn't work because when you run run the command "monitor capture CAP clear" it asks you to confirm at the end. I tried both of these:
event manager applet clear
event none
action 1.0 info type routername
action 1.1 cli command "enable"
action 1.2 cli command "monitor capture CAP clear"
and
event manager applet clear
event none
action 1.0 info type routername
action 1.1 cli command "enable"
action 1.2 cli command "monitor capture CAP clear /noconfirm"
None of them work. What do I need to do to fix it? Do I have to do it through a TCL script?
03-16-2023 07:31 AM
what is the outcome when you run manually ?
monitor capture CAP clear /noconfirm (post the output here ?)
Do you have any AAA config ?
03-16-2023 07:39 AM
FMBT-4321#monitor capture CAP clear /noconfirm
% Incomplete command.
FMBT-4321#monitor capture CAP clear /noconfirm ?
% Unrecognized command
FMBT-4321#monitor capture CAP clear /noconfirm
% Incomplete command.
FMBT-4321#sh run | i aaa
no aaa new-model
FMBT-4321#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide