Header Only - DO NOT REMOVE - Extreme Networks

tftp - what am I doing wrong here?


Userlevel 2
(Software Update Required) X450G2-48t-10G4.16 # upload configuration X.X.X.X primary.cfg vr "VR-Default"

Uploading primary.cfg to 10.218.50.20 ... failed!

Error: (1) File not found

(Software Update Required) X450G2-48t-10G4.17 # ls

-rw-r--r-- 1 root root 297552 Apr 12 17:03 primary.cfg

7 replies

Userlevel 5
Tom,

The "upload config" command by default uploads your current running configuration to a .xsf (or text file) on the tftp server that you define. In the command the name you supply should be something like "primary" without an extension, it will copy and save it on the tftp as "primary.xsf" - If you want to copy the raw file you can use "tftp put" command. Let me know if you have any other problems or questions!

Bill
the message seems to say you are getting to the tftp server and that your IP's might be right but that the tftp server doesn't know where the file is. check the directory of where the .xos file is as opposed to the directory where the tftp server is pointed to
Userlevel 2
Bill Stritzinger wrote:

Tom,

The "upload config" command by default uploads your current running configuration to a .xsf (or text file) on the tftp server that you define. In the command the name you supply should be something like "primary" without an extension, it will copy and save it on the tftp as "primary.xsf" - If you want to copy the raw file you can use "tftp put" command. Let me know if you have any other problems or questions!

Bill

I seem to have tried every iteration under the sun but still not having any joy. X450G2-48t-10G4.1 # upload configuration X.X.X.X primary vr "VR-Default"

Uploading primary to 10.218.50.20 ... failed!

Error: (1) File not found
Userlevel 2
Bill Stritzinger wrote:

Tom,

The "upload config" command by default uploads your current running configuration to a .xsf (or text file) on the tftp server that you define. In the command the name you supply should be something like "primary" without an extension, it will copy and save it on the tftp as "primary.xsf" - If you want to copy the raw file you can use "tftp put" command. Let me know if you have any other problems or questions!

Bill

PEBCAK error here, it's my TFTP server 😞 Thank you anyway.
Userlevel 5
Bill Stritzinger wrote:

Tom,

The "upload config" command by default uploads your current running configuration to a .xsf (or text file) on the tftp server that you define. In the command the name you supply should be something like "primary" without an extension, it will copy and save it on the tftp as "primary.xsf" - If you want to copy the raw file you can use "tftp put" command. Let me know if you have any other problems or questions!

Bill

Just tried it... next thing was the tftp server...

BIllHome-X460-G2.1 # upload config 192.168.100.29 primary vr "VR-Default"
Uploading primary to 192.168.100.29 ... done!
BIllHome-X460-G2.2 #

Good luck!
Userlevel 4
use tftp put - as it uploads your config as XML File - This is what you need, when you want to restore the config later.
Userlevel 7
Traditional UNIX TFTP servers require that the file to upload is already existing and writeable on the TFTP server. The existing file will be overwritten by the upload.Typically, the UNIX utility "touch" is used to create an empty file. The empty file's permissions are then set with "chmod".

This obscure mechanism is still implemented in many TFTP servers on Linux systems, but not widely known any more.

The error message "Error: (1) File not found" is typical for this kind of problem.

Reply