download startup-config without confirmation

Oct 17, 2006 4 Replies

Hi,



I am using cisco router. I know , to download startup-config from router following command is worth.



"copy startup-config tftp".



But before downloading router is asking remotehost,name of configuration file to write to tftp and confirmation. How can avoid these things at everytime ? means is that any way to specify the default remotehost,config file name.so that i can download config-file without these confirmation.



If you are not using an older version of IOS, you can use

copy startup-config tftp://HOSTNAME/REMOTEFILENAME

I do not recall whether that prompts for confirmation.

Thanks for ur reply .I tried and following is I got.

Router#copy startup-config tftp://192.168.111.48/startup1.config % Invalid flash device name tftp: % Valid flash devices on this platform are - flash: : :

my router IOS version is 11.2. I don't know whether it supports or not.

11.2 is OLD.

looks like it doesn't support it.

If you want to automate this, for example, you could use Perl, Expect, or apparently TerraTerm.

have you looked at the copy on-line help

copy startup-config ?

some boxes have different syntax, which model is yours? copy system:running-config tftp:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required