<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I wrote a vdx-working module that I contributed back in Oct 2016,
but not sure what the current state of it is.</p>
<p>It works with rancid 3.4.1</p>
<p>Below is my etc/rancid.types.conf excerpt<br>
</p>
<p>as you can see, brcdvcs uses the a10login module which works fine
(I didn't feel like reinventing the wheel here, and that worked)</p>
<p>and I created a new bcrdvcs and bcrdicx type. You'll want to
change the rbridge-id's to match your stack members. I stopped
short of trying to invent something generic to solve this
particular puzzle.</p>
<p><br>
</p>
<p>attached is the modified brocade.pm which gets called for vcs.</p>
<p>icx uses the ios module.</p>
<p><br>
</p>
<p>brcdicx;script;rancid -t brcdicx<br>
brcdicx;login;clogin<br>
brcdicx;module;ios<br>
brcdicx;inloop;ios::inloop<br>
brcdicx:command;rancid::RunCommmand;skip-page-display<br>
brcdicx;command;ios::ShowVersion;show version <br>
brcdicx;command;ios::WriteTerm;show chassis<br>
brcdicx;command;ios::WriteTerm;show running-config<br>
<br>
# Brocade VCS 10g/40g<br>
brcdvcs;script;rancid -t brcdvcs<br>
brcdvcs;login;a10login<br>
brcdvcs;module;brocade<br>
brcdvcs;inloop;brocade::inloop<br>
brcdvcs;command;brocade::ShowVersion;show version all-partitions<br>
brcdvcs;command;brocade::ShowLicense;show license<br>
brcdvcs;command;brocade::ShowRasLicense;show logging raslog
rbridge-id 11<br>
brcdvcs;command;brocade::ShowRasLicense;show logging raslog
rbridge-id 12<br>
brcdvcs;command;brocade::ShowVcs;show vcs detail<br>
brcdvcs;command;brocade::ShowVlan;show vlan brief<br>
brcdvcs;command;brocade::ShowSnapshots;show config snapshot
rbridge-id 1<br>
brcdvcs;command;brocade::ShowFabric;show virtual-fabric status<br>
brcdvcs;command;brocade::ShowFabric;show fabric all<br>
brcdvcs;command;brocade::ShowSupport;show support<br>
brcdvcs;command;brocade::ShowMonitor;show system monitor<br>
brcdvcs;command;brocade::ShowConfig;show running-config<br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 4/26/2017 9:23 AM, Erik Muller
wrote:<br>
</div>
<blockquote cite="mid:b7f6e5c0-9ede-123a-8918-6d80a02b3dd3@buh.org"
type="cite">
<pre wrap="">VDXes are a very different codebase than a lot of the other foundry/brocade
gear, and they have a whole new set of quirks as a result. IIRC the
biggest annoyance for rancid is that they don't have an end-of-config marker.
I've gotten it working for VDXes before, my version is here:
<a class="moz-txt-link-freetext" href="https://github.com/ermuller/rancid-stuff">https://github.com/ermuller/rancid-stuff</a>
I haven't tested it widely enough to try to integrate it properly upstream,
but if you wanted to give that a try, I'd appreciate any feedback.
-e
On 4/25/17 23:57 , Ross [Eve IT] wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I've been scratching my head for the last few days trying to figure out how
to get these backups working.
We have a working installation of rancid on debian jessie with no issues.
jessie backports. 3.6.2-2
A combination of cisco and brocade kit, brocade (ICX series) uses the
foundry module just fine.
However the VDX switches are just not backing up.
I've tried both foundry and cisco.
However I can login, issue commands, etc..
:~$ bin/clogin 10.65.65.13
10.65.65.13
spawn ssh -x -l admin 10.65.65.13
<a class="moz-txt-link-abbreviated" href="mailto:admin@10.65.65.13">admin@10.65.65.13</a> <a class="moz-txt-link-rfc2396E" href="mailto:admin@10.65.65.13"><mailto:admin@10.65.65.13></a>'s password:
Welcome to the Brocade Network Operating System Software
admin connected from 10.0.250.18 using ssh on vdx11-1
vdx11-1#
:~$bin/clogin -c "show vcs" 10.65.65.13
10.65.65.13
spawn ssh -x -l admin 10.65.65.13
<a class="moz-txt-link-abbreviated" href="mailto:admin@10.65.65.13">admin@10.65.65.13</a> <a class="moz-txt-link-rfc2396E" href="mailto:admin@10.65.65.13"><mailto:admin@10.65.65.13></a>'s password:
Welcome to the Brocade Network Operating System Software
admin connected from 10.0.250.18 using ssh on vdx11-1
vdx11-1#
vdx11-1# terminal length 0
Successfully set This Session Terminal Length to 0.
vdx11-1# terminal width 132
-----------------------^
syntax error: unknown argument.
vdx11-1# show vcs
Config Mode : Distributed
VCS Mode : Logical Chassis
VCS ID : 1
VCS GUID : 54f28a13-7c4b-4516-8198-cafaf637b393
Total Number of Nodes : 4
Rbridge-Id WWN Management IP VCS Status
Fabric Status HostName
--------------------------------------------------------------------------------------------------------------
1 >12:02:52:EC:1A:38:22:4C* 10.65.65.10 Online
Online vdx11-1
2 12:01:5C:EC:1V:3C:F2:AS 10.65.65.11 Online
Online vdx11-2
3 12:04:50:EB:1A:34:E4:90 10.65.65.12 Online
Online vdx12-1
4 12:03:C4:F5:7C:3S:BA:54 10.65.65.14 Online
Online vdx12-2
vdx11-1#exit
Connection to 10.65.65.13 closed.
Logs;
starting: Wednesday 26 April 13:45:12 AEST 2017
cvs add: `10.65.65.13' already exists, with version number 1.1
Added 10.65.65.13
Trying to get all of the configs.
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: missed cmd(s): all commands
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: End of run not found
10.65.65.13 flogin error: Error: TIMEOUT reached
!
=====================================
Getting missed routers: round 1.
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: missed cmd(s): all commands
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: End of run not found
10.65.65.13 flogin error: Error: TIMEOUT reached
!
=====================================
Getting missed routers: round 2.
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: missed cmd(s): all commands
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: End of run not found
10.65.65.13 flogin error: Error: TIMEOUT reached
!
=====================================
Getting missed routers: round 3.
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: missed cmd(s): all commands
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: End of run not found
10.65.65.13 flogin error: Error: TIMEOUT reached
!
=====================================
Getting missed routers: round 4.
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: missed cmd(s): all commands
10.65.65.13 <a class="moz-txt-link-rfc2396E" href="http://10.65.65.13"><http://10.65.65.13></a>: End of run not found
10.65.65.13 flogin error: Error: TIMEOUT reached
!
cvs diff: Diffing .
cvs diff: Diffing configs
cvs commit: Examining .
cvs commit: Examining configs
/var/lib/rancid/CVS/mel/router.db,v <-- router.db
new revision: 1.4; previous revision: 1.3
ending: Wednesday 26 April 13:53:02 AEST 2017
Any help greatly appreciated.
Thanks in advance !
_______________________________________________
Rancid-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a>
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
Rancid-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<table>
<tbody>
<tr>
<td style="padding-left: 20px" width="90%">Doug Hughes<br>
Keystone NAP<br>
Fairless Hills, PA<br>
1.844.KEYBLOCK (539.2562)</td>
<td style="align: right;padding-right: 20px"><img
src="cid:part1.7D4550BB.DBCC874A@keystonenap.com">
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>