Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

Compare archived configuration files



Article ID: KB9405 KB Last Updated: 04 Mar 2017Version: 5.0
How to compare the content of two archived configuration files?

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;
-    }


For further information check the online documention.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search