[rancid] Re: Documentation on adding an unsupported device.
Andrew Fort
afort at choqolat.org
Thu Sep 14 16:44:11 UTC 2006
On 8/31/06, liz <esteinke at speakasy.net> wrote:
> I can get logged into
> the switch with clogin but the commands that rancid is running dont all
> quite work as it expects.
so, if 'clogin -c "<some valid command on your switch>" <switch>' logs
in, executes the command, and logs out cleanly, the clogin itself is
'working' (for some usable definition of work).
so you'd only need to write a separate *rancid tool to parse the
output of your switch commands (and to execute the necessary commands,
see towards the end of the rancid script for how all that fits
together).
rancid-fe as you've found calls a *rancid tool based on the contents
of a <hostname>:<vendorstring> pair, and the *rancid script calls one
of the *login scripts (look towards the end of the *rancid script).
there's more than one vendor's equipment that uses the "cisco" clogin
tool; for example, force 10 switches.
-andrew
More information about the Rancid-discuss
mailing list