Junos
Junos

Comparing rollback files

02.24.09   |  
‎02-24-2009 10:58 AM

How do I compare two rollback configurations. I tried this and didn't show me the differences between the two files:

 

lab@s1> file compare files /config/juniper.conf.gz /config/juniper.conf.1.gz
Binary files /config/juniper.conf.gz and /config/juniper.conf.1.gz differ

 

THANKS!!!

 

Ahsoka

1 REPLY
Highlighted
Junos

Re: Comparing rollback files

02.24.09   |  
‎02-24-2009 11:02 AM

From operational command mode (not edit).  Do:

 

  show system commit

 

That will provide you with the rollback number of the configuration file to use in the next command.  Then do:

 

  show system rollback compare <rollback#1> <rollback#2>

 

Regards,

Ben