RE: CAT script to test reachability

From: Alex Ouraev (ualexv@gmail.com)
Date: Sat Jan 27 2007 - 20:49:26 ART


switch2(config)#do sh run | inc rcmd
ip rcmd rsh-enable
ip rcmd remote-host script 162.1.38.3 R3

R3#tclsh
R3(tcl)#foreach var {
+>(tcl)#150.1.1.1
+>(tcl)#150.1.2.2
+>(tcl)#150.1.3.3
+>(tcl)#150.1.4.4} { rsh 150.1.8.8 /user script ping $var }

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

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.1.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/36 ms

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

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.1.4.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/36 ms

where:
162.1.38.3 is R3's "closest" ip interface to the switch,
150.1.8.8 - switch Lo0 or any other reachable ip interface.

HTH

Alex

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Raj
Bansal
Sent: Saturday, January 27, 2007 1:41 PM
To: ccielab@groupstudy.com
Subject: CAT script to test reachability

Folks,
   
  I understand there is a script to test IGP reachability from the CAT
switches. Is this correct?
   
  Thanks.
   
  Raj
   

 
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.



This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:57 ART