[c-nsp] script
James Bensley
jwbensley at gmail.com
Wed Sep 21 09:20:43 EDT 2016
On 21 September 2016 at 12:10, Lijalem Fetene <lijalem.mhr at gmail.com> wrote:
> Dears,
> I want to login to hundreds of routers simultaneously in either telnet
> /ssh and execute some command to each device and return the output. Is
> there anyone to help me please ?
If you actually want the command to be run in parallel across all the
devices you can use Salt.
If not and you are happy for this to be run in series you can use
ciscocmd (an expect script,
https://sourceforge.net/projects/cosi-nms/files/ciscocmd/), NAPALM
(this is like expect but in Python,
https://github.com/napalm-automation/napalm), RANCID (also builds on
expect), Anisible (using SSH, https://www.ansible.com/) or write a
multi-threaded wrappar in C/Go/Python.
Cheers,
James.
More information about the cisco-nsp
mailing list