[rancid] Re : Adding JunOS Commands in configure mode
Emille Blanc
emille at abccommunications.com
Mon Jan 25 02:48:27 UTC 2021
Aha, I better understand your use case now.
I didn't realize you were looking for uncommitted changes.
Sent from my BlackBerry — the most secure mobile device — via the TELUS Network
From: peacefull64 at hotmail.fr
Sent: January 24, 2021 11:26 AM
To: emille at abccommunications.com; rancid-discuss at www.shrubbery.net
Subject: Re : [rancid] Adding JunOS Commands in configure mode
Yes, it's must be done from configure mode because is not the same information.
For example, in operational mode, you can compare the active configuration to a previously committed configuration by using the following commands:
> show configuration | compare revision revision-id
> show configuration | compare rollback rollback-number
Similarly in configuration mode, you can compare the candidate configuration to a previously committed configuration by using the following commands:
> show | compare revision revision-id
> show | compare rollback rollback-number
https://www.juniper.net/documentation/en_US/junos/topics/task/operational/junos-xml-protocol-requesting-configuration-comparison.html
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20210125/9bb8aba1/attachment.htm>
More information about the Rancid-discuss
mailing list