Network Time Protocol (NTP) is an application layer protocol belonging to the Transmission Control Protocol/Internet Protocol (TCP/IP) suite. NTP synchronizes time between time servers and clients. NTP implementation is based on Internet Protocol (IP) and User Datagram Protocol (UDP). NTP transmission occurs through UDP port 123.
As network topologies become increasingly complex, clock synchronization becomes more important for all devices within a network. Manual configuration of system clocks by network administrators is both labor-intensive and error-prone, potentially affecting clock precision. NTP operates as a network protocol which synchronizes the clocks of devices within a network.
Switch can function as both the NTP server and NTP client.
Version | Date | Standard | Description |
---|---|---|---|
NTPv1 | June 1988 | RFC 1059 | NTPv1 encompasses complete NTP rules and algorithms, but does not support authentication and control messages. |
NTPv2 | September 1989 | RFC 1119 | In addition to encompassing complete NTP rules and algorithms, NTPv2 supports authentication and control messages. |
NTPv3 | March 1992 | RFC 1305 | NTPv3 utilizes correctness rules while improving clock selection and filter algorithms. NPTv3 has been widely adopted, and only operates on an IPv4 network. |
NTPv4 | June 2010 | RFC 5905 | While similar to NTPv3, NTPv4 operates on both IPv4 and IPv6 networks. NTPv4 is backward compatible with NTPv3, and provides a complete encryption and authentication system, which is lacking in NTPv3. |