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.
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)- A7% (2)
- B90% (27)
- C3% (1)
Why each option
To transition from the UNIX-based shell prompt to the Junos CLI prompt, you simply execute the 'cli' command.
'run cli' is used to execute a single CLI command from the shell, not to enter the interactive CLI mode.
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.
'start cli' is not a valid command to enter the Junos CLI from the shell prompt.
'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
Community Discussion
No community discussion yet for this question.