Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

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
Cisco Employee

Re: Which EEM cmd can run command on an interface all Friday at

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"

233
Views
0
Helpful
1
Replies
CreatePlease login to create content