Bitzu

JN0-106 ยท The Junos CLI and configuration model

Candidate versus active configuration

Candidate versus active configuration, commit, commit check, commit confirmed, commit and-quit, and how exclusive or private editing affects other users.

Key points

  • Active configuration: what the device runs now.
  • Candidate: the copy you edit; nothing takes effect until commit.
  • commit check: validates without activating.
  • commit confirmed: activates, reverts after 10 minutes by default unless confirmed by another commit.
  • commit and-quit: commits, then leaves configuration mode.
  • configure: shared candidate; configure exclusive: locks it; configure private: private copy per user.

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

Practice questions

Single choice

Which configuration does the device actually run and use to forward traffic?

  1. The candidate configuration
  2. The active configuration
  3. The rescue configuration
  4. The rollback 49 configuration
Show answer

Answer: B. The active configuration

Only the active (committed) configuration is in force. The candidate is a working copy until committed.

Select all that apply

Which statements about configure exclusive are true?

  1. Only the user holding the lock can commit
  2. Other users can still enter configuration mode
  3. Changes by other users are kept when they exit
  4. Each user gets a private copy of the candidate
  5. Exiting with the yes option discards uncommitted changes
Show answer

Answer: A. Only the user holding the lock can commit, B. Other users can still enter configuration mode, E. Exiting with the yes option discards uncommitted changes

Exclusive locks the shared candidate: only the lock holder commits, others may still enter but their changes are discarded, and exiting with yes drops uncommitted edits. It does not give private copies; that is configure private.

True or false

The 'commit check' command applies the candidate configuration and makes it active if there are no errors.

Show answer

Answer: False

False. commit check only validates the candidate; you still need commit to activate it.

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