From: Jason Madsen (madsen.jason@gmail.com)
Date: Sat Nov 29 2008 - 16:17:43 ARST
not sure about a link at the moment, but I can help with the basic syntax
for doing ping tests. it's quite easy actually.
to get into TCL mode:
en
tclsh
to do a ping test (replace "ip" with whatever you want):
foreach ip {
x.x.x.x
x.x.x.x
x.x.x.x
x.x.x.x
} {ping $ip}
(replace "$ip" with "$" and whatever variable you used after "foreach" and
replace "x.x.x.x" with the IPs you want to ping). "show ip alias" is a
great way to get an IP listing for each of your devices. it puts the IPs in
a neater format than "show ip interface brief". when using Secure CRT you
can select a column of text by holding down "alt" and then selecting your
text.
enter "exit" or "tclquit" to get out of tcl mode.
Jason
On Sat, Nov 29, 2008 at 11:09 AM, <yungli2008@gmail.com> wrote:
> Hi experts
>
> I am completely new in TCL Script programming in CISCO IOS.
> I am wondering if anyone give some good link for beginners in TCL script.
>
> I appreciate your help.
> Thanks
> Li
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:32 ARST