Re: TCL Script for R&S lab

From: Carlos G Mendioroz (tron@huapi.ba.ar)
Date: Tue Aug 21 2007 - 07:36:16 ART


TCL may be a great tool to use if you have a complicated lab
and you have a programing background.
Last time I thought about it, it sounded more reasonable to check if all
routers had all info they need (i.e. routes) than to ping from every
place to every place. And you can actually do that from the confort of a
single CLI session.
You make a list of all networks that make up your lab (net and mask)
and go check (using rsh) every router's RIB for them (using show ip
route <net> <mask> and parsing the output).
Then you make a list of all routers you have and do a couple of nested
for. You only print out what's missing.
There's a gotcha. It takes time to program this, some 5 - 10 minutes.
But again, if you get a difficult IGP... this and debug ip routing
(to catch any instabilities) can help you out.
-Carlos

Djerk Geurts @ 19/08/2007 16:26 -0300 dixit:
> Some other examples, I coded one a year ago which can be used as a
> custom command from cli. It will ping a given IP using all available
> local addresses:
>
> http://www.djerk.nl/wordpress/ccie-rs/things-to-know-lab/tcl/
>
> Djerk
>
>> -----Original Message-----
>> From: dayody@googlemail.com [mailto:dayody@googlemail.com] On
>> Behalf Of dayo@ademuyiwa.com
>> Sent: zondag 19 augustus 2007 21:04
>> To: Djerk Geurts
>> Cc: ccielab@groupstudy.com
>> Subject: TCL Script for R&S lab
>>
>> Hi Guys,
>>
>> Looking for away to write a tcl script for IGP and BGP
>> testing in the R & S exam. Any help will be appreciated
>>
>> Thanks
>>
>>
>> On 8/19/07, Djerk Geurts <djerk.geurts@nl.easynet.net> wrote:
>>
>> I don't seem to be able to send to the list anymore...
>> (does this arrive?)
>>
>> Now from the correct account.
>>
>> Regards,
>>
>> --
>> Djerk
>>
>>
>> ______________________________________________________________
>> _________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>

-- 
Carlos G Mendioroz  <tron@huapi.ba.ar>  LW7 EQI  Argentina


This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:12 ART