[j-nsp] Running Scripts
Vladimir S. Blazhkun
v.blazhkun at pcs-net.net
Tue Mar 21 08:04:01 EST 2006
Seems this is not a right way to do this. Better if you will write a
bash/perl script which will put its output into text file. Than simple
load whole file via 'load merge file' and than commit.
Alternate (but ultra tricky) way is to use RPSL + rtconfig.
> Rommel.
> 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
> done
>
> Thanks,
> Patrick.
>
> -----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
>
>
>
> Cheers
>
>
>
> Rommel
>
>
> Message Posted at:
> http://www.groupstudy.com/form/read.php?f=9&i=3923&t=3923
> --------------------------------------------------
> 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.
>
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
--
Vladimir S. Blazhkun, Personal Communications Systems, LLC.
Leading IP NCC Specialist, Work phone: +7 495 7847617 ext. 1101.
JNCIA-J JNCIA-M #773 JNCIS-M #1100 JNCIP-M #289
More information about the juniper-nsp
mailing list