[rancid] Re: Cisco 9124 SAN Switch

Lance Vermilion rancid at gheek.net
Mon Mar 3 15:12:27 UTC 2008

Here is how it has been done in the past. Refer to this thread.


Modifying control_rancid with this line might solve your issue.


cvs -f diff -U 4 --ignore-matching-lines='^callhome$' | sed -e '/^RCS
file: /d' -e '/^--- /d' -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /'

Similar solution is in this thread too.

Note I have not verified this is possible with any version of rancid,
just sharing what others have shared in the past.


On 3/3/08, Mark.Favas at csiro.au <Mark.Favas at csiro.au> wrote:
> Hi,
> I'm trying to use rancid on a Cisco MDS 9124 SAN switch running SAN-OS ver
> 3.1(3a). Initially I had a problem with the WriteTerm subroutine of the
> rancid script not recognising when the "end of config" had been reached. By
> making a change similar to  that for the ContentEngine, I got past that
> problem (happy to post diffs if there's any interest). Now I regularly get
> emails that the config has changed because the order of some of the output
> lines changes (below - the "callhome" line flips about). Has anyone on the
> list got a Cisco SAN switch working with rancid?
> Thanks,
> Mark Favas
>   no snmp-server enable traps vrrp
>   snmp-server enable traps license
> - callhome
>   fcalias name SH1_2_2 vsan 1
>       member pwwn 21:01:00:1b:32:38:50:10
>   fcalias name SH2_2_2 vsan 1
> @@ -114,8 +113,9 @@
>   fcalias name L180_DR_1 vsan 1
>       member pwwn 50:01:04:f0:00:58:e7:af
> + callhome
>   zone name SH1_2_2_ZONE vsan 1
>       member fcalias SH1_2_2
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

More information about the Rancid-discuss mailing list