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

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

josedunet
Beginner
Beginner

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
Hall of Fame Cisco Employee Hall of Fame Cisco Employee
Hall of Fame 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"

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers