- peer address <key key-number> <version value> <prefer>;
- [edit system ntp]
Statement introduced before JUNOS Release 7.4.
For NTP, configure the local router to operate in symmetric active mode with the remote system at the specified address. In this mode, the local router and the remote system can synchronize with each other. This configuration is useful in a network in which either the local router or the remote system might be a better source of time.
address—Address of the remote system. You must specify an address, not a hostname.
key key-number—(Optional) All packets sent to the address include authentication fields that are encrypted using the specified key number.
prefer—(Optional) Mark the remote system as the preferred host, which means that if all other factors are equal, this remote system is chosen for synchronization among a set of correctly operating systems.
version value—(Optional) Specify the NTP version number to be used in outgoing NTP packets.
See Configuring the NTP Time Server and Time Services.
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.