Re: TCL Script for R&S lab

From: darth router (darklordrouter@gmail.com)
Date: Tue Aug 21 2007 - 09:33:38 ART


I did not mean to be rude. I think we all do it because it saves time, and
accurately tests reachability. I suppose doing anything that slows you down
would promote your failure in the lab. I was dragged kicking and screaming
into doing TCLs in my practice until the very end :) Its so dang easy just
to throw on your TCLs. When stuff doesnt respond to pings, then start
digging around in the routing tables. After you finish core and IGP, you
have a pretty dang good idea of what everything looks like. I usually do
something like what you do. After I am done with a routing protocol, I paste
the routes into notepad in case I need to look after redistribution tasks.
TCL is just a super efficient tool to use in the lab. Saves time. Most of us
need all the extra time we can get. Give it a try man! Its like smoking
crack, your hooked after the first TCL ping.

On 8/21/07, Carlos G Mendioroz <tron@huapi.ba.ar> wrote:
>
> I did not mean to imply that you had to be a programmer to use simple
> TCL. But if you are, TCL can do a lot more for you.
>
> You are right in that you are not testing BB's views.
> I don't agree in that not using TCL promotes failure. You just have to
> use whatever you feel at ease with.
> "Brute force pinging" is kind of a black box testing. When I'm doing
> things, I like white box testing better...
>
> -Carlos
>
> darth router @ 21/08/2007 08:07 -0300 dixit:
> > Carlos,
> >
> > the prob is you can have all the routes and not be able to ping devices,
> due
> > to them not having routes back to you (backbones) or security features
> > blocking packets. The TCL scripts you need to test in the lab are
> simple.
> > You do not need to be a programmer. You do a show ip alias on every
> device,
> > hold down ALT (CRT feature), select the routes, paste into a text file.
> It
> > takes about 60 seconds to complete the scripts and grab all the IPs. You
> > also need to use the TCL scripts several times in your lab to assure you
> > have not broken anything throughout the day. Not using TCL in the lab
> > significantly increases your chances of missing something, and
> ultimately
> > promoting your failure.
> >
> >
> > DR
> >
> > On 8/21/07, Carlos G Mendioroz <tron@huapi.ba.ar> wrote:
> >> 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
> >>
> >> _______________________________________________________________________
> >> 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