home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

system ntp server <server-name>

Specifies a Network Time Protocol (NTP) server to use when synchronizing the system clock.

set system ntp server server [ address-family | dynamic | keyid | noselect | preempt | prefer]
delete system ntp server server [ address-family | dynamic | keyid | noselect | preempt | prefer]
show system ntp server

By default, the system uses the NTP server at 0.vyatta.pool.ntp.org.

server
Multi-node. The IP address or host name of an NTP server. The system automatically obtains the system date and time from the specified server or servers.

You can specify multiple NTP servers by creating multiple instances of the ntp server configuration node.

address-family
Address family for hostname resolution.
dynamic
Allows to configure the server even if it is not reachable.
key-id
NTP aunthentication key ID.
noselect
Marks the server as unused.
preempt
Specifies the association as preemptable rather than the default persistent.
prefer
Marks the server as preferred.

Configuration mode


system {
    ntp {
       server server {
										address-family
										dynamic
										key-id
										noselect
										preempt
										prefer
							}
    }
}

Use this command to specify an NTP server for the system.

Use the set form of this command to specify an NTP server for the system. Note that you cannot modify an NTP server entry by using the set command. To replace an entry, delete it and create a new entry.

Use the delete form of this command to remove an NTP server.

Use the show form of this command to view the NTP servers that have been specified.

This example describes mark a NTP server 10.18.191.203 as the preferred server.

vyatta@Rn# set system ntp server 10.18.191.203 prefer
vyatta@Rn# show system ntp server
server 10.18.191.203 {
       prefer