JN0-102 · Question #163
You want to log in to the router and make a configuration change. After logging in as the root user, what is the next command you must enter?
The correct answer is D. cli. After logging into a Junos OS device, you must enter the cli command to access the command-line interface and begin interacting with the system.
Question
You want to log in to the router and make a configuration change. After logging in as the root user, what is the next command you must enter?
Options
- Aenable
- Bconfigure
- Cedit
- Dcli
How the community answered
(17 responses)- A6% (1)
- B6% (1)
- D88% (15)
Why each option
After logging into a Junos OS device, you must enter the `cli` command to access the command-line interface and begin interacting with the system.
`enable` is a command used in Cisco IOS to enter privileged EXEC mode, not Junos OS.
`configure` is used to enter configuration mode, but `cli` must be entered first to get to the operational mode in Junos OS.
`edit` is a command used within configuration mode to navigate the configuration hierarchy, not to initially access the CLI.
In Junos OS, after successfully logging in to the device (e.g., via SSH or console), the initial shell is typically a Unix-like shell, not the Junos CLI directly. To enter the Junos OS operational mode and then proceed to configuration mode, you must first execute the `cli` command.
Concept tested: Initial access to Junos CLI after login
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/topic-map/cli-junos-overview.html#d19e131
Topics
Community Discussion
No community discussion yet for this question.