Description

How to compare the content of two archived configuration files?

Symptoms


Solution

To compare archived configuration file you can use the command  show system rollback <number> compare <number> .
 

The below example shows how to check the time-stamps of the archived configuration files and compare the content of two files:

user@ankara-re0> show configuration | compare rollback ?
Possible completions:
  0                    2008-05-26 14:50:38 CEST by georg via cli commit synchronize
  1                    2008-05-26 14:45:58 CEST by max via cli commit synchronize
  ...

  14                   2008-05-16 14:15:31 CEST by fritz via cli
  15                   2008-05-14 18:24:33 CEST by georg via cli commit synchronize
  16                    2008-05-14 18:16:14 CEST by akram via cli
  17                    2008-05-14 11:43:51 CEST by georg via cli
  18                   2008-05-13 22:35:50 CEST by georg via cli
  ...
---(more 70%)---[abort]

user@ankara-re0> show system rollback 17 compare 16   
[edit firewall filter PBF]
-    term 0 {
-        from {
-            interface fe-1/0/0;
-        }
-        then routing-instance RN;
-    }

user@ankara-re0>


For further information check the online documention.

Related Information