Chapters0/30 ▾
Chapter 3 · Lesson 4 of 5
Time and monitoring protocols: NTP and SNMP
1 min read
NTP runs on UDP 123 and counts distance from a reference clock in strata. The reference clock itself is stratum 0, a server wired directly to it is stratum 1, and each server that syncs from another adds one.
Stratum 16 means unsynchronized. Accurate time matters because log correlation and time-sensitive authentication both break when clocks drift. Example: a server that syncs from a stratum 2 server becomes stratum 3.
- SNMP managers poll agents with get requests to UDP 161.
- Agents send unsolicited traps and notifications to the manager on UDP 162, which is how an interface failure is reported instantly instead of at the next poll.
- Community-string versions send the string in cleartext as the only credential. SNMPv3 replaces it with per-user authentication and can encrypt the payload.
Example: a compliance rule says management queries must be authenticated and the values returned must be encrypted in transit. A longer or non-default community string does not meet it, because the string still crosses the wire in cleartext. Only the user-based security model of SNMPv3 satisfies both parts.
Check yourself
1. In an NTP hierarchy, how is a stratum 1 time server best described?
2. A monitoring platform must receive unsolicited alerts that managed devices generate the instant an interface fails, rather than waiting for the next scheduled poll. Which port must the manager be listening on?
Facts checked 2026-11-16 · Sources: CompTIA Network+ certification overview, IANA Service Name and Transport Protocol Port Number Registry, RFC 7766: DNS Transport over TCP
CompTIA Network+ cheat sheet: every key fact on one page →