[rancid] Re: Modify rancid scripts to enter on Cisco devices level 7 (enable 7 command)

john heasley heas at shrubbery.net
Wed Jun 9 19:10:10 UTC 2010


Wed, Jun 09, 2010 at 09:56:21AM +0200, Julian Salmeron:
> I have a strange situation with a Cisco device where I have to login as
> normal user , then type the "enable 7" command to enter in level 7 and then
> type "show startup config" instead of "show running config".
> So I have to modify some of the rancid scripts (clogin, rancid and maybe
> some more), and that's my problem...I don't know how to do that and I'm not
> sure which scripts I have to modify.

clogin/*login does not have a way to alter the enable command.  afaik, other
commands will fail at lower privilege levels, so i'm not inclined to add the
feature now.

you'd have to create a clogin, rancid, and device type with new names;
example, clogin7, rancid7, cisco7 (rancid-fe script).  change rancid7
to use clogin7, change clogin7 to use the right enable command, add the
cisco7 type to rancid-fe, and change your router.db for the device to be
the cisco7 device type.

> (Sorry for my poor English, I'm Spanish and my English is a bit strong) :P

your english is fine.


More information about the Rancid-discuss mailing list