I have sent a couple of e-mails in the past about this topic, and gotten some replies that were helpful, but I am still struggling with this.&nbsp; I have 9500 series MDS switches, running SAN-OS, that I need to archive.&nbsp; Currently I rely on CiscoWorks to do this, which is pretty much the only reason I still have that software in place.<br>
<br>Here are the suggestions I have received, and implemented:<br><br>Modify the bin/rancid file as follows:<br><br>--<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (/^Application and Content Networking Software/) { $type=&quot;CE&quot;; }<br>+ &nbsp;&nbsp;&nbsp;&nbsp; if (/^Cisco Storage Area Networking Operating System/) { $type=&quot;SAN&quot;; }<br clear="all">
--<br><br>--<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; # The ContentEngine lacks a definitive &quot;end of config&quot; marker.&nbsp; If we<br>&nbsp;&nbsp;&nbsp; # know that it is a CE and we have seen at least 5 lines of write term<br>&nbsp;&nbsp;&nbsp; # o/p, we can be reasonably sure that we got the config.<br>
&nbsp;&nbsp;&nbsp; if ($type =~ /^CE$/ &amp;&amp; $linecnt &gt; 5) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $found_end = 1;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return(0);<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>+&nbsp;&nbsp;&nbsp; # The Cisco SAN switch running SANOS lacks a definitive &quot;end of config&quot;<br>+&nbsp;&nbsp;&nbsp; # marker.&nbsp; If we know that it is a SAN switch and we have seen at least 5<br>
+&nbsp;&nbsp;&nbsp; # lines of write term o/p, we can be reasonably sure that we got the config.<br>+&nbsp;&nbsp;&nbsp; if ($type =~ /^SAN$/ &amp;&amp; $linecnt &gt; 5) {<br>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $found_end = 1;<br>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return(1);<br>+&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; return(0);<br>
--<br><br>I have done the above, but it didn&#39;t seem to yield the expected results.&nbsp; Here is my output from a rancid-run:<br><br>Trying to get all of the configs.<br>mds-02-04: End of run not found<br><br>mds-02-01: End of run not found<br>
<br>mds-02-02: End of run not found<br><br>mds-02-03: End of run not found<br><br>&lt;&lt;output ommitted due to redundancy&gt;&gt;<br><br>cvs diff: Diffing .<br>cvs diff: Diffing configs<br>cvs commit: Examining .<br>cvs commit: Examining configs<br>
<br>ending: Wed Apr 30 10:42:09 PDT 2008<br><br><br>The above just loops for each round, and then it fails out.&nbsp; Any suggestions would be greatly appreciated.<br><br>-- <br>Eric Cables