Building network automation solutions

9 module online course

Start now!

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 :)

We migrated our blog a few days ago, and the commenting functionality is not there yet. In the meantime enjoy the older comments, or find our content on LinkedIn and comment there.

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 ""

Sidebar