[j-nsp] remote ssh command to an EX series switch

Emmanuel Halbwachs Emmanuel.Halbwachs at obspm.fr
Mon Sep 6 11:33:13 EDT 2010


Hello,

Laurent HENRY a écrit (Mon, Sep 06, 2010 at 05:18:45PM +0200) :
> the basic is grab the output of a "show arp" remotely via a crontab.

Generally speaking, I think rancid's [1] jlogin is what you're looking
for to run arbitrary commands remotely, e.g.

  jlogin -c "sh arp" myrouter

Specifically, for the ARP grabbing, what about SNMP? Some tools could
help : the antique arpwatch/arpsnmp (check your favorite Linux distro)
or netdisco [2].


[1] http://www.shrubbery.net/rancid/
[2] http://netdisco.org/

HTH,

-- 
Emmanuel Halbwachs                       Observatoire de Paris-Meudon
Resp. Réseau/Sécurité                           5 Place Jules Janssen
tel  :  +33 1 45 07 75 54                        F 92195 MEUDON CEDEX
fax  :  +33 1 45 07 01 89       véhicules : 11 av. Marcelin Berthelot


More information about the juniper-nsp mailing list