[rancid] Brocade TurboIron24

Pedrosi, Derek G. pedrosi at millercanfield.com
Mon Aug 3 19:23:19 UTC 2015


Yes.
When I manually logon to my devices (Cisco and Brocade) with said service account I am dropped into an admin command prompt (#).



derek


-----Original Message-----
From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Alan McKinnon
Sent: Monday, August 03, 2015 3:20 PM
To: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Brocade TurboIron24

I'd like to check we're all on the same page with regard to autoenable, it's a topic that seems to cause much confusion.

It's used when the device enables that user automatically on login with no need to explicitly run the enable command.

Are all your devices (with the exception of
DC-Cisco5525x.network.xxxx.com) set up to behave like that?


On 03/08/2015 16:42, Pedrosi, Derek G. wrote:
> My sanitized .cloginrc:
> 
>  
> 
> root at rancid:/var/lib/rancid# head -50 .cloginrc
> 
> #XXXX
> 
>  
> 
> add method * {ssh}
> 
> add user * svc_rancid
> 
> add password * StandPW EnablePW
> 
> add autoenable 1
> 
>  
> 
> add autoenable DC-Cisco5525x.network.xxxx.com 0
> 
>  
> 
> ----------------------------------------------------------------------
> --
> 
> *Derek G Pedrosi*| Manager of Technology Infrastructure
> 
> *Miller Canfield*
> Detroit, Michigan 48226 (USA)
> 
> ----------------------------------------------------------------------
> --
> 
>  
> 
>  
> 
> *From:*Nick Hilliard [mailto:nick at foobar.org]
> *Sent:* Monday, August 03, 2015 10:29 AM
> *To:* Pedrosi, Derek G.
> *Cc:* rancid-discuss at shrubbery.net
> *Subject:* Re: [rancid] Brocade TurboIron24
> 
>  
> 
> Looks like a .cloginrc problem related to autoenable. 
> 
>  
> 
> Nick
> 
> Sent from my iWotsit.
> 
> 
> On 3 Aug 2015, at 14:59, Pedrosi, Derek G. <pedrosi at millercanfield.com 
> <mailto:pedrosi at millercanfield.com>> wrote:
> 
>     I've tried that to no success...
> 
>      
> 
>     The bit of debugging that I can do yielded this...
> 
>      
> 
>     root at rancid:/usr/lib/rancid/bin# flogin -t 300 -c "show version;show
>     chassis;show module;show flash;show running-config" 10.1.1.3
> 
>     10.1.1.3
> 
>     spawn ssh -c 3des -x -l svc_rancid 10.1.1.3
> 
>     svc_rancid at 10.1.1.3 <mailto:svc_rancid at 10.1.1.3>'s password:
> 
>     SSH at DC-TurboIron2#
> 
>     Error: TIMEOUT reached
> 
>     root at rancid:/usr/lib/rancid/bin#
> 
>      
> 
>     Rancid is able to logon, but no commands are issued?
> 
>      
> 
>      
> 
>     BUT, strangely enough when I do the same command as above with
>     "clogin" it works as it should.
> 
>     BUT, if in my "router.db" I set the type to "cisco" (which I assume
>     means use clogin) I do get a SVN entry in my repository, but it is
>     blank.
> 
>      
> 
>     Trying to get all of the configs.
> 
>     dc-turboiron2.network.mcps.com
>     <http://dc-turboiron2.network.mcps.com>: found unexpected command -
>     "dir /all sup-bootflash:"
> 
>     dc-turboiron2.network.mcps.com
>     <http://dc-turboiron2.network.mcps.com>: missed cmd(s): dir /all
>     slavedisk2:,show capture,dir /all sec-slot2:,show diag,dir /all
>     sec-nvram:,show running-config view full,dir /all 
> sec-bootflash:,sho$
> 
>     dc-turboiron2.network.mcps.com
>     <http://dc-turboiron2.network.mcps.com>: End of run not found
> 
>     =====================================
> 
>      
> 
>      
> 
>      
> 
>      
> 
>     Ps Why do you suggest v7.4.00j
> 
>      
> 
>      
> 
>     Many thanks,
> 
>     derek
> 
>      
> 
>      
> 
>      
> 
>     From: Nick Hilliard [mailto:nick at foobar.org]
> 
>     Sent: Sunday, August 2, 2015 9:15 AM
> 
>     To: Pedrosi, Derek G. <pedrosi at millercanfield.com
>     <mailto:pedrosi at millercanfield.com>>
> 
>     Cc: rancid-discuss at shrubbery.net 
> <mailto:rancid-discuss at shrubbery.net>
> 
>     Subject: Re: [rancid] Brocade TurboIron24
> 
>      
> 
>     These are type: "foundry".
> 
>      
> 
>      
> 
>     7.4.00j would be a good choice for software. 
> 
>      
> 
>      
> 
>     Nick
> 
>      
> 
>     Sent from my iWotsit.
> 
>      
> 
>     On 31 Jul 2015, at 19:11, Pedrosi, Derek G.
>     <pedrosi at millercanfield.com <mailto:pedrosi at millercanfield.com>> wrote:
> 
>     Greetings all,
> 
>     I have a few of Brocade's TI24s in my environment.  I would like to
>     intergrate them into Rancid with my Cisco gear, but I have not had
>     any luck.  Can someone possibly point my in the right direction?
> 
>      
> 
>      
> 
>     Many thanx,
> 
>     derek
> 
>     _______________________________________________
> 
>     Rancid-discuss mailing list
> 
>     Rancid-discuss at shrubbery.net <mailto:Rancid-discuss at shrubbery.net>
> 
>     http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> 
> 
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> 


--
Alan McKinnon
alan.mckinnon at gmail.com

_______________________________________________
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