Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

UDP

Direct answer

UDP provides connectionless datagrams with low header overhead and no transport-layer acknowledgement, ordering or retransmission.

When to use this

Use it to reason about request/response, one-way telemetry, multicast and real-time services where the application supplies any reliability.

First 30 seconds

1. UDP is connectionless, no acknowledgements or ordering.

2. Used for DNS, DHCP, SNMP, syslog, voice.

3. Applications handle loss.

4. Firewalls use timeouts.

5. Test with application-level checks.

Operational verification

datagram sent → no handshake → application handles loss

Evidence · next step

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.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
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.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandshow udp
Scope / prerequisiteUse it to reason about request/response, one-way telemetry, multicast and real-time services where the application supp…
Show · 1
What next?3 suggested next steps
Child topics (this level)3
Catalog command links1
Evidence1
On this pageJump to a specific section
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

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 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
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • No handshake means there may be no session state to inspect
  • Loss, duplication and reordering are exposed to the application
  • ICMP unreachable may signal a closed port, but silence is ambiguous
  • DNS, DHCP, NTP, SNMP and many media flows use UDP in specific ways.
Key checks
  • 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)

FieldDetail
Source portOptional (zero if unused); the reply port when present
Destination portReceiving application
LengthHeader plus data, minimum 8
ChecksumOver a pseudo-header (addresses, protocol, length), header and data; all zeros means no checksum was generated

TCP versus UDP

TCPUDP
ConnectionYes (handshake)No
Reliability and orderingYesNo (application's job)
Flow and congestion controlYesNo
Header20+ bytes8 bytes
Typical useWeb, SSH, file transferDNS, 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

TopicConsequence
FirewallsNo connection state in the protocol; firewalls track flows with timeouts
NATUDP translations expire after an idle timeout
QoSReal-time UDP (RTP) needs priority queuing; it doesn't back off under loss
TroubleshootingNo handshake: a missing reply means loss, filtering or no listener
AmplificationSome 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.

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

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 portService
53DNS
67 / 68DHCP server / client
69TFTP
123NTP
161 / 162SNMP / traps
514Syslog
500 / 4500IKE / 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
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 docProtocol standard + deployed implementation RFC 768

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%
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
user datagram protocolconnectionless transportUDP port
Embedded reference data

Quick lookup tables

UDP 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 udpremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?application datagram → source port/path/policy → destination socket → optional response → application timeout/retryapplication success

UDP · technical reference

Compact mechanics, configuration and evidence boundaries for fast lookup.

PropertyUDP reference
HandshakeNone
ReliabilityApplication-defined
OrderingNot guaranteed by UDP
MTU sensitivityLarge datagrams may fragment/drop
Confirmation

Confirm action

Continue?