Re: TCL ping script with tos and byte size option?

From: Niche (jackyliu419@gmail.com)
Date: Wed Aug 23 2006 - 09:13:30 ART


Hi there,

Too bad I am not in the position that can modify the configuration of
the router.. that's why I would like to use TCL script. Otherwise, I
gonna use SAA instead.

Cheers~
Jacky

On 8/23/06, Ivan Kuchin <ivan@iip.net> wrote:
> I don't know how this can be reached from tcl. But you can add local policy in
> running-config and match ICMP packet then set needed tos.
>
> set ip local policy route-map XXX
>
> route-map XXX
> match ip list 101
> set ip tos 3
>
>
> > Hi there,
> >
> > Thanks, but how about the TOS value?
> >
> > Cheers~
> > Jacky
> >
> > On 8/23/06, Ivan <ivan@iip.net> wrote:
> > > tclsh
> > > foreach a {
> > > 194.85.112.115
> > > 194.85.112.117
> > > } {
> > > ping $a size 1472
> > > sh ip route $a
> > > }
> > > tclq
> > >
> > > On Wednesday 23 August 2006 13:50, Niche wrote:
> > > > Hi guys,
> > > >
> > > > Anyone know how to specify TOS value and the ping packet size in
> > > > normal TCL ping script?
> > > >
> > > > Cheers~
> > > > Jacky
> > > >
> > > > _______________________________________________________________________
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > > --
> > > Ivan
>
> --
> iWAN kU^IN (mail to: ivan@iip.net)
> NOC iip.net
> 137-31-04



This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:58 ART