[rancid] cloginrc.sample noenable example

Lee ler762 at gmail.com
Wed Aug 18 22:27:58 UTC 2010


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.

Thanks,
Lee


More information about the Rancid-discuss mailing list