JN0-102 · Question #71
At which command prompt would you issue the set date <date> command?
The correct answer is D. user@router>. The set date <date> command is an operational mode command used to configure the system date and time directly, therefore it must be issued from the operational prompt (user@router>).
Question
At which command prompt would you issue the set date <date> command?
Options
- A[edit chassis]
- B[edit]
- C[edit system]
- Duser@router>
How the community answered
(31 responses)- A3% (1)
- C6% (2)
- D90% (28)
Why each option
The `set date <date>` command is an operational mode command used to configure the system date and time directly, therefore it must be issued from the operational prompt (user@router>).
`[edit chassis]` is a configuration mode hierarchy level; the `set date` command is not part of the chassis configuration.
`[edit]` is the top-level configuration mode; the `set date` command is not a configuration command for setting system time.
`[edit system]` is a configuration mode hierarchy level; while system time can be configured persistently here using `set system ntp` or `set system time-zone`, the immediate `set date` command is operational.
The `set date <date>` command is an operational command used to immediately set the system's date and time, not a configuration command. Operational commands are executed from the `user@router>` prompt.
Concept tested: Junos OS operational vs. configuration mode commands
Source: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/topic-map/system-management-basics.html#id-setting-the-system-date-and-time
Topics
Community Discussion
No community discussion yet for this question.