JN0-102 · Question #383
Which parameter must be included when executing operational mode commands from within configuration mode?
The correct answer is A. run. To execute an operational mode command while in Junos configuration mode, the run keyword must be prepended to the command. This allows administrators to check operational status or perform diagnostics without exiting configuration mode.
Question
Which parameter must be included when executing operational mode commands from within configuration mode?
Options
- Arun
- Bprompt
- Cinsert
- Ddo
How the community answered
(33 responses)- A91% (30)
- B6% (2)
- C3% (1)
Why each option
To execute an operational mode command while in Junos configuration mode, the `run` keyword must be prepended to the command. This allows administrators to check operational status or perform diagnostics without exiting configuration mode.
In Junos OS, the `run` command is used as a prefix when executing operational mode commands (e.g., `show`, `ping`, `traceroute`) from within configuration mode. This allows administrators to perform diagnostics or verify settings without having to exit configuration mode.
`prompt` is related to changing the command-line prompt and is not used to execute operational commands from configuration mode.
`insert` is a configuration mode command used to place new configuration statements at a specific point within the hierarchy.
`do` is a command used in some other CLI environments (like Cisco IOS) for a similar purpose, but it is not the keyword used in Junos OS.
Concept tested: Junos CLI operational commands in config mode
Source: https://www.juniper.net/documentation/us/en/software/junos/cli/topics/concept/cli-modes-overview.html
Topics
Community Discussion
No community discussion yet for this question.