Re: Lab - Best Method to Verfiy Reachibility

From: Carlos G Mendioroz (tron@huapi.ba.ar)
Date: Fri Dec 26 2008 - 12:35:27 ARST


Sort of, yes.
But coupled with some more enhancements like using regexp to parse
command output and analysing routes and not pings, cause I think it
gives you more visibility of what could be wrong.

-Carlos

John Edom @ 26/12/2008 11:49 -0200 dixit:
> hi,
>
> You talking about this
>
> http://www.netmasterclass.net/site/articles/CISCO%20IOS%20TCL%20and%20RCMD%20testing%20and%20troubleshooting%20scripting.pdf
>
> Regards
>
> On Fri, Dec 26, 2008 at 4:46 PM, Carlos G Mendioroz <tron@huapi.ba.ar
> <mailto:tron@huapi.ba.ar>> wrote:
>
> I thought I had already published those, but I could not find them :(
> I do not have handy a copy of the scripts I used, but the idea was to
> use a couple of tricks:
>
> -use a list of networks your lab has. You can build it in notepad
> as you learn the topology. I used the x.x.x.x/nn format for ease of
> keeping, which forced me to create a small function to convert to
> mask format.
> -use tcl capability to run "show ip route <net> <mask>" to test
> if every net is in the router. That testing is done by parsing the
> output and only print a message if the network is not there.
> -use rcmd to be able to do that in every router, but controlled by
> one.
>
> Final output was like:
>
> 190.0.3.4/24 <http://190.0.3.4/24> not there at R3
> ...
>
>
> Also, as I did say a couple of times, "full tcl" is mostly for
> programmers. You can benefit from tcl by using recipes, but there's a
> lot of potential for good and bad :)
> My current view is that this may not be such a good idea for actual lab
> time, but is a great way of practicing and learning. Lab, for me,
> was mainly a trigger to learn things. It's amazing how many things I
> thought I knew before I discovered them :) How many more to come ?
> And you learn far more by investigating how to do things than by
> receiving a recipe on how to do them.
>
> -Carlos
>
>
> Andy Hogard @ 26/12/2008 9:50 -0200 dixit:
> > Hey Carlos,
> >
> > It would be nice if you could elaborate, and even better if you
> can give
> > us an ex ..using small three router topolgy.
> >
> > Regards,
> > Andy.
> >
> > On Fri, Dec 26, 2008 at 4:13 PM, Carlos G Mendioroz
> <tron@huapi.ba.ar <mailto:tron@huapi.ba.ar>
> > <mailto:tron@huapi.ba.ar <mailto:tron@huapi.ba.ar>>> wrote:
> >
> > It depends on you too.
> > Ping scripts will tell you something may be wrong.
> > I used a tcl script to test route presence on every router,
> which was
> > more complicated to prepare but gave more visibility to what
> was wrong.
> > I just knew how to do it in case I run into some trouble
> > (those pesty redistributions which route instabilities).
> > debug ip routing was a nice complement.
> >
> > -Carlos
> >
> > ramiz sardar @ 24/12/2008 11:09 -0200 dixit:
> > > Hi Experts,
> > >
> > > After completion of IGP section, what is the best method to
> verify
> > > reachibility? Most of people use ping tclscript so if this
> is the
> > > recomendation then should we ping each and every interface
> or some
> > of them? I
> > > think if we ping loopback interfaces of all devices and
> interfaces
> > of that are
> > > connected with BBs, this is fine.
> > >
> > > kindly add your comments. Best Regards,Rameez
> > >
> _________________________________________________________________
> > > Invite your mail contacts to join your friends list with Windows
> > Live Spaces.
> > > It's easy!
> > >
> >
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&m
> <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&m>
> >
> <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&m
> <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&m>>
> > > kt=en-us
> > >
> > >
> > > Blogs and organic groups at http://www.ccie.net
> > >
> > >
> >
> _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Carlos G Mendioroz <tron@huapi.ba.ar
> <mailto:tron@huapi.ba.ar> <mailto:tron@huapi.ba.ar
> <mailto:tron@huapi.ba.ar>>>
> > LW7 EQI Argentina
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> >
> _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > My Blog URL: http://ccieno.blogspot.com/
>
> --
> Carlos G Mendioroz <tron@huapi.ba.ar <mailto:tron@huapi.ba.ar>>
> LW7 EQI Argentina
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

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

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Thu Jan 01 2009 - 12:53:10 ARST