<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta content="text/html; charset=utf-8">
</head>
<body>
<style id="outgoing-font-settings">
<!--
#response_container_BBPPID
        {font-family:initial;
        font-size:initial;
        color:initial}
-->
</style>
<meta content="script-src 'self'; img-src http: https: cid: data:;">
<div id="response_container_BBPPID" dir="auto" style="outline:none">
<div name="BB10" id="BB10_response_div_BBPPID" dir="auto" style="width:100%">Aha, I better understand your use case now.</div>
<div name="BB10" id="BB10_response_div_BBPPID" dir="auto" style="width:100%">I didn't realize you were looking for uncommitted changes.</div>
<div name="BB10" id="response_div_spacer_BBPPID" dir="auto" style="width:100%"><br style="display:initial">
</div>
<div id="blackberry_signature_BBPPID" name="BB10" dir="auto">
<div id="_signaturePlaceholder_BBPPID" name="BB10" dir="auto">Sent from my BlackBerry — the most secure mobile device — via the TELUS Network</div>
</div>
</div>
<div id="_original_msg_header_BBPPID" dir="auto">
<table width="100%" style="border-spacing:0px; display:table; outline:none">
<tbody>
<tr>
<td colspan="2" style="padding:initial; font-size:initial; text-align:initial">
<div style="border-right:none; border-bottom:none; border-left:none; border-top:1pt solid rgb(181,196,223); padding:3pt 0in 0in; font-family:Tahoma,"BB Alpha Sans","Slate Pro"; font-size:10pt">
<div id="from"><b>From:</b> peacefull64@hotmail.fr</div>
<div id="sent"><b>Sent:</b> January 24, 2021 11:26 AM</div>
<div id="to"><b>To:</b> emille@abccommunications.com; rancid-discuss@www.shrubbery.net</div>
<div id="subject"><b>Subject:</b> Re : [rancid] Adding JunOS Commands in configure mode</div>
</div>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<div>
<div dir="auto">Yes, it's must be done from configure mode because is not the same information.
<div><br>
</div>
<div>For example, in operational mode, you can compare the active configuration to a previously committed configuration by using the following commands:</div>
<div><br>
</div>
<div>> show configuration | compare revision revision-id</div>
<div><br>
</div>
<div>> show configuration | compare rollback rollback-number</div>
<div><br>
</div>
<div>Similarly in configuration mode, you can compare the candidate configuration to a previously committed configuration by using the following commands:</div>
<div><br>
</div>
<div>> show | compare revision revision-id</div>
<div><br>
</div>
<div>> show | compare rollback rollback-number</div>
<div><br>
</div>
<div>https://www.juniper.net/documentation/en_US/junos/topics/task/operational/junos-xml-protocol-requesting-configuration-comparison.html<br>
<br>
Regards. </div>
</div>
</div>
</body>
</html>