CLI: NTP

You can use the ntp command to configure an NTPNetwork Time Protocol server to set the time on the appliance. To learn about NTP best practices, see Date and Time Configuration. If you want to manually set the date and time, use the time command.

ntp {server|peer|enable|disable}

To configure an NTP server:

ntp server <hostname or IPv4 address> [version <ntp-version>]

To configure an NTP peer node:

ntp peer <hostname or IPv4 address> [version <ntp-version>]

  • peer <hostname or IPv4 address> - Specify an NTP peer. NTP peers will negotiate to synchronize their times. Neither is the master.

To enable or disable NTP time synchronization:

ntp {enable|disable}