Command Line (CLI) Reference > CLI Commands > NTP

CLI: NTP

You can use the ntp command to configure an NTP 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.

Configuring Date & Time via NTP

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>]

To enable or disable NTP time synchronization:

ntp {enable|disable}