[rancid] brocade vdx backups
Erik Muller
erikm at buh.org
Wed Apr 26 13:23:59 UTC 2017
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:
https://github.com/ermuller/rancid-stuff
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:
> 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
> admin at 10.65.65.13 <mailto:admin at 10.65.65.13>'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
> admin at 10.65.65.13 <mailto:admin at 10.65.65.13>'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 <http://10.65.65.13>: missed cmd(s): all commands
> 10.65.65.13 <http://10.65.65.13>: End of run not found
> 10.65.65.13 flogin error: Error: TIMEOUT reached
> !
> =====================================
> Getting missed routers: round 1.
> 10.65.65.13 <http://10.65.65.13>: missed cmd(s): all commands
> 10.65.65.13 <http://10.65.65.13>: End of run not found
> 10.65.65.13 flogin error: Error: TIMEOUT reached
> !
> =====================================
> Getting missed routers: round 2.
> 10.65.65.13 <http://10.65.65.13>: missed cmd(s): all commands
> 10.65.65.13 <http://10.65.65.13>: End of run not found
> 10.65.65.13 flogin error: Error: TIMEOUT reached
> !
> =====================================
> Getting missed routers: round 3.
> 10.65.65.13 <http://10.65.65.13>: missed cmd(s): all commands
> 10.65.65.13 <http://10.65.65.13>: End of run not found
> 10.65.65.13 flogin error: Error: TIMEOUT reached
> !
> =====================================
> Getting missed routers: round 4.
> 10.65.65.13 <http://10.65.65.13>: missed cmd(s): all commands
> 10.65.65.13 <http://10.65.65.13>: 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
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
More information about the Rancid-discuss
mailing list