Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

ntp

 

Syntax

Hierarchy Level

Release Information

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.

Description

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.

Note

There must be no space in the password for configuring the Network Time Protocol (NTP) authentication-key.

Options

authentication-keyConfigure NTP authentication keys so authenticated packets can be sent.
boot-serverConfigure the server that NTP queries when the router or switch boots to determine the local date and time.
broadcastConfigure the local router or switch to operate in broadcast mode with the remote system.
broadcast-clientConfigure the local router or switch to listen for broadcast messages on the local network to discover other servers on the same subnet.
multicast-clientConfigure the local router or switch to listen for multicast messages on the local network.
peerConfigure the local router or switch to operate in symmetric active mode with the remote system at the specified address.
serverConfigure the local router or switch to operate in client mode with the remote system
source-addressA valid IP address configured on one of the router or switch interfaces
trusted-keyConfigure the keys you are allowed to use when you configure the local router or switch to synchronize its time with other systems on the network.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.