Re: TCL Script on 3500 switches

From: nhatphuc (nhatphuc@gmail.com)
Date: Fri Jan 11 2008 - 09:27:47 ARST


use command: interface range macro RANGE

Regards,

On Jan 10, 2008 4:05 PM, Gupta, Gopal (NWCC) <gopal.gupta@hp.com> wrote:

> Just one more query
>
> when we issue "Define interface-range" command, how to invoke this
> Macro???
> "macro global aaply" doesn't take this command.
>
> SW2(config)#define interface-range RANGE f0/11 - 12
> SW2(config)#macro glo
> SW2(config)#macro global app
> SW2(config)#macro global apply RANGE
> % Macro 'RANGE' does not exist.
> SW2(config)#
>
> Thanks,
> Gops
> ________________________________
>
> From: Erik Nixon [mailto:sneaky_nx@hotmail.com]
> Sent: Thursday, January 10, 2008 07:55
> To: Gupta, Gopal (NWCC); Cisco certification
> Subject: RE: TCL Script on 3500 switches
>
>
> You can use a macro with switches. I supplied a sample of one below:
>
> (config) macro name test
> do ping 144.1.17.1
> do ping 144.1.15.1
> do ping 150.1.1.1
> do ping 144.1.27.2
> do ping 144.1.24.2
> do ping 150.1.2.2
> do ping 144.1.34.3
> do ping 204.12.1.3
> do ping 150.1.3.3
> do ping 144.1.46.4
> do ping 144.1.34.4
> do ping 144.1.24.4
> do ping 150.1.4.4
> do ping 144.1.5.5
> do ping 144.1.15.5
> do ping 150.1.5.5
> do ping 144.1.46.6
> do ping 54.1.10.6
> do ping 150.1.6.6
> do ping 144.1.17.7
> do ping 144.1.27.7
> do ping 144.1.78.7
> do ping 150.1.7.7
> do ping 192.10.1.8
> do ping 144.1.78.8
> do ping 150.1.8.8
> do ping 144.1.5.10
> do ping 150.1.10.10
> @
> (Config)macro global apply test (starts pinging after you enter this
> command
>
>
>
>
> Thanks
>
>
>
>
> > Subject: TCL Script on 3500 switches
> > Date: Wed, 9 Jan 2008 20:28:53 +0530
> > From: gopal.gupta@hp.com
> > To: ccielab@groupstudy.com
> >
> > Hi Experts,
> >
> > Is there any way we can run TCLSH on Switches for checking reachabiliy
> > or we have to ping each n every address manually on the switches??
> >
> > Thanks
> > Gops
> >
> >
> _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> ________________________________
>
> Share life as it happens with the new Windows Live. Share now!
> <http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_12
> 2007>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:37:58 ARST