nerdexam
Juniper

JN0-102 · Question #141

Which command do you use to go from the shell prompt to the CLI prompt?

The correct answer is B. cli. To transition from the UNIX-based shell prompt to the Junos CLI prompt, you simply execute the 'cli' command.

User Interface Options

Question

Which command do you use to go from the shell prompt to the CLI prompt?

Options

  • Arun cli
  • Bcli
  • Cstart cli
  • Dedit

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    90% (27)
  • C
    3% (1)

Why each option

To transition from the UNIX-based shell prompt to the Junos CLI prompt, you simply execute the 'cli' command.

Arun cli

'run cli' is used to execute a single CLI command from the shell, not to enter the interactive CLI mode.

BcliCorrect

The 'cli' command is used to exit the shell environment and enter the Junos OS command-line interface prompt, allowing access to operational and configuration modes.

Cstart cli

'start cli' is not a valid command to enter the Junos CLI from the shell prompt.

Dedit

'edit' is a command used within the Junos CLI to enter configuration mode, not to transition from the shell to the CLI.

Concept tested: Junos shell to CLI access

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/concept/cli-login-shell.html

Topics

#CLI access#shell prompt#Junos modes

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice