cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
284
Views
0
Helpful
2
Replies

Event Manager applet to clear a packet capture

oschaul2
Level 1
Level 1

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?

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

what is the outcome when you run manually ?

monitor capture CAP clear /noconfirm  (post the output here ?)

Do you have any AAA config ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help


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#