Pcornel
Networking · IP Fundamentals

UDP

Cheat sheet · https://pcornel.dk/topic.php?topic=561

Back to the Topic

Answer

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

Remember

  • 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.

First checks

  • show udp — UDP endpoints
  • Client: ss -un / Get-NetUDPEndpoint — listeners

Commands

show udp
Inspect IOS UDP listeners and counters.

Verify in this order

datagram sent → no handshake → application handles loss

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

UDP · technical reference

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=561

Confirmation

Confirm action

Continue?