Main goal is to perform a firmware upgrade on my cisco sg350 switch.
I have a console Com cable and Putty access. When updating through CLI the new firmware should be in tftp folder, then updating is easy.
I cannot get access to the tftp folder in my TrueNas box.
What have done:
Created a dataset /mnt/tank/tftp
Created a user cisco, group user and mapped this dataset
Set credentials on the dataset tftp for cisco.
Services: TFTP then set the following:
Path : /mnt/tank/tftp
For the Host Address, I tried here all different options: “0.0.0.0.” ; “192.168.2.20” (the static ip of my TrueNas) ; “192.168.2.21” ( a free ip)
I created a file named text.txt in the /mnt/tank/tftp
With WInSCP I tested that I could update this file while login with cisco.
In Windows 11, I enabled TFTP client.
On the Command prompt
tftp -i 192.168.2.45 GET test.txt
Connection request failed
It should be all simple and straight forward
Advice most welcome. thanks in advance
Have you configured a management interface on the SG350? I.e. does it have an active IP address? If so, can you ping the TrueNAS server from the CLI on the switch?
You’ve not said what version of TrueNAS you’re running. Please include the version (Scale or Core, and version number) so the community can help you better.
This should be the address the tftp server will listen on. 0.0.0.0 is reasonable. 192.168.2.20 is fine if that’s an IP address on the server. A random IP won’t work - it needs to be an IP address already on the server.
Didn’t you say 192.168.2.20 was the IP address of the TrueNAS server? What’s 192.168.2.45?
I could indeed ping my TrueNas box from the SG350-20. That is working.,
Both my TrueNas boxes are latest TrueNAS-13.0-U6.2 Core.
My main TrueNas Box config is having 32GB ECC RAM on SuperMicro X11SLL-F, Xeon E3-1240L v5, 6x WD RED 1TB Zfs2, Both NICs in Lag on my switch. That box is running stable for couple years and Mirrors to another Truenas box
I have setup two VM, one with Home Assitant and the other with Ubuntu Server 24.04.
I succeeded to get the Cisco SG350-20 flashed with latest firmware. While I could not get access to TFTP on my TrueNas box I did the update with image on a usb stick. And this fixed the boot loop on this switch. So this SG350 suddenly had an Fatique failure after booting up. The boot takes about 2 minutes and then 1 min after it crashed. That is now fixed.
I wanted to try one more attempt getting TFTP running on TrueNas. But still not able to get access.
So, I did a TFTP install on the Ubuntu Server 24.04 running in the VM of TrueNas.
Here the link: TFTP - Community Help Wiki
And boom ! … I have now TFTP running and access !
Yes I tested as well with tftp -i 192.168.2.20 GET test.txt
And in the TrueNas TFTP config with Host 0.0.0.0 as well with host ip 192.168.2.20
Not working
I verified with WinScp and I have read & write access to the dataset under /mnt/tank/tftp. I tested to modify with two different user log in into WinScp (both users part of same user group. So I made a user named cisco with group cisco and mapped the folder to the /tftp dataset. Set the credentials.
So yes I don’t know …