Network Time Protocol (NTP) Client

Summary of NTP from RFC-1305 Network Time Protocol (Version 3):

NTP is used to synchronize timekeeping among a set of distributed time servers and clients … It provides the protocol mechanisms to synchronize time in principle to precisions in the order of nanoseconds while preserving a non-ambiguous date well into the next century.

The Network Time Protocol (NTP) client is essential for syncing time on various clients in the system. This document shows how to view NTP status and configure NTP on a Mellanox switch.

Enable NTP

ntp enable

Test the NTP server

Test the NTP server by querying the current time:

ntpdate 10.4.0.134

Specify a remote NTP server

Specify a remote NTP server to use for time synchronization:

ntp server <FQDN|IP-ADDR>

Configure the system timezone

clock timezone UTC-offset UTC-7

Validate functionality

show ntp

Expected results

  1. The NTP client can be configured.
  2. The functionality can be validated using the show command.
  3. The system time of the switch matches that of the NTP server.

Back to Index