RE: TCL script for 3550/3560

From: Antonio Soares (amsoares@netcabo.pt)
Date: Fri Aug 17 2007 - 21:47:14 ART


+++++++++++++++++++++++++
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int loop0
Switch(config-if)#ip add 1.1.1.1 255.255.255.255
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#macro name ping-igp
Enter macro commands one per line. End with the character '@'.
do ping 1.1.1.1
@
Switch(config)#macro ?
  global Enter global macro apply
  name Name of the macro

Switch(config)#macro global ?
  apply Apply a global macro
  description Macro description of this device
  trace Apply a global macro with trace enabled

Switch(config)#macro global apply ping-igp

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Switch(config)#
+++++++++++++++++++++++++

Regards,

Antonio Soares
CCIE #18473, CCNP, CCIP

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of CCIE
19999
Sent: sabado, 18 de Agosto de 2007 1:00
To: 'Cisco certification'
Subject: TCL script for 3550/3560

HI guys,

 

I am just wondering how you guys would run a ping test from a switch. I have
tried the tcl script on the switches and obviously it won't work. I have
searched in the archives and googled and could not find what I am looking
for.

 

Can you guys help me?

 

Thank you,

 

Shine



This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:11 ART