cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
724
Views
0
Helpful
2
Replies

netsconfig job on LMS 3.0

srego4
Level 2
Level 2

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

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

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.

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

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.

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

and yes it worked fine.

Thanks again.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: