From: Dillon Yang (gzdillon@hotmail.com)
Date: Tue Mar 15 2005 - 22:10:33 GMT-3
Hi, Bob:
I got a case in NetMasterClass.com that demo the usage of Tclsh like as:
R1#
tclsh
foreach router {
172.16.101.1
172.16.102.1
172.16.103.1
} {
rsh $router show run | include \^ ip address \[0-9]
}
I can not find command "foreach" under "(tcl)#" but I can execute the program above.
Question:
1. How many is there the backdoor commands that we dont know and is useful?
2. Without tclsh, say before IOS 12.2, how can we verify each route on each routers?
TIA
dillon
----- Original Message -----
From: "Bob Sinclair" <bsinclair@netmasterclass.net>
To: "robbie" <robbie@packetized.org>; <ccielab@groupstudy.com>
Sent: Wednesday, March 16, 2005 8:26 AM
Subject: Re: tclsh Tips for the lab?
> Robbie,
>
> I am a total believer in the utility of a simple ping script to test
> reachability - I use it every day in class and in lab development. But you do
> not want to spend time and energy troubleshooting a script. I have seen
> clueful guys use the RCMD tack in practice lab after practice lab, only to end
> up in script-trouble when a minor difference cropped up in the real thing.
> KISS!
>
> HTH,
>
> Bob Sinclair
> CCIE #10427, CCSI 30427, CISSP
> www.netmasterclass.net
>
> ----- Original Message -----
> From: robbie
> To: ccielab@groupstudy.com
> Sent: Tuesday, March 15, 2005 6:20 PM
> Subject: tclsh Tips for the lab?
>
>
> I see that Gladston's posted some quick tclsh scripting to automate the
> process of checking for connectivity, but does anyone else perhaps have
> a short primer on tclsh as it relates to the lab? I'd love to see
> exactly what people have come up with to improve their speed in checking
> things like that. Any suggestions? Thanks a ton.
>
> robbie
>
> _______________________________________________________________________
> 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
This archive was generated by hypermail 2.1.4 : Sun Apr 03 2005 - 17:56:46 GMT-3