Clogin Options

john heasley heas at shrubbery.net
Fri Sep 23 17:29:12 UTC 2005


Fri, Sep 23, 2005 at 01:25:25PM -0400, Pierce, Steven T (Steve), CMO:
> All--
> 
> I'm a big fan of the "clogin" script.  I would like to use this script
> to be able to send configuration changes to many routers on my network.
> I understand how to make the script reference another file for the
> commands, but I don't see an option to reference a file for a list of
> routers.  Is there a way to do this?  It would be much easier than
> listing out all the devices with semi-colons.
> 
> Steve 
> 

clogin -s script rtr1 rtr2 rtr3 ...

or
clogin -s script `cat routerlist`

or
cat routerlist | xargs clogin -s script 



More information about the Rancid-discuss mailing list