CCIE SP TCL IOS XR reachability Script with source address


Following Script will work to check the reach-ability in IOS XR with source address Execute
 
run tclsh
Then you can place the TCLSH commands :
 
set i "9.9.0.3"
foreach X {
9.9.0.1
9.9.0.2
} { ping -s $i $X }
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 9.9.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/11/19 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 9.9.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms

Comments

Anonymous said…
so helpful, thank you!

Popular posts from this blog

PPTP Server as Cisco for Mikrotik Client

l2tpv3 configuration reference

proxy arp