Andhy.<br>
tclsh is not supported on the 7x50 shell. You can create a cli script vi on the node. <br>
file <br>
vi ping.txt <br>
ping 10.1.[1..4].1<br>
ping 10.100.12.[1..2]<br>
ping 10.2.[1..4].1<br>
<br>
<br>
exit<br>
exec -echo ping.txt<br>
<br>
Sam also as the option of running multiple scripts. <br>
<br>
Tks,<br>
Patrick.<br><br><div class="gmail_quote">On Thu, Jul 15, 2010 at 11:23 AM, Andhy Indarto <span dir="ltr"><<a href="mailto:andhy.indarto@indosat.com">andhy.indarto@indosat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Dear all,</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Is there any script (such as tcl script) in 7750 SR or 7450
ES for automatic multiple ping for example:</span></font></p>
<p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal" style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal" style=""><b><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New"; font-weight: bold;">tclsh</span></font></b></p>
<p class="MsoNormal" style=""><b><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New"; font-weight: bold;">foreach </span></font></b><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">address {</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.1.1.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.1.2.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.1.3.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.1.4.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.100.12.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.2.1.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.2.2.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.2.3.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.2.4.1</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">10.100.12.2</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">} {</span></font></p>
<p class="MsoNormal" style=""><b><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New"; font-weight: bold;">ping </span></font></b><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">$address</span></font></p>
<p class="MsoNormal" style=""><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New";">}</span></font></p>
<p class="MsoNormal" style=""><b><font face="Courier New" size="1"><span style="font-size: 9pt; font-family: "Courier New"; font-weight: bold;">tclquit</span></font></b></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Do you have any sample command & script ?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks in advance</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Regards,</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">andhi indarto</span></font></p>
</div>
<pre style="white-space: normal;"><br><br><br>*****<br>"This message is intended only for recipients who are authorized to receive it. <br>It contains confidential and/ or legally priveleged information belong to PT INDOSAT Tbk ("INDOSAT"), therefore the authorized recipients shall protect this confidential information disclosed pursuant to provisions of Indosat's policy.<br>
If you are not a valid recipient of this message, please delete it from your system and/ or destroy all of the tangible material produced from the information herein together with all copies or reproductions thereof and notify the sender immediately. <br>
Please also be notified that any disclosure, copying, distribution or taking any action based on the contents of this message is strictly prohibited and may be unlawful".<br>*****<br></pre></div>
<br>_______________________________________________<br>
alcatel-nsp mailing list<br>
<a href="mailto:alcatel-nsp@puck.nether.net">alcatel-nsp@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/alcatel-nsp" target="_blank">https://puck.nether.net/mailman/listinfo/alcatel-nsp</a><br>
<br></blockquote></div><br>