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

john heasley heas at shrubbery.net
Tue Jun 15 18:20:39 UTC 2010


Tue, Jun 15, 2010 at 10:38:11AM +0400, Aleksey P:
> 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.

thats 172.16.2.2.new, not 172.16.2.2.raw.

> >it must have show version.
> I am not sure i understand you right. In rancid file i must use 'show
> version'?

yes, it must include show version since its used in writeterm, at least
for some platforms.
> 
> >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'?

some commands require higher privledges.  if you eliminate those that
do, then it'd work.


More information about the Rancid-discuss mailing list