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.

Using NTP for automatic synchronization

To use NTP for automatic synchronization, you must create associations with the NTP servers. To create an association with an NTP server, use the system ntp server command and specify the IP address of the server.

The following table shows how to configure two NTP servers: one at 172.16.0.42 and one at 10.10.40.42.

To specify NTP servers, perform the following steps in configuration mode.

Table 1. Using NTP for automatic synchronization
Step Command
Specify a server at 172.16.0.42.
vyatta@R1# set system ntp server 172.16.0.42
Specify a server at 10.10.40.42.
vyatta@R1# set system ntp server 10.10.40.42
Commit the information.
vyatta@R1# commit
Show the configuration. (Output is abbreviated here.)
vyatta@R1# show system

    host-name R1
    domain-search {
        domain mydomain.com
        domain mydomain.net
        domain mydomain.org
    }
 name-server 172.16.0.34

 name-server 10.10.40.34

    time-zone US/Pacific
    ntp {
    server 172.16.0.42
        server 10.10.40.42
    }