Logging initial rsponse from device before connection is successful
Hi,
I'm trying to create a script to connect to various devices unfortunately not all the devices are accepting the connection... Due to firewall rules not configured or access list not set yet, I encounter few connection issues. As those errors occur before the successful connection and login, is there a way to have them log into a file so I can find which devices need to be configured to allow access from my IP? Every example I found so far, use a session logging features but I'm not sure if I can use that to log the error message before any connection is made from SecureCRT... |
Hi micdundee,
Thanks for the post. The following example script has a good illustration of what you want to do: https://forums.vandyke.com/showthrea...7294#post37294The function named Connect() shows how to capture errors during connection. Lines 22, 286 to 297 show how to write data to a log file. Does this help you accomplish your goal? |
All times are GMT -6. The time now is 06:17 AM. |