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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

netsconfig job on LMS 3.0

I want to schedule a daily job to copy my config to a flash card.

on the router the command would be

copy run disk1:

the router would then ask if the name should be running-config ...

How can I do this with netconfig? as I have no way of sending a carriage-return (enter)

Thanks

  • Network Management
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: netsconfig job on LMS 3.0

Netconfig does support interactive commands. You will need to use the command response sequence in your job. For example:

copy runn disk:

This assumes a dialog like:

copy runn disk1:

Destination filename [running-config]?

%Warning:There is a file already existing with this name

Do you want to over write? [confirm]

For more on Netconfig and interactive commands, consult the RME online help:

http://SERVER/help/rme/fundamentals/netcfg_AdhocTasks.html

Of course, you could configure "file prompt quiet" on the device, and then just run "copy runn disk1:" without needing to answer any questions.

2 REPLIES
Cisco Employee

Re: netsconfig job on LMS 3.0

Netconfig does support interactive commands. You will need to use the command response sequence in your job. For example:

copy runn disk:

This assumes a dialog like:

copy runn disk1:

Destination filename [running-config]?

%Warning:There is a file already existing with this name

Do you want to over write? [confirm]

For more on Netconfig and interactive commands, consult the RME online help:

http://SERVER/help/rme/fundamentals/netcfg_AdhocTasks.html

Of course, you could configure "file prompt quiet" on the device, and then just run "copy runn disk1:" without needing to answer any questions.

New Member

Re: netsconfig job on LMS 3.0

thanks jclarke. I did not even finish filling up the TAC form... and got this answer.

and yes it worked fine.

Thanks again.

150
Views
0
Helpful
2
Replies