<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 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you , I disabled ACL sort and it is working now : )<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Have a nice day<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">pet<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> lavermil@gheek.net [mailto:lavermil@gheek.net]
<b>On Behalf Of </b>Lance Vermilion<br>
<b>Sent:</b> Tuesday, March 29, 2011 5:36 PM<br>
<b>To:</b> Jevos, Peter<br>
<b>Subject:</b> Re: [rancid] Rancid doesn't update some files<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">It looks like you are seeing the effects of the ACLs being sorted. I think there is an option in the rancid.conf to turn off ACL sorting. I am not sure if you turn it off if the "seq <num>" will come back. I
would try turning it off and see what happens.<o:p></o:p></p>
<div>
<p class="MsoNormal">On Tue, Mar 29, 2011 at 8:30 AM, Jevos, Peter <<a href="mailto:Peter.Jevos@oriflame.com">Peter.Jevos@oriflame.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Thank you for your answer Lance</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">Actually there is a big difference between these files, e.g in content. Here is example</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">.new file:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list DENY-2-BGP deny
<a href="http://192.3.0.0/16" target="_blank">192.3.0.0/16</a> le 25</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list DENY-2-BGP deny
<a href="http://192.6.100.0/24" target="_blank">192.6.100.0/24</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list DENY-2-BGP deny
<a href="http://192.196.0.0/16" target="_blank">192.196.0.0/16</a> le 25</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list DENY-2-BGP permit
<a href="http://192.0.0.0/8" target="_blank">192.0.0.0/8</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">!</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT permit
<a href="http://192.10.0.0/20" target="_blank">192.10.0.0/20</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT permit
<a href="http://192.10.1.0/24" target="_blank">192.10.1.0/24</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT permit
<a href="http://192.10.16.0/21" target="_blank">192.10.16.0/21</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT permit
<a href="http://192.10.249.0/24" target="_blank">192.10.249.0/24</a> le 30</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT permit
<a href="http://192.135.0.0/20" target="_blank">192.135.0.0/20</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT permit
<a href="http://192.135.0.0/21" target="_blank">192.135.0.0/21</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT permit
<a href="http://192.135.1.0/24" target="_blank">192.135.1.0/24</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">********************************</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">.raw file</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list DENY-2-BGP seq 10 deny
<a href="http://192.6.100.0/24" target="_blank">192.6.100.0/24</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list DENY-2-BGP seq 20 deny
<a href="http://192.3.0.0/16" target="_blank">192.3.0.0/16</a> le 25</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list DENY-2-BGP seq 30 deny
<a href="http://192.196.0.0/16" target="_blank">192.196.0.0/16</a> le 25</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list DENY-2-BGP seq 100 permit
<a href="http://192.0.0.0/8" target="_blank">192.0.0.0/8</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">!</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 10 permit
<a href="http://192.147.0.0/22" target="_blank">192.147.0.0/22</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 20 permit
<a href="http://192.147.1.0/24" target="_blank">192.147.1.0/24</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 30 permit
<a href="http://192.147.4.0/22" target="_blank">192.147.4.0/22</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 40 permit
<a href="http://192.135.1.0/24" target="_blank">192.135.1.0/24</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 50 permit
<a href="http://192.135.0.0/20" target="_blank">192.135.0.0/20</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 60 permit
<a href="http://192.147.249.0/24" target="_blank">192.147.249.0/24</a> le 30</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 70 permit
<a href="http://192.135.249.0/24" target="_blank">192.135.249.0/24</a> le 30</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 80 permit
<a href="http://192.135.16.0/20" target="_blank">192.135.16.0/20</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">ip prefix-list LAN-NTT seq 90 permit
<a href="http://192.135.32.0/20" target="_blank">192.135.32.0/20</a> le 24</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">The .raw file is u to date, no idea how the .new file was created</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">I’m using newest rancid version and cisco 3825</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D">thanks</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:lavermil@gheek.net" target="_blank">lavermil@gheek.net</a> [mailto:<a href="mailto:lavermil@gheek.net" target="_blank">lavermil@gheek.net</a>]
<b>On Behalf Of </b>Lance Vermilion<br>
<b>Sent:</b> Tuesday, March 29, 2011 5:12 PM<br>
<b>To:</b> Jevos, Peter<br>
<b>Subject:</b> Re: [rancid] Rancid doesn't update some files</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">What do you mean is not correct. what are you seeing as the difference?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">A thought on how to use the proper command on the proper IOS devices types. I.E ASAs have a slightly different command than routers for somethings.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">If a device that is running rancid also has SNMP access to the routers/switches/etc you could certainly do a snmpget for the sysoid and then have rancid use the proper list of commands.
To me this is the most straight forward to make sure you aren't running commands that aren't needed/supported on devices.<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Tue, Mar 29, 2011 at 8:00 AM, Jevos, Peter <<a href="mailto:Peter.Jevos@oriflame.com" target="_blank">Peter.Jevos@oriflame.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
Hi<br>
i'm using rancdid for a months<br>
<br>
however some routers were suddenly stoped to updating<br>
I'm using the comnnand 'show configuration' to download the config<br>
<br>
when i run ./clogin command with the show config commnand, it displays cuurent config<br>
<br>
However when i run rancid-run, it stores not a current config and shows no changes<br>
Part of the rancid file is:<br>
# {'show vlan' => 'ShowVLAN'},<br>
# {'show vlan-switch' => 'ShowVLAN'},<br>
# {'show debug' => 'ShowDebug'},<br>
{'more system:running-config' => 'WriteTerm'}, # ASA/PIX<br>
{'show configuration' => 'WriteTerm'},<br>
{'write term' => 'WriteTerm'},<br>
<br>
Where can be a problem?<br>
In rancid or CVS ?<br>
<br>
thanks<br>
<br>
pet<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I've found out, that when I debug it with ./rancid command, it creates .new and .raw file<br>
<br>
.raw file is correct, but the .new file is not<br>
<br>
What does it mean?<br>
<br>
thanks<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net" target="_blank">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>