Networking · IP Services
TFTP
Cheat sheet · https://pcornel.dk/topic.php?topic=672
Answer
TFTP is a simple UDP-based file transfer without built-in authentication; FTP uses TCP control/data connections and authenticated sessions.
Remember
- TFTP uses UDP 69 to initiate and ephemeral transfer identifiers thereafter
- FTP uses TCP 21 control plus active/passive data connections
- Neither protocol protects content like SFTP/SCP/HTTPS
- Free space, file integrity, server path, VRF/source and firewall handling all matter.
First checks
copy tftp: flash:— transfershow flash:— file and sizeverify /md5 flash:<file>— integrity
Commands
show file systems- Inspect local file systems, permissions and free space.
copy running-config tftp:- Copy the running configuration to a TFTP server (unauthenticated, unencrypted).
copy startup-config tftp:- Copy the startup configuration to a TFTP server.
copy tftp: running-config- Merge a configuration file from a TFTP server into the running configuration.
copy tftp: flash:- Copy a file such as an IOS image from a TFTP server to flash.
Verify in this order
request (UDP 69) → transfer blocks → file → verify hash
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
TFTP · operational reference
| TFTP fact | Meaning |
|---|---|
| RRQ/WRQ | Requested direction/path |
| DATA/ACK | Transfer progress |
| Final block | Protocol completion |
| Hash/parse | Artifact correctness |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=672