compare
Compares two sets of configuration information.
When used with no option, the working and active (running) configuration are compared. When only one revision number is specified, the system compares the working configuration to the specified revision.
- rev-num
- A configuration file revision to be compared.
- rev-num1
- Another configuration file revision to be compared.
Configuration mode
Use this command to compare two configurations while in configuration mode.
You can see the list of configuration file revisions by using show system commit in operational mode (use run show system commit in configuration mode).
The following example shows the working and active configurations being compared on R1.
vyatta@R1# compare
[edit system]
+options {
+ reboot-on-panic true
+}
[edit]
vyatta@R1#