[rancid] Re: Run a command in all the routers

Jee Kay jeekay at gmail.com
Thu Jun 1 11:55:20 UTC 2006


On 01/06/06, Shekhar Basnet <shekhar at mos.com.np> wrote:

>  Suppose I want to run a command say "show diag" in all the routers of different router.db files, what command do I issue?
>
>  Thats one. I have 18 router.db files polling 72 devices. Now I want to issue that command in only 9 router.db files. How do I tackle that?

(eww HTML email)

I don't know about the first, but for the second you can do:
./clogin -c "show diag" router1 router2 router3 router4

Ras



More information about the Rancid-discuss mailing list