[rancid] cloginrc.sample noenable example

john heasley heas at shrubbery.net
Thu Aug 19 06:08:32 UTC 2010


Wed, Aug 18, 2010 at 06:27:58PM -0400, Lee:
> On 8/18/10, john heasley <heas at shrubbery.net> wrote:
> > Sat, Aug 14, 2010 at 09:47:43AM -0400, Lee:
> >> Shouldn't the example for noenable in cloginrc.sample be changed from
> >>   # add noenable <router name glob>
> >> to
> >>   # add noenable <router name glob> 1
> >> or maybe
> >>   # add noenable <router name glob> <1/0>
> >> like the example for autoenable?
> >
> > no, that directive does not work that way.  the login scripts would need
> > to be changed to allow this.
> 
> What am I doing wrong then?  With this in my .cloginrc
> add noenable *
> a 'clogin -c "sh ip eigrp int" ciscoRouter' goes into enable mode
> before doing the show command.  If I change it to
> add noenable * 1
> it doesn't get into enable mode before doing the command.

sorry, more specifically it does not work like autoenable; any value turns it
on.


More information about the Rancid-discuss mailing list