NVIDIA NVOS User Manual for InfiniBand Switches

NTP

Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over variable-latency data networks. NTP is intended to synchronize all participating computers to within a few milliseconds of Coordinated Universal Time (UTC) and is designed to mitigate the effects of variable network latency. NTP can usually maintain time to within tens of milliseconds over the public Internet, and can achieve better than one millisecond accuracy in local area networks under ideal conditions.

NTP Authenticate

When authentication of incoming NTP packets is enabled, the switch ensures that they come from an authenticated time source before using them for time synchronization on the switch. Authentication keys are created and marked as trusted.

To add a key to be used for authentication, take the following steps

  1. Create the key.

    admin@nvos:~$ nv set system ntp key 1
    


  2. Specify the value.

    admin@nvos:~$ nv set system ntp key 1 value mystrongpassword
    


  3. Trust new added key.

    admin@nvos:~$ nv set system ntp key 1 trusted yes
    


  4. Assign the key to the server.

    admin@nvos:~$ nv set system ntp server 10.34.1.1 key 1
    


NTP Authentication Key

An authentication key may be created and used to authenticate incoming NTP packets. For the key to be used, make sure the following is in place.

  1. It should be shared with the NTP server sending the NTP packet.

  2. The key should be marked as trusted.

  3. NTP authentication should be enabled on the system.

NTP Commands

Last updated: