TFTP Usage

User avatar
richeyrobert
Member
 
Posts: 4
Joined: Tue Apr 21, 2015 5:39 pm
Location: Utah
Has thanked: 0 time
Been thanked: 0 time

TFTP Usage

Thu Aug 06, 2015 12:38 pm

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

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: TFTP Usage

Thu Aug 06, 2015 1:08 pm

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

User avatar
richeyrobert
Member
 
Posts: 4
Joined: Tue Apr 21, 2015 5:39 pm
Location: Utah
Has thanked: 0 time
Been thanked: 0 time

Re: TFTP Usage

Thu Aug 06, 2015 6:53 pm

Do you know when version 1.3.0 will be "Production ready" so I can schedule another maintenance notice?

User avatar
sirhc
Employee
Employee
 
Posts: 7420
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1609 times
Been thanked: 1326 times

Re: TFTP Usage

Thu Aug 06, 2015 7:13 pm

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
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
richeyrobert
Member
 
Posts: 4
Joined: Tue Apr 21, 2015 5:39 pm
Location: Utah
Has thanked: 0 time
Been thanked: 0 time

Re: TFTP Usage

Thu Aug 06, 2015 7:23 pm

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?

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: TFTP Usage

Fri Aug 07, 2015 10:28 am

Yep, you can use "cmd" to get to the command line, then use scp. The config file is /www/config.json

User avatar
richeyrobert
Member
 
Posts: 4
Joined: Tue Apr 21, 2015 5:39 pm
Location: Utah
Has thanked: 0 time
Been thanked: 0 time

Re: TFTP Usage

Fri Aug 07, 2015 1:30 pm

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

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: TFTP Usage

Fri Aug 07, 2015 1:58 pm

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.

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 150 guests