cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
614
Views
0
Helpful
1
Replies

Which EEM cmd can run command on an interface all Friday at 10 h pm?

josedunet
Level 1
Level 1

Hi all,

I'm looking to write an EEM cli command that allow me to run a conmmande (ip access group 130 in) on one interface all Friday at 10 pm?

How can I write this?

Thanks.

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

This should do it for you.

event manager applet apply-acl

event timer cron cron-entry "0 22 * * 5"

action 1.0 cli command "enable"

action 2.0 cli command "config t"

action 3.0 cli command "interface gi0/0"

action 4.0 cli command "ip access-group 130 in"

action 5.0 cli command "end"