Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.


Compares two sets of configuration information.

compare [ [ rev-num1 ] rev-num ]

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.

A configuration file revision to be compared.
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