04-15-2008 03:06 PM - edited 03-05-2019 10:24 PM
Hi!
What I do like to load, with a command line only, a configuration stored on an ftp server or tftp. What my advice?
We need to know because I am developing an application that will allow me to load jsp through commands rcp rsh or any configuration stored in a folder and using the FTP to upload. The problem is that when a command copy tftp command startup-config or copy startup config-tftp asks me confirmation ip and name of the destination and that's not what I stand by jsp page.
04-15-2008 04:40 PM
Hi, you should be able to load from the rcp, ftp or tftp onto your cisco device, yes the device eill ask for the IP or the name of the sending device. I am not sure what you mean when you write "that's not what I stand by jsp page"
I posted some command below for you, I hope the are helpful.
hmsg-bsmt#copy tftp ?
bootflash: Copy to bootflash: file system
cat4000_flash: Copy to cat4000_flash: file system
ftp: Copy to ftp: file system
http: Copy to http: file system
null: Copy to null: file system
nvram: Copy to nvram: file system
rcp: Copy to rcp: file system
running-config Update (merge with) current system configuration
scp: Copy to scp: file system
slot0: Copy to slot0: file system
startup-config Copy to startup configuration
system: Copy to system: file system
tftp: Copy to tftp: file system
bsmt#copy ftp ?
bootflash: Copy to bootflash: file system
cat4000_flash: Copy to cat4000_flash: file system
ftp: Copy to ftp: file system
http: Copy to http: file system
null: Copy to null: file system
nvram: Copy to nvram: file system
rcp: Copy to rcp: file system
running-config Update (merge with) current system configuration
scp: Copy to scp: file system
slot0: Copy to slot0: file system
startup-config Copy to startup configuration
system: Copy to system: file system
tftp: Copy to tftp: file system
bsmt#copy ftp
04-15-2008 11:26 PM
Hi,i want to say that from my website i don't know how to send a petition to my router with only one line can upload a configuration startup. For example: when i want upload:
copy running-config tftp://192.168.1.33/tftpboot/running-config
This petition asks me to confirm the ip address and the name of the destination file (address or name of remote host []? 192.168.1.33, the destination filename? Startup-config: .... and what I do not want is that I ask this confirmation because if i have a website i want a button can be done by loading or unloading a startup or running-config-config.
Thanks!!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide