[rancid] Re: Not working rancid with Cisco without enable.

Per-Olof Olsson peo at chalmers.se
Tue Jun 15 10:39:21 UTC 2010


Aleksey P wrote:
> Hello.
> 
>     >> ]# cat /usr/local/libexec/rancid/172.16.2.2.new
>     >> !RANCID-CONTENT-TYPE: cisco
>     >> !
>     >> !
>     >> !
>     >> !
>     >> and that is all that in this file.
> 
>     >and what is in the 172.16.2.2.raw file?
> 
> 
> Nothing, that's all - only one line " !RANCID-CONTENT-TYPE: cisco" and
> that's all.
> 
>>it must have show version.
> I am not sure i understand you right. In rancid file i must use 'show
> version'?
> 
> 
>>the rancid script shouldnt care about which prompt it shows, but in
>>general, enable mode is required.
> But in theory - can rancid work with Cisco device w/o 'enable'?
> 
Yes.

In .clogin set
add autoenable <hostname> 1

Run ok for HP direct login to manager level and cisco nexus switches
that don't have enabler level.
(nexus use nxrancid and clogin scripts/program)


/Peo
----------------------------------------------------------
Per-Olof Olsson               Email: peo at chalmers.se
Chalmers tekniska högskola    IT-service
Hörsalsvägen 5                412 96 Göteborg
Tel: 031/772 6738  Fax: 031/772 8660
----------------------------------------------------------


More information about the Rancid-discuss mailing list