Clogin Options

Hank Kilmer hank at rem.com
Sat Sep 24 02:42:15 UTC 2005


--On Friday, September 23, 2005 10:29 AM -0700 john heasley 
<heas at shrubbery.net> wrote:

> 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

You can also do the routers in parallel with par.






More information about the Rancid-discuss mailing list