<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Yes exactly, because there was a case of an electrical crash and it committed the standby conf that someone hadn't finished and it was a bad conf
<div><br>
</div>
The idea is to track the possible conf in standby so that in case of a crash we are a little more certain.<br>
</div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
For this I need to enter configure mode to execute the command: "show | compare"<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;"><b>De :</b> Emille Blanc <emille@abccommunications.com><br>
<b>Envoyé :</b> lundi 25 janvier 2021 02:48<br>
<b>À :</b> Dede . <peacefull64@hotmail.fr>; rancid-discuss@www.shrubbery.net <rancid-discuss@www.shrubbery.net><br>
<b>Objet :</b> Re: Re : [rancid] Adding JunOS Commands in configure mode</font>
<div> </div>
</div>
<div>
<meta content="script-src 'self'; img-src http: https: cid: data:;">
<div id="x_response_container_BBPPID" dir="auto" style="font-family: initial; font-size: initial; outline: none; color: initial;">
<div name="x_BB10" id="x_BB10_response_div_BBPPID" dir="auto" style="width:100%">
Aha, I better understand your use case now.</div>
<div name="x_BB10" id="x_BB10_response_div_BBPPID" dir="auto" style="width:100%">
I didn't realize you were looking for uncommitted changes.</div>
<div name="x_BB10" id="x_response_div_spacer_BBPPID" dir="auto" style="width:100%">
<br style="display:initial">
</div>
<div id="x_blackberry_signature_BBPPID" name="x_BB10" dir="auto">
<div id="x__signaturePlaceholder_BBPPID" name="x_BB10" dir="auto">Sent from my BlackBerry — the most secure mobile device — via the TELUS Network</div>
</div>
</div>
<div id="x__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="x_from"><b>From:</b> peacefull64@hotmail.fr</div>
<div id="x_sent"><b>Sent:</b> January 24, 2021 11:26 AM</div>
<div id="x_to"><b>To:</b> emille@abccommunications.com; rancid-discuss@www.shrubbery.net</div>
<div id="x_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>
</div>
</body>
</html>