Active Configuration: In junos OS, the new configuration changes that we actually made can be compared with an active configuration that is currently running on our junos devices. In order to compare the candidate configuration with an active configuration, 'show | compare' command is used in the configuration mode on juniper device. After entering this command, The plus sign represents variables in the candidate configuration that are not present in the active configuration; we've added them to the file. Whereas, the minus sign shows that we've deleted variables from the file.
Candidate Configuration: We can view the candidate configuration that is present on our juniper device from configuration mode hierarchy. Candidate configuration allows us to make configuration changes without causing operational changes to the current operating configuration. In order to write the current candidate configuration to the permanent storage, we enter a save command along with the path to locate the candidate configuration. We use commit command on configuration mode hierarchy in order to activate candidate configuration. After we enter the commit command, candidate configuration becomes the active configuration.
"Configure private" allows us to enter into the private configuration mode where every user have their own private candidate configuration. Also, when a user commits, only the users own changes are commited.
Commit synchronize command is used when we have two routing engine and we need to apply the candidate configuration to both routing engine. This option is helpful in the event of a Routing Engine failure; the backup Routing Engine now has the latest operational parameters in the network.
The plus sign represents variables in the candidate configuration that are not present in the active configuration; we've added them to the file. Whereas, the minus sign shows that we've deleted variables from the file.