In order to check and ensure the IP connectivity of my hosts and devices in LAN, WAN, I have a batch script witch I execute from my computer and for each IP address in a list.txt file, I ping the address, i send the output to a result.txt.
when the executer of my file is finshed, i get the result.txt with the test connectivity status (reply or timeout).
For security reasons and from today, i will not have access to ping devices directy from my computer and then i must to telnet a cisco router where i can ping my hosts, devices.
- Does someone know is there any possibility to make a ping to a list of IP address from cisco 2620 router ? to cpoy list.txt in the flash ? send output to ftp/tftp,..?
- Does someone can help on how to open /close telnet sessions from batch files ?
Thanks in advance,