nerdexam
Juniper

JN0-102 · Question #354

Which command would correctly set a router's date and time?

The correct answer is C. > set date 199708290900.00. To manually set a Juniper router's date and time, the set date command is used in operational mode. The command requires the date and time to be specified in the YYYYMMDDHHMM.SS format.

User Interface Options

Question

Which command would correctly set a router's date and time?

Options

  • A

    set date 199708290900.00

  • B

    set system time 199708290900.00

  • C
    set date 199708290900.00
  • D
    set system time 199708290900.00

How the community answered

(25 responses)
  • A
    4% (1)
  • C
    96% (24)

Why each option

To manually set a Juniper router's date and time, the `set date` command is used in operational mode. The command requires the date and time to be specified in the `YYYYMMDDHHMM.SS` format.

A# set date 199708290900.00

This command is in configuration mode (`#`), but setting the date/time is an operational task and not part of the persistent configuration.

B# set system time 199708290900.00

This command is in configuration mode (`#`) and uses incorrect syntax for setting the system time.

C> set date 199708290900.00Correct

The `set date` command is used in operational mode (indicated by `>`) to manually set the system's date and time, using the format `YYYYMMDDHHMM.SS`.

D> set system time 199708290900.00

While in operational mode, the command `set system time` is not the correct syntax; the correct command is `set date`.

Concept tested: Setting system date and time

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/topic-map/junos-os-basics-date-time.html

Topics

#system time#set date#Junos CLI#operational mode

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice