Recently we discovered that a Netscreen Firewall we have in our office that connects to another site was getting problems. The connection breaks every once in a while, and we have to reboot the Netscreen to get it back working.
We contacted a support vendor and which they lent us another same model firewall for temporary replacment... all went smoothly for more than a week. The vendor check ours and they found no problems in their lab. So they returned it back to us.
Hoping to isolate and determine the cause of trouble, the supporting vendor sent us a few command to run on the firewall regularly to capture the FW's status. I am trying to figure a way to run this with a notepad that connects as a console, and dump the command results for storage. I think of using Putty to telnet through the serial port to do that... but not so certain as how to come up with the batch file that would call putty to connect. Does anyone know if this is a good way to run script off the firewall to dump status? or is there any better way of doing it?
I am running something like:
> c:\putty.exe -telnet 10.0.0.1 -l username -m input.txt
-telnet 10.0.0.1 specifies the protocol and IP
-l : the user account to use
-m : the input file that contains the feed-in commands
Thanks very much
-telnet : specifies it'll be a telnet