Page 1 of 1

TFTP Usage

Posted: Thu Aug 06, 2015 12:38 pm
by richeyrobert
I am trying to backup my switch config with TFTP. I can't seem to find and correct syntax anywhere.
I can't even seem to find the manual.

From the command line I am trying
Code: Select all
copy startup-config tftp://192.168.1.53/TowerSwitch.txt

and I get the following output:
Code: Select all
% Saving startup-config to tftp://192.168.1.53/tdc/TowerSwitch.txt

BusyBox v1.11.2 (2015-07-14 18:17:42 EDT) multi-call binary

 
Usage: tftp [OPTION]... HOST [PORT]

 
Transfer a file from/to tftp server

 
Options:

-l FILELocal FILE

-r FILERemote FILE

-gGet file

-pPut file



I also tried putting the same URL into the TFTP URL setting on the switch configuration page on the management page and it doesn't seem to be backing up with that setting either.

Can anyone help me figure out what I'm doing wrong? Or maybe point me to the manual?

Thanks,

Rob

Re: TFTP Usage

Posted: Thu Aug 06, 2015 1:08 pm
by Eric Stern
This was fixed in 1.3.0rc6, you will need to update to the latest 1.3.0 version.

viewtopic.php?f=17&t=681

Re: TFTP Usage

Posted: Thu Aug 06, 2015 6:53 pm
by richeyrobert
Do you know when version 1.3.0 will be "Production ready" so I can schedule another maintenance notice?

Re: TFTP Usage

Posted: Thu Aug 06, 2015 7:13 pm
by sirhc
richeyrobert wrote:Do you know when version 1.3.0 will be "Production ready" so I can schedule another maintenance notice?


We do not have a firm date on this but if it gives you any confidence I am running v1.3.0rc

However we will be releasing another v1.3.0rcX in the next few days

Re: TFTP Usage

Posted: Thu Aug 06, 2015 7:23 pm
by richeyrobert
Is there a way to get the config from the switch without tftp from the command line?

Is there a file that I can `scp` from the switch or anything like that?

Re: TFTP Usage

Posted: Fri Aug 07, 2015 10:28 am
by Eric Stern
Yep, you can use "cmd" to get to the command line, then use scp. The config file is /www/config.json

Re: TFTP Usage

Posted: Fri Aug 07, 2015 1:30 pm
by richeyrobert
A few more questions. Sorry!

Can I upload that same json file through the gui to restore a configuration?

I noticed that the config file that I download through the web interface was in some kind of binary form.

Also, to restore a configuration through the CLI, would I just upload the json file and reboot the switch? Or is there some sort of process that I would need to follow?

(By the way, thanks a ton for your quick responses. I'm really impressed with your great customer service already!)

Re: TFTP Usage

Posted: Fri Aug 07, 2015 1:58 pm
by Eric Stern
You can't upload the config file in the GUI for a restore. You would scp the config file to switch, overwriting the one that is already there, and then reboot.

You are correct, the backup from the GUI is actually an archive that includes config.json and some other files like the SSL certificate. But the config file contains all the really important stuff.