Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

TFTP

Direct answer

TFTP is a simple UDP-based file transfer without built-in authentication; FTP uses TCP control/data connections and authenticated sessions.

When to use this

Use them for controlled image, configuration or artifact transfer only when the protocol, credentials, path and security boundary are appropriate.

First 30 seconds

1. TFTP is simple UDP 69 file transfer without authentication.

2. Used for images and configs on trusted networks.

3. Prefer SCP/SFTP.

4. Check MD5 after transfer.

5. Firewalls need to allow dynamic ports.

Operational verification

request (UDP 69) → transfer blocks → file → verify hash

Evidence · next step

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.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Key commandcopy running-config tftp:
Scope / prerequisiteUse them for controlled image, configuration or artifact transfer only when the protocol, credentials, path and securit…
Show · 1Reference · 4
What next?3 suggested next steps
Catalog command links5
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

command output · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • copy tftp: flash: — transfer
  • show flash: — file and size
  • verify /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

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)

OpcodePacket
1RRQ: read request
2WRQ: write request (acknowledged with block 0)
3DATA
4ACK
5ERROR (codes 0–7: file not found, access violation, disk full, ...)

Transfer details (RFC 1350)

DetailEffect
Transfer IDsEach side picks a random port for the rest of the transfer
Lock-stepOne block in flight; slow over high-latency links
RetransmissionSender resends its last packet on timeout
Modesnetascii 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

NeedBetter option
Large images over a WANSCP, SFTP or HTTPS (faster windows, authentication)
Confidential configurationsSCP/SFTP (encrypted)
Transfers through firewallsProtocols 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Terminology layer

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.

Aliases that resolve here
trivial file transfer protocolfile transfer protocolTFTP FTP copy
Embedded reference data

Quick lookup tables

TFTP and FTP evidence chain

Configuration, operational state, counters and downstream proof remain separate.

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?show file systemsremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?source file/space → route/source/VRF → protocol control/data → server permissions/path → transferred bytes → integrity/activationapplication success

TFTP · operational reference

Compact protocol/state/evidence reference for fast lookup.

TFTP factMeaning
RRQ/WRQRequested direction/path
DATA/ACKTransfer progress
Final blockProtocol completion
Hash/parseArtifact correctness
Confirmation

Confirm action

Continue?