Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and 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