download startup-config without confirmation

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.

Reply to
Whistler
Loading thread data ...

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.

Reply to
Walter Roberson

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.

Reply to
Whistler

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 ?

Reply to
Bod43

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

Reply to
Make

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.