JN0-106 ยท The Junos CLI and configuration model
Junos CLI modes and navigation
Operational versus configuration mode, prompts, entering and leaving configuration mode, and edit, up, top, exit and run for moving around the hierarchy.
Key points
- Operational mode (> prompt): monitoring and troubleshooting with show, ping, request.
- Configuration mode (# prompt): entered with configure; you edit the candidate configuration.
- [edit ...] banner: shows your current hierarchy level.
- Moving: edit (go down), up (one level), top (to the root), exit (leave).
- run: executes an operational command without leaving configuration mode.
Practice questions
Which prompt indicates that you are in Junos configuration mode?
- user@router>
- user@router#
- user@router%
- user@router$
Show answer
Answer: B. user@router#
The # ending marks configuration mode. The > ending is operational mode, and % is the UNIX shell.
Which commands change your current level in the configuration hierarchy?
- edit
- up
- top
- commit
- run
Show answer
Answer: A. edit, B. up, C. top
edit descends, up climbs one level, top returns to the root. commit activates changes and run executes operational commands; neither moves you.
The 'top' command returns you to the root of the configuration hierarchy and also takes you back to operational mode.
Show answer
Answer: False
False. top only moves to the [edit] root and you stay in configuration mode. Leaving configuration mode takes exit (at the top level) or exit configuration-mode.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
