ntp (tpvm mode)

Configures the Network Time Protocol (NTP) server for TPVM instance.

Syntax

ntp server { ipv4-address | fqdn }
no ntp server { ipv4-address | fqdn }

Parameters

server { ipv4-address | fqdn }
Identifies the NTP server by IPv4 address or fully qualified Domain Name.

Modes

TPVM Configuration mode

Usage Guidelines

Up to five (5) NTP servers can be configured.

Examples

This example adds a server to the list of NTP servers in the /etc/systemd/timesyncd.conf file in TPVM.

SLX (config-tpvm-TPVM)# ntp server time.google.com

This example removes a server from the list of NTP servers in the /etc/systemd/timesyncd.conf file in TPVM.

SLX (config-tpvm-TPVM)# no ntp server time.google.com