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

EEM problem

karblane1
Level 1
Level 1

Hey, i made a small script with EM:

event manager applet backup

event cli pattern "write memory" sync no skip no

action 1.0 cli command "enable"

action 2.0 cli command "copy running ftp://username:passw@server"

But this isn't workin and if i enter command

show event manager policy penging, its shows that the policy is pending.

Is there something wrong with the script?

Or something else?

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

You can't really do this since the commands will be interactive. You might try this:

event manager applet backup

event cli pattern "write memory" sync no skip no

action 1.0 cli command "enable"

action 2.0 cli command "config t"

action 3.0 cli command "file prompt quiet"

action 4.0 cli command "end"

action 5.0 cli command "copy running ftp://username:passwd@server"

action 6.0 cli command "config t"

action 7.0 cli command "no file prompt quiet"

action 8.0 cli command "end"

In the future, use the Network Manager forum for EEM or TCL questions.

Review Cisco Networking products for a $25 gift card