In case of disaster, it is usually a very good idea to periodically back up the configuration of your network switches. This article lists syntax for backing up configuration to a TFTP server for different vendors.
In the syntax examples below, the IP for the TFTP is 188.8.131.52, and we're writing to the file switch.cfg.
Note that this article is definitely not complete. If you have additions to this article, please post them in the comments.
The syntax for Dell and Cisco switches is mostly the same. For N-series and PowerConnect, a summary is displayed which needs to be confirmed, which is not the case for Cisco and Dell S-series.
For Cisco Small Business (SF- and SG-series), the CLI ne ...
When installing tftpd-hpa, as a security measure, the service does not allow uploading new files. It does allow overwriting existing files, provided that the permissions are set correctly (as expected). The idea behind this is to secure TFTP a bit by only allowing uploads if the file already exists (and is writable). But this can be very tedious in some cases, where a lot of files have to be uploaded, and it is not possible to guess the names to create them in advance.
It is possible to configure tftpd-hpa to allow the creation of new files by adding the -c or --create parameter when starting the daemon.
For Ubuntu and Debian, this means editing the file /etc/default/tftpd-hpa, and adding ...