Services

copy running-config tftp://<server>/<file>

Back up the running-config to a TFTP server over UDP 69. The file then shows up on the server: ls /srv/tftp, cat /srv/tftp/<file>.

Works on: Router, Firewall, SwitchMode: enable

Example

R1# copy running-config tftp://10.0.0.5/r1-confg
Watch out

The server must run TFTP ('systemctl start tftpd' at its Terminal) or the copy times out. Copying FROM TFTP is not simulated.

Run this command live

Don't just read it — type copy running-config tftp://<server>/<file> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "copy running-config tftp://<server>/<file>" command do?

Back up the running-config to a TFTP server over UDP 69. The file then shows up on the server: ls /srv/tftp, cat /srv/tftp/<file>.

What's the common gotcha with "copy running-config tftp://<server>/<file>"?

The server must run TFTP ('systemctl start tftpd' at its Terminal) or the copy times out. Copying FROM TFTP is not simulated.

Example of "copy running-config tftp://<server>/<file>"

R1# copy running-config tftp://10.0.0.5/r1-confg

More Services commands

← Back to the full command reference