Don't use copy commands in EEM applets

I've tried to be a "good citizen" in one of my Embedded Eveng Manager (EEM) applications and used the action 1.1 cli command "copy running-config startup-config" instead of the (supposedly obsolete) action 1.1 cli command "write memory" command. However, as the copy command generates console prompts (unless you turn them off with the file prompt quiet command), it immediately hung my EEM applet.

Moral of the story: use write memory :)

1 comments:

  1. Hi Ivan,
    hope you are going well.
    Just to make this one complete, there is a way to use copy run start :-)
    action 1 cli command "enable"
    action 2 cli command "copy startup running" pattern "Destination"
    action 3 cli command ""
Add comment
Sidebar