From: Wollmann, Bruno RQHR (Bruno.Wollmann@rqhealth.ca)
Date: Fri Jan 11 2008 - 13:11:52 ARST
"Define interface-range" defines a range of interfaces to use with the
"interface range" command so that you don not have to remember the exact
ports to enter every time you want to config only those ports.
Eq.
sw2(config)#define interface-range RANGE f0/11 - 12
sw2(config)#interface range macro RANGE
sw2(config-if-range)#
Now you are in interface config mode for ports fa0/11 - 12
HTH
Bruno
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Gupta, Gopal (NWCC)
Sent: January 10, 2008 3:05 AM
To: Erik Nixon; Cisco certification
Subject: RE: TCL Script on 3500 switches
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
>
>
This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:37:59 ARST