JN0-102 · Question #198
Which operational mode command can be used to synchronize the local system time with an NTP server?
The correct answer is D. set date ntp 64.32.129.3. The set date ntp operational mode command is used to manually synchronize the Junos device's system clock with a specified Network Time Protocol (NTP) server. This command initiates an immediate time synchronization.
Question
Which operational mode command can be used to synchronize the local system time with an NTP server?
Options
- Aset ntp time 64.32.129.3
- Bset clock ntp 64.32.129.3
- Cset time 64.32.129.3
- Dset date ntp 64.32.129.3
How the community answered
(35 responses)- A3% (1)
- B3% (1)
- C3% (1)
- D91% (32)
Why each option
The `set date ntp` operational mode command is used to manually synchronize the Junos device's system clock with a specified Network Time Protocol (NTP) server. This command initiates an immediate time synchronization.
The command syntax `set ntp time` is incorrect for synchronizing the clock in operational mode.
The command syntax `set clock ntp` is incorrect; `set date ntp` is the correct command.
The command syntax `set time` is incorrect for NTP synchronization in operational mode; it is generally used for manually setting the date/time without NTP.
The `set date ntp <ntp-server-ip>` command in operational mode instructs the Junos device to immediately query the specified NTP server and synchronize its local system time. This is a one-time synchronization, typically used for initial setup or troubleshooting, distinct from persistent NTP configuration.
Concept tested: Junos NTP manual synchronization command
Source: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/ref/command/set-date.html
Topics
Community Discussion
No community discussion yet for this question.