[j-nsp] How to show difference between current config sand previousversion.

Harshit Kumar harshit at juniper.net
Thu Apr 8 23:13:40 EDT 2004


Hi joe,

You can use this command in edit mode

[edit]# show |compare rollback <number> 

Or in command mode use this one

> show configuration |compare rollback <number> 

To compare just the last config (rollback 0) use

show configuration |compare 


Which JUNOS version are you using ?


Regards
Harshit

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of joe mcguckin
Sent: Thursday, April 08, 2004 7:51 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] How to show difference between current config sand
previousversion.



Does this have to be done in edit mode?

>From command mode I get:

joe at gw.pao> show configuration | compare
/config/juniper.conf:2:(6) syntax error: system
/config/juniper.conf:51:(1) error recovery ignores input until this
point: }
/config/juniper.conf:56:(1) error recovery ignores input until this
point: }
/config/juniper.conf:480:(1) error recovery ignores input until this
point: }
/config/juniper.conf:485:(1) error recovery ignores input until this
point: }
/config/juniper.conf:554:(1) error recovery ignores input until this
point: }
/config/juniper.conf:941:(1) error recovery ignores input until this
point: }
/config/juniper.conf:1430:(1) error recovery ignores input until this
point: }
/config/juniper.conf:1456:(1) error recovery ignores input until this
point: }

_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list