JN0-102 · Question #392
Which command is used to validate the syntax of a configuration without applying the configuration?
The correct answer is A. commit check. To validate the syntax of a configuration without applying it to the device, the commit check command is used.
Question
Which command is used to validate the syntax of a configuration without applying the configuration?
Options
- Acommit check
- Bcommit confirmed
- Ccommit synchronize
- Dcommit and-quit
How the community answered
(42 responses)- A93% (39)
- B2% (1)
- C5% (2)
Why each option
To validate the syntax of a configuration without applying it to the device, the `commit check` command is used.
The `commit check` command is specifically designed to perform a syntax and semantic validation of the candidate configuration without activating it. This allows administrators to verify the configuration's correctness before making it operational, preventing potential service disruptions.
The `commit confirmed` command applies the configuration, but automatically rolls it back after a specified timeout if not confirmed, which is not merely checking syntax.
The `commit synchronize` command applies and synchronizes the configuration across multiple Routing Engines, thus activating the changes.
The `commit and-quit` command applies the configuration and then exits configuration mode, making the changes active.
Concept tested: Junos configuration commit validation
Source: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/topic-map-cli-config-modes.html
Topics
Community Discussion
No community discussion yet for this question.