I need a little guidance on how to write a script that will ping a particular IP address and if no reply execute a command. If it gets a reply it will pause for a certain amount of time before pinging again. Basically I want to ping an outside interface, if no response then reboot the router. That way I won't get paged all night long ;-) I have tried searching the board but apparently can't guess the proper syntax to find any useful results. Thanks in advance for you help.

Jural

Jural