<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Jason,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks, I found the related command table and codes, then removed the corresponding lines, references and now it work!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Here a diff for those interested about what has been removed:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">diff -ur rancid-2.3.8.orig/bin/francid.in rancid-2.3.8/bin/francid.in<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">--- rancid-2.3.8.orig/bin/francid.in 2011-03-09 12:19:15.000000000 -0500<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+++ rancid-2.3.8/bin/francid.in 2012-08-27 10:42:39.000000000 -0400<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">@@ -244,22 +244,6 @@<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> return(0);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-# This routine parses "show flash"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-sub ShowFlash {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- print STDERR " In ShowFlash: $_" if ($debug);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- while (<INPUT>) {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- tr/\015//d;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- last if (/^$prompt/);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- next if (/^\s*$/);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- return(1) if (/^\s+\^$/); # edgeiron invalid command<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- ProcessHistory("FLASH","","","!Flash: $_");<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- ProcessHistory("","","","!\n");<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- return;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"># This routine parses "show module"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">sub ShowModule {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> print STDERR " In ShowModule: $_" if ($debug);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">@@ -418,7 +402,6 @@<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> {'show version' => 'ShowVersion'},<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> {'show chassis' => 'ShowChassis'},<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> {'show module' => 'ShowModule'},<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">- {'show flash' => 'ShowFlash'},<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> {'write term' => 'WriteTerm'},<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> {'show running-config' => 'WriteTerm'},<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jason Lewis [mailto:Jason.Lewis@TRILOGYFF.com]
<br>
<b>Sent:</b> August-27-12 10:39 AM<br>
<b>To:</b> Gerhard Mourani; rancid-discuss@shrubbery.net<br>
<b>Subject:</b> RE: Avoid diff when flash memory change<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Gerhard,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">I just had to do something similar for our Nexus switches this morning; you need to comment the relevant command(s) out of the module for your switch. Just edit the module (found in ~rancid/bin),
find the command table, and comment out the command that’s generating the output you don’t want anymore. Unfortunately, I haven’t dealt with Foundry switches before, so I can’t help you with the command itself.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Good luck with it, and let us know if you need additional help.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Jason Lewis | Senior Server Specialist<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Phone:614.497.1994 | Mobile:614.657.2300<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">email: <a href="mailto:Jason.Lewis@trilogyff.com">
Jason.Lewis@trilogyff.com</a> <o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Book Antiqua","serif";color:#029024"><img border="0" width="158" height="44" id="Picture_x0020_1" src="cid:image001.png@01CD8441.04F18450" alt="Description: Description: Description: Description: Trilogy Logo color"></span></b><span lang="EN-US" style="color:#1F497D"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:rancid-discuss-bounces@shrubbery.net">rancid-discuss-bounces@shrubbery.net</a>
<a href="mailto:[mailto:rancid-discuss-bounces@shrubbery.net]">[mailto:rancid-discuss-bounces@shrubbery.net]</a>
<b>On Behalf Of </b>Gerhard Mourani<br>
<b>Sent:</b> Monday, August 27, 2012 10:13 AM<br>
<b>To:</b> <a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a><br>
<b>Subject:</b> [rancid] Avoid diff when flash memory change<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Hello List,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve a small issue with Foundry/Brocade devices and Rancid (latest version).<o:p></o:p></p>
<p class="MsoNormal">Every time flash bytes change on the Foundry/Brocade devices, Rancid generate a new diff and send alerts on it generating almost 10 messages per day just for that.<o:p></o:p></p>
<p class="MsoNormal">The question is -> How to avoid diff when flash memory change with Foundry/Brocade devices (see example below)?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">- !Flash: Bytes Used : 9269248 bytes<o:p></o:p></p>
<p class="MsoNormal">- !Flash: Bytes Free : 4093083648 bytes<o:p></o:p></p>
<p class="MsoNormal">+ !Flash: Bytes Used : 9273344 bytes<o:p></o:p></p>
<p class="MsoNormal">+ !Flash: Bytes Free : 4093079552 bytes<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray"><br>
Scanned by</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<strong><span style="font-family:"Arial","sans-serif";color:#4F1F91">MailMarshal</span></strong>
<span style="color:gray">- M86 Security's comprehensive email content security solution.</span><o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<hr size="2" width="100%" align="center">
</span></div>
</div>
</body>
</html>