Some scripts are very usefull to test full reachability within routers and switches. On most routers there is a tclsh available and you can use is like this:
R1#tclsh
R1(tcl)#
foreach i {
150.1.8.8
150.1.7.7
150.1.5.5
150.1.4.4
150.1.3.3
150.1.2.2
150.1.1.1
} { puts [ exec „ping $i“ ] }
And then you can just copy and paste in your addresses. On some routers tclsh is not available. There you can use a ping macro:
SW1(config)#macro name PING
Enter macro commands one per line. End with the character ‚@‘.
do ping 150.1.1.1
do ping 150.1.2.2
do ping 150.1.3.3
do ping 150.1.4.4
do ping 150.1.5.5
do ping 150.1.7.7
do ping 150.1.8.8
@
SW1(config)#macro global apply PING
The last command executes the script. With this you can start pinging all your routers.