Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11.1 for QFX Series switches.
Configure NTP on the router or switch. In both standalone and chassis cluster modes, the primary Routing Engine runs the NTP process to get the time from the external NTP server. Although the secondary Routing Engine runs the NTP process in an attempt to get the time from the external NTP server, this attempt fails because of network issues. For this reason, the secondary Routing Engine uses NTP to get the time from the primary Routing Engine.
There must be no space in the password for configuring the Network Time Protocol (NTP) authentication-key.
address—Address of the remote system. You must specify an address, not a hostname.
key key-number—(Optional) Use the specified key number to encrypt authentication fields in all packets sent to the specified address. Range: Any unsigned 32-bit interger.
prefer—(Optional) Mark the remote system as preferred host, which means that if all other things are equal, this remote system is chosen for synchronization among a set of correctly operating systems.
routing-instance routing-instance—(Optional) Routing instance through which the server is reachable.
version value—(Optional) Specify the version number to be used in outgoing NTP packets. Range: 1 through 4. Default: 4.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.