It would be nice if a future RANCID release included ignore options in the rancid.conf file, or by some other intuitive means. <br><br>Is this a possibility?<br><br><div class="gmail_quote">On Mon, Mar 3, 2008 at 7:12 AM, Lance Vermilion <<a href="mailto:rancid@gheek.net">rancid@gheek.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Here is how it has been done in the past. Refer to this thread.<br>
<br>
<a href="http://www.shrubbery.net/pipermail/rancid-discuss/2006-June/001542.html" target="_blank">http://www.shrubbery.net/pipermail/rancid-discuss/2006-June/001542.html</a><br>
<br>
Modifying control_rancid with this line might solve your issue.<br>
<br>
--ignore-matching-lines='^callhome$'<br>
<br>
cvs -f diff -U 4 --ignore-matching-lines='^callhome$' | sed -e '/^RCS<br>
file: /d' -e '/^--- /d' -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /'<br>
>$TMP.diff<br>
<br>
<br>
Similar solution is in this thread too.<br>
<a href="http://www.shrubbery.net/pipermail/rancid-discuss/2006-May/001503.html" target="_blank">http://www.shrubbery.net/pipermail/rancid-discuss/2006-May/001503.html</a><br>
<br>
Note I have not verified this is possible with any version of rancid,<br>
just sharing what others have shared in the past.<br>
<br>
-Lance<br>
<div><div></div><div class="Wj3C7c"><br>
On 3/3/08, <a href="mailto:Mark.Favas@csiro.au">Mark.Favas@csiro.au</a> <<a href="mailto:Mark.Favas@csiro.au">Mark.Favas@csiro.au</a>> wrote:<br>
><br>
><br>
> Hi,<br>
><br>
> I'm trying to use rancid on a Cisco MDS 9124 SAN switch running SAN-OS ver<br>
> 3.1(3a). Initially I had a problem with the WriteTerm subroutine of the<br>
> rancid script not recognising when the "end of config" had been reached. By<br>
> making a change similar to that for the ContentEngine, I got past that<br>
> problem (happy to post diffs if there's any interest). Now I regularly get<br>
> emails that the config has changed because the order of some of the output<br>
> lines changes (below - the "callhome" line flips about). Has anyone on the<br>
> list got a Cisco SAN switch working with rancid?<br>
><br>
> Thanks,<br>
><br>
> Mark Favas<br>
><br>
><br>
> no snmp-server enable traps vrrp<br>
> snmp-server enable traps license<br>
> - callhome<br>
> fcalias name SH1_2_2 vsan 1<br>
> member pwwn 21:01:00:1b:32:38:50:10<br>
><br>
> fcalias name SH2_2_2 vsan 1<br>
> @@ -114,8 +113,9 @@<br>
><br>
> fcalias name L180_DR_1 vsan 1<br>
> member pwwn 50:01:04:f0:00:58:e7:af<br>
><br>
> + callhome<br>
> zone name SH1_2_2_ZONE vsan 1<br>
> member fcalias SH1_2_2<br>
</div></div>> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net">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><br>
><br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">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><br>
</blockquote></div><br><br clear="all"><br>-- <br>Eric Cables