netconfig : how can i represent "Enter" key in a command

Unanswered Question
Nov 5th, 2008


i want the define a user-tasks to deploy this command:

SW_E3_IT_NAC2#copy flash:testNAC.txt startup-config


now, i want to know how represent the "Enter" key in the script to confirm the destination :

Destination filename [startup-config]?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
dhananjoy chowdhury Wed, 11/05/2008 - 09:02


use the script lines below


copy flash:testNAC.txt startup-config







Joe Clarke Wed, 11/05/2008 - 09:52

Use the notation to indicate the expected response. For example, above:

copy flash:testNAC.txt startup-config


bdiouf99 Fri, 11/07/2008 - 07:34

hello clarke,

i used after each command :

erase nvram:

copy flash:testNAC.txt startup


the switch reload, it's work fine and i got the result that i want!!

But the job result display to me "Failure", there is the message :

Deploy command partially failed Insufficient no. of interactive responses(or timeout) for command: reload. Could not synchronize RME archive with Device Config

what that means ???

Joe Clarke Fri, 11/07/2008 - 09:46

Any Netconfig job which ends in a reload will be reported as failed since the switch immediately reloads after the command, and RME cannot verify the results. This is fixed in RME 4.1 which has added a Netconfig task specifically to do a reload. If you end the job with this task, then the job will be reported as success.


This Discussion