×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

write network command parameters

Unanswered Question
Dec 17th, 2002
User Badges:

I am trying to upload my Cat 5500 config file to a computer. How do I configure a redentials (user-id, password) for that host on the write network command line?


Thanks.


_ Alex

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Frederic Vanderbecq Wed, 12/18/2002 - 07:01
User Badges:
  • Cisco Employee,

The 'write network' command can only be used to upload a config file on a TFTP server in its root directory. Thus, you cannot specify a username and password for the remote host on that command.

If the TFTP server is on a Unix box, remember to create an empty file with the name of the config file and make sure there are 'write' rights for all users on that file.

axfalk Wed, 12/18/2002 - 11:13
User Badges:

Thanks for your response. I am trying to upload the config to a CW2K (running on a W2K box) machine, that, supposedly, has a TFTP server embedded in it and I am getting "access violation" error message.


_ Alex

lgijssel Thu, 12/19/2002 - 03:39
User Badges:
  • Red, 2250 points or more

You are trying to write to a file via tftp.

The tftp server deamon requires the destination file exists.

Create an empty file with the correct name and you are in business!

axfalk Thu, 12/19/2002 - 13:29
User Badges:

Thanks for your response. I have tried your suggestion but to no avail. Besides, I can tftp that file fine to my W2K box that's running a TFTP server. Why can't I do the same to the CW2K box? Any other suggestions please?


Thanks.


- Alex

lgijssel Thu, 12/19/2002 - 13:38
User Badges:
  • Red, 2250 points or more

I am doing the same to MY CW2K machine and I am sure that this is your issue! Did you choose the correct directory?

for Windows Edition4 it is:

/cscopx/tftpboot


There are some implementations of tftp that do not require the file to exist. These are bad implementations. The rule is: file must exist.

lgijssel Thu, 12/19/2002 - 13:40
User Badges:
  • Red, 2250 points or more

and the filename is case-sensitive.


for unix, the directory & file must have appropriate write-permissions [777]

axfalk Fri, 12/20/2002 - 12:06
User Badges:

I tried your latest suggestion in creating a file (or a placeholder) in the cscopx/tftpboot directory on my CW2K machine and then uploading the config into it, but could not do it again. This is what I get:


Upload configuration to sw22.cfg on 172.21.72.100 (y/n) [n]? y

.....

.........

.........

.........

..

Access violation.

TFTP connection fail(0).

TFTP: Abnormal Termination


I made sure everyone has the write access to both the cscopx and the tftpboot directory.


Thanks.


_ Alex


Actions

This Discussion