tftp or ftp this is the question

Unanswered Question
Apr 15th, 2008
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

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

amerador20 Tue, 04/15/2008 - 23:26
User Badges:

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!!!

Actions

This Discussion