Use it to reason about request/response, one-way telemetry, multicast and real-time services where the application supplies any reliability.
UDP
UDP provides connectionless datagrams with low header overhead and no transport-layer acknowledgement, ordering or retransmission.
datagram sent → no handshake → application handles loss
1. Verify source/destination address and port.
2. Confirm routing, ACL and NAT in both directions.
3. Capture request and response independently.
4. Check application counters/timeouts.
5. Measure loss, jitter and MTU where relevant.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show udpShow 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
Use application-specific request/response evidence, packet capture and interface/security counters to determine whether datagrams leave, arrive and receive replies. If requests are visible without responses, distinguish server silence from return-path, ACL/NAT or application logic. For one-way telemetry, confirm sequence/timestamp gaps at the collector if the protocol exposes them rather than expecting UDP to report loss. Check packet size and fragmentation when small messages succeed but larger datagrams disappear.
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.
Subtopics
Go one level deeper into this subject.
UDP sends independent datagrams identified by IP addresses and ports without transport-layer connection establishment, sequencing, acknowledgement or retransmission state.
Subtopic No acknowledgementUDP sends no acknowledgements and does not retransmit lost datagrams; if an application needs reliability or ordering (for example DNS retries or RTP sequence numbers), it handles that itself.
Subtopic Low overheadUDP has low overhead: an 8-byte header with ports, length and checksum and no connection setup, which suits DNS, VoIP, streaming and other traffic where speed matters more than retransmission.
show udp— UDP endpoints- Client: ss -un / Get-NetUDPEndpoint — listeners
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
UDP
UDP is the minimal transport protocol on IP. RFC 768 describes it as transaction-oriented, with no guarantee of delivery or duplicate protection; applications that need ordered, reliable streams use TCP instead. The header is eight bytes.
Header (RFC 768)
| Field | Detail |
|---|---|
| Source port | Optional (zero if unused); the reply port when present |
| Destination port | Receiving application |
| Length | Header plus data, minimum 8 |
| Checksum | Over a pseudo-header (addresses, protocol, length), header and data; all zeros means no checksum was generated |
TCP versus UDP
| TCP | UDP | |
|---|---|---|
| Connection | Yes (handshake) | No |
| Reliability and ordering | Yes | No (application's job) |
| Flow and congestion control | Yes | No |
| Header | 20+ bytes | 8 bytes |
| Typical use | Web, SSH, file transfer | DNS, DHCP, NTP, SNMP, syslog, voice and video (RTP), QUIC |
host$ ss -uln | head -4
State Recv-Q Send-Q Local Address:Port Peer Address:Port
UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:*
UNCONN 0 0 0.0.0.0:68 0.0.0.0:*
host$ sudo tcpdump -ni eth0 udp port 53 -c 2
10:41:22.101 IP 10.110.0.64.52011 > 10.20.0.53.53: 3112+ A? www.example.net. (33)
10:41:22.103 IP 10.20.0.53.53 > 10.110.0.64.52011: 3112 1/0/0 A 192.0.2.80 (49)
R1# show udp
Network implications
| Topic | Consequence |
|---|---|
| Firewalls | No connection state in the protocol; firewalls track flows with timeouts |
| NAT | UDP translations expire after an idle timeout |
| QoS | Real-time UDP (RTP) needs priority queuing; it doesn't back off under loss |
| Troubleshooting | No handshake: a missing reply means loss, filtering or no listener |
| Amplification | Some UDP services can be abused for reflection attacks; restrict them |
Applications built on UDP add their own reliability where needed (DNS retries, QUIC's own recovery).
Documented example, not captured output.
Quick reference
UDP is the connectionless transport protocol: no handshake, no acknowledgements, no ordering. Its low overhead suits request/response services and real-time media.
| Common UDP port | Service |
|---|---|
| 53 | DNS |
| 67 / 68 | DHCP server / client |
| 69 | TFTP |
| 123 | NTP |
| 161 / 162 | SNMP / traps |
| 514 | Syslog |
| 500 / 4500 | IKE / NAT-T |
DNS falls back to TCP 53 for large responses and zone transfers, so allowing only UDP 53 breaks some lookups.
State model and technical mechanics
UDP adds source/destination ports, length and checksum around each datagram but maintains no transport connection state comparable to TCP. The network can lose, duplicate or reorder datagrams and UDP itself does not repair those conditions. Applications such as DNS, NTP, streaming or telemetry define their own timing, retry and transaction semantics above UDP. Large datagrams can encounter IP fragmentation or be dropped where the path cannot carry them, so message size matters even though no handshake advertises an MSS. On IPv6 the UDP checksum is mandatory; on IPv4 it is normally used but historically can be zero. In either case the checksum detects corruption, not delivery failure.
Limits and common misconceptions
No response to a UDP probe is ambiguous: the service may be absent, filtered, rate-limited or intentionally silent. Successful delivery of one datagram does not create a durable session guarantee for the next datagram. Conversely, because UDP has no built-in retransmission, duplicate application messages may come from the application retry logic rather than the network duplicating packets.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Document the expected UDP port, packet direction and application retry/timeout model. Keep MTU awareness at the application boundary because oversized datagrams can create fragmentation dependence that is difficult to observe from a simple port check. Stateful firewalls and NAT still create temporary flow state for UDP even though UDP itself has none, so idle timeout behavior can influence long-running applications. Avoid treating “open UDP port” as a universal state because there is no transport handshake that can show a listener exists without application-specific response behavior.
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 Fundamentals → UDP. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc768.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
UDP 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 udp | 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? | application datagram → source port/path/policy → destination socket → optional response → application timeout/retry | application success |
UDP · technical reference
Compact mechanics, configuration and evidence boundaries for fast lookup.
| Property | UDP reference |
|---|---|
| Handshake | None |
| Reliability | Application-defined |
| Ordering | Not guaranteed by UDP |
| MTU sensitivity | Large datagrams may fragment/drop |