[alcatel-nsp] Script in 7750 SR or 7450 ES for automatic multiple ping

Patrick Lynchehaun patrick at lynchehaun.net
Thu Jul 15 07:01:54 EDT 2010


Andhy.
          tclsh is not supported on the 7x50 shell. You can create a  cli
script vi on the node.
file
vi ping.txt
ping 10.1.[1..4].1
ping 10.100.12.[1..2]
ping 10.2.[1..4].1


exit
exec -echo ping.txt

Sam also as the option of running multiple scripts.

Tks,
      Patrick.

On Thu, Jul 15, 2010 at 11:23 AM, Andhy Indarto
<andhy.indarto at indosat.com>wrote:

>  Dear all,
>
> Is there any script (such as tcl script) in 7750 SR or 7450 ES for
> automatic multiple ping for example:
>
>
>
>
>
> *tclsh*
>
> *foreach *address {
>
> 10.1.1.1
>
> 10.1.2.1
>
> 10.1.3.1
>
> 10.1.4.1
>
> 10.100.12.1
>
> 10.2.1.1
>
> 10.2.2.1
>
> 10.2.3.1
>
> 10.2.4.1
>
> 10.100.12.2
>
> } {
>
> *ping *$address
>
> }
>
> *tclquit*
>
>
>
> Do you have any sample command & script ?
>
>
>
> Thanks in advance
>
> Regards,
>
> andhi indarto
>
>
>
>
> *****
> "This message is intended only for recipients who are authorized to receive it.
> 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.
> 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.
> 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".
> *****
>
>
> _______________________________________________
> alcatel-nsp mailing list
> alcatel-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/alcatel-nsp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/alcatel-nsp/attachments/20100715/03762776/attachment.html>


More information about the alcatel-nsp mailing list