Networking NVIDIA NVOS User Manual for InfiniBand Switches

NTP

Network Time Protocol (NTP) synchronizes the clocks of computer systems over networks with variable latency. NTP can usually keep time within tens of milliseconds over the public internet, and can achieve better than one millisecond of accuracy in local area networks under ideal conditions.

NTP Authentication

When NTP authentication is enabled, the switch uses incoming NTP packets for time synchronization only if they come from an authenticated time source. You create authentication keys and mark them as trusted.

To configure NTP authentication:

  1. Create the key.

    admin@nvos:~$ nv set system ntp key 1
    
  2. Set the key value.

    admin@nvos:~$ nv set system ntp key 1 value mystrongpassword
    
  3. Mark the key as trusted.

    admin@nvos:~$ nv set system ntp key 1 trusted yes
    
  4. Assign the key to the server.

    admin@nvos:~$ nv set system ntp server 192.168.0.254 key 1
    
  5. Enable NTP authentication and apply the configuration.

    admin@nvos:~$ nv set system ntp authentication enabled
    admin@nvos:~$ nv config apply
    

NTP Authentication Key

The switch uses an authentication key to authenticate incoming NTP packets only if all of the following are true:

  1. The NTP server that sends the packets uses the same key.

  2. The key is marked as trusted.

  3. NTP authentication is enabled on the switch.

For the NTP commands, see NTP Commands.

Last updated: