Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

system ntp server <server-name> address-family

Specifies the address family for a Network Time Protocol (NTP) server.

set system ntp server server address-family [ ipv4 | ipv6 ]
delete system ntp server server address-family [ ipv4 | ipv6 ]
show system ntp server

By default, the system uses the NTP server at 0.vyatta.pool.ntp.org. If no address family is specified then the address selection is determined by the resolver.

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.

Configuration mode


system {
    ntp {
       server server
         address-family ipv4
         address-family ipv6
    }
}

Use this command to specify the address family for an NTP server.

When specified, the address-family parameter forces the name resolution to choose an IP address within that family. This is useful when both A and AAAA records exist in DNS for the same host name.

Note: Time servers in the second address pool, 2.vyatta.pool.ntp.org, have IPv6 connectivity.

Use the set form of this command to specify the address family for a NTP server.

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.