Bitzu

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.

Source: https://www.juniper.net/documentation/us/en/software/junos/cli/topics/topic-map/configure-command.html

Practice questions

Single choice

Which prompt indicates that you are in Junos configuration mode?

  1. user@router>
  2. user@router#
  3. user@router%
  4. user@router$
Show answer

Answer: B. user@router#

The # ending marks configuration mode. The > ending is operational mode, and % is the UNIX shell.

Select all that apply

Which commands change your current level in the configuration hierarchy?

  1. edit
  2. up
  3. top
  4. commit
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module