[rancid] clogin -c

john heasley heas at shrubbery.net
Sat Oct 23 21:40:49 UTC 2010

Wed, Oct 20, 2010 at 04:37:45PM +0200, Reinhard Kucera:
> Hey,
> Is it possible to send commands to the router everytime I do rancid-run? For
> example, I want to running config copied to a tftp server. With clogin I
> would to:
> clogin -c "copy running-conf tftp://" switch-name
> As rancid is using clogin, can I somehow use the -c option from clogin for
> each device?

just run it, before rancid starts, for each line in routers.up.

More information about the Rancid-discuss mailing list