Use them for controlled image, configuration or artifact transfer only when the protocol, credentials, path and security boundary are appropriate.
TFTP
request (UDP 69) → transfer blocks → file → verify hash
1. Verify approved protocol and server identity.
2. Check route/VRF/source and ports.
3. Verify credentials/path/permissions where applicable.
4. Confirm free space and transfer result.
5. Validate size/hash and do not activate unverified images.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
copy running-config tftp:Primary Commands
Configuration and operational commands for this Topic.
copy running-config tftp:ReferenceCopy the running configuration to a TFTP server (unauthenticated, unencrypted).
Use when: Use at the TFTP and FTP boundary after prerequisite state is verified.
Quick note: Operational guidance. A completed copy message does not prove the file is authentic, uncorrupted, compatible or safely activated.
Cisco IOS / IOS XE · mixedcopy startup-config tftp:ReferenceCopy the startup configuration to a TFTP server.
Use when: Use at the TFTP and FTP boundary after prerequisite state is verified.
Quick note: Operational guidance. A completed copy message does not prove the file is authentic, uncorrupted, compatible or safely activated.
Cisco IOS / IOS XE · mixedcopy tftp: running-configReferenceMerge a configuration file from a TFTP server into the running configuration.
Use when: Use at the TFTP and FTP boundary after prerequisite state is verified.
Quick note: Operational guidance. A completed copy message does not prove the file is authentic, uncorrupted, compatible or safely activated.
Cisco IOS / IOS XE · mixedcopy tftp: flash:ReferenceCopy a file such as an IOS image from a TFTP server to flash.
Use when: Use at the TFTP and FTP boundary after prerequisite state is verified.
Quick note: Operational guidance. A completed copy message does not prove the file is authentic, uncorrupted, compatible or safely activated.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification and output interpretation Verify boundary
Show server reachability, request type/path, block/ACK progression and transfer completion, then validate the resulting file size/hash or device-side parse before treating the artifact as correct. Verification should move from route/transport to protocol state and then to the resulting artifact or clock quality. Use protocol counters/status, timestamps or transfer progression, and validate the consumer-side result. A socket/UDP response is useful reachability evidence but should not be mistaken for successful service semantics.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
copy tftp: flash:— transfershow flash:— file and sizeverify /md5 flash:<file>— integrity
ReferenceWhat it is1 section · depth on demand
What it is
TFTP is a simple UDP-based file transfer without built-in authentication; FTP uses TCP control/data connections and authenticated sessions.
Path: Networking → IP Services → TFTP. Local intent: Deep reference for TFTP transfer semantics, UDP behavior, file direction, server path and integrity boundaries.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
TFTP is a minimal file transfer protocol over UDP, still used for network booting, IP phone configuration and quick image or configuration copies. RFC 1350 describes it: requests go to UDP port 69, data moves in 512-byte blocks numbered from 1, each block must be acknowledged before the next is sent, and a block shorter than 512 bytes ends the transfer. TFTP can't list directories and has no user authentication.
Packet types (RFC 1350)
| Opcode | Packet |
|---|---|
| 1 | RRQ: read request |
| 2 | WRQ: write request (acknowledged with block 0) |
| 3 | DATA |
| 4 | ACK |
| 5 | ERROR (codes 0–7: file not found, access violation, disk full, ...) |
Transfer details (RFC 1350)
| Detail | Effect |
|---|---|
| Transfer IDs | Each side picks a random port for the rest of the transfer |
| Lock-step | One block in flight; slow over high-latency links |
| Retransmission | Sender resends its last packet on timeout |
| Modes | netascii and octet (binary); mail is obsolete |
R1# copy running-config tftp://10.20.0.60/r1-confg
Address or name of remote host [10.20.0.60]?
Destination filename [r1-confg]?
!!
8211 bytes copied in 0.412 secs (19929 bytes/sec)
R1# copy tftp://10.20.0.60/c8000v-universalk9.17.12.04.SPA.bin bootflash:
R1(config)# ip tftp source-interface Loopback0
host$ tftp 10.20.0.60 -m binary -c get SEP0011223344556.cnf.xml
Security (RFC 1350)
With no login or access control, the TFTP server's rights must be tightly limited so it doesn't expose the host's file system; servers usually serve only public files and refuse writes.
When not to use TFTP
| Need | Better option |
|---|---|
| Large images over a WAN | SCP, SFTP or HTTPS (faster windows, authentication) |
| Confidential configurations | SCP/SFTP (encrypted) |
| Transfers through firewalls | Protocols with a single fixed connection |
Restrict TFTP servers to the networks that need them and keep them read-only unless uploads are required.
Documented example, not captured output.
Quick reference
TFTP (UDP 69) is a very simple file transfer protocol without authentication or encryption, used for network device images, configuration files and PXE boot. Its simplicity makes it easy to support but unsafe on untrusted networks.
copy tftp://10.0.0.5/cat9k_iosxe.17.12.04.SPA.bin flash:
copy running-config tftp://10.0.0.5/sw01.cfg
ip tftp source-interface Loopback0
Documented example, not captured output.
Prefer SCP, SFTP or HTTPS for transfers when the platform supports them; TFTP is slow for large images because it sends one small block at a time.
Protocol/service mechanics and state model
TFTP begins with a read or write request and then exchanges numbered data blocks with acknowledgements over UDP. It has no built-in authentication, confidentiality or rich directory semantics. The transfer port can move away from the well-known initial service port, so stateful policy and packet capture interpretation must follow the actual exchange rather than assuming all traffic remains on UDP/69. IP service protocols add operational dependencies above basic routing. Time and file-transfer services each have their own control/state model, transport behavior and quality criteria. Reachability to the service endpoint is only the first step; selection/authentication, protocol exchange, resulting clock/file state and consumer behavior must be interpreted separately.
Limits and common misconceptions
A completed UDP exchange does not show the transferred file is the intended version, uncorrupted, safe to apply or accepted by the target device. Service protocol success has a narrow scope. A synchronized-looking peer relationship may still have poor clock quality; a completed file transfer may still contain the wrong artifact. Keep transport reachability, protocol exchange, security/authentication, resulting state and dependent application behavior as separate evidence layers.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration intent
Use TFTP only on controlled management paths where its security limits are acceptable. Keep server root/path conventions documented, protect configuration/firmware artifacts operationally, and prefer stronger protocols where authentication or confidentiality is required. Configure service endpoints, source/VRF context, authentication/security and operational ownership explicitly. Prefer secure protocols where credentials or sensitive artifacts are involved, document path conventions and reference hierarchy, and make fallback/redundancy behavior intentional rather than accidental.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Services → TFTP. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
TFTP and FTP evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | show file systems | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | source file/space → route/source/VRF → protocol control/data → server permissions/path → transferred bytes → integrity/activation | application success |
TFTP · operational reference
Compact protocol/state/evidence reference for fast lookup.
| TFTP fact | Meaning |
|---|---|
| RRQ/WRQ | Requested direction/path |
| DATA/ACK | Transfer progress |
| Final block | Protocol completion |
| Hash/parse | Artifact correctness |