[j-nsp] Running Scripts

Patrick Lynchehaun plynchehaun at servecentric.com
Tue Mar 21 07:11:23 EST 2006

       Like I was saying you can use jlogin from rancid and pipe this into a script. See example using ssh. 
for i in `cat list-of-routers`; do
        jlogin -y 3des -u username -p password -f logins -c "configure;
set system host-name test;
commit ; exit " $i


-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net]On Behalf Of Rommel Rizzato
Sent: 21 March 2006 10:59
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] Running Scripts

Hi all -



I need to deploy some firewall and routing features for around 200
routers on the live network. I know that we can do this through
scripting.  Can some one point me here on the right direction, where I
go to start?


Many thanks





Message Posted at:
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/juniper.html

This e-mail contains confidential information or information belonging
to Servecentric Ltd and is intended solely for the addressee(s). The
unauthorized disclosure, use, dissemination or copy (either in whole or
in part) of this e-mail, or any information it contains, is prohibited.
Any views or opinions presented are solely those of the author and do
not necessarily represent those of Servecentric Ltd. E-mails are
susceptible to alteration and their integrity cannot be guaranteed.
Servecentric shall not be liable for the contents of this e-mail if
modified or falsified. If you are not the intended recipient of this
e-mail, please delete it immediately from your system and notify the
sender of the wrong delivery and of the email's deletion.

More information about the juniper-nsp mailing list