Hi,
I would like to share a small script for pinging ip range in a vrf using tclsh in Cisco IOS.
router(tcl)# for { set i 1 } { $i <= 100 } { incr i } { ping vrf TEST 10.10.10.$i re 5 }
The above script will do a ping with 5 packets to IP range 10.10.10.1---10.10.10.100
The same can be used for nomal pinging by removing vrf and vrf name.
Thanks