nerdexam
Juniper

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>).

User Interface Options

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)
  • A
    3% (1)
  • C
    6% (2)
  • D
    90% (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>).

A[edit chassis]

`[edit chassis]` is a configuration mode hierarchy level; the `set date` command is not part of the chassis configuration.

B[edit]

`[edit]` is the top-level configuration mode; the `set date` command is not a configuration command for setting system time.

C[edit system]

`[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.

Duser@router>Correct

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

#Junos CLI#operational mode#configuration mode#set date

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice