# $language="VBScript"
# $interface="1.0"
Sub Main
CRT. The Session. The Connect "/an SSH2 9"
CRT. Screen. WaitForString Choice: "", 1
CRT. Screen. Send "2" & amp; VBCR
CRT. Screen. WaitForString Choice: "", 1
CRT. Screen. Send "2" & amp; VBCR
CRT. Screen. WaitForString Choice: "", 1
CRT. Screen. Send "3" & amp; VBCR
CRT. Screen. WaitForString Choice: "", 1
CRT. Screen. Send "8" & amp; VBCR
CRT. Screen. WaitForString Choice: "", 1
CRT. Screen. Send "1" & amp; VBCR
CRT. Screen. WaitForString WCHX - R7609-01 & gt; ""
CRT. Screen. Send "enable" & amp; VBCR
CRT. Screen. WaitForString "#"
The CRT) Screen) Synchronous=True
CRT. Session. LogFileName="D: \ log \ - R3945-01. TXT"
CRT. The Session. The Log (True)
CRT. Screen. Send "Telnet 33" & amp; VBCR
CRT. Screen. WaitForString "Username:
"CRT. Screen. Send "admin" & amp; VBCR
CRT. Screen. WaitForString "Password:"
CRT. Screen. Send "8411740" & amp; VBCR
CRT. Screen. Send "" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "terminal length 0" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh ver" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh inven" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh envi" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh" proc CPU & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh proc CPU hist" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh IP int bri" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh IP ospf nei" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh IP route" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh run" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. Send "sh log" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. WaitForString "#", 3
CRT. Screen. WaitForString "#", 3
CRT. Screen. WaitForString "#", 3
CRT. Screen. WaitForString "#", 3
CRT. The Session. The Log (False)
CRT. Session. LogFileName="D: \ log \ R3945-02 TXT"
CRT. The session. The Log (true)
CRT. Screen. Send "Telnet 4" & amp; VBCR
CRT. Screen. WaitForString "Username:
"CRT. Screen. Send "admin" & amp; VBCR
CRT. Screen. WaitForString "Password:"
CRT. Screen. Send "8411740" & amp; VBCR
CRT. Screen. Send "" & amp; VBCR
CRT. Screen. WaitForString "- R3945-02
"CRT. Screen. WaitForString "#"
CRT. Screen. Send "terminal length 0" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh clo" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh ver" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh inven" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh envi" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh" proc CPU & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh proc CPU hist" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh proc mem" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh IP int bri" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh IP ospf nei" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh IP route" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh run" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh log" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "exit" & amp; VBCR
CRT. Screen. WaitForString "#", 3
CRT. Screen. WaitForString "#", 3
CRT. Screen. WaitForString "#", 3
CRT. Screen. WaitForString "#", 3
CRT. Screen. WaitForString "#", 3
CRT. The session. The Log (false)
CRT. Session. LogFileName="D: \ log \ - R7304-01. TXT"
CRT. The session. The Log (true)
CRT. Screen. Send "Telnet 3" & amp; VBCR
CRT. Screen. WaitForString "Username:
"CRT. Screen. Send "admin" & amp; VBCR
CRT. Screen. WaitForString "Password:"
CRT. Screen. Send "8411740" & amp; VBCR
CRT. Screen. Send "" & amp; VBCR
CRT. Screen. WaitForString & gt; ""
CRT. Screen. Send "enable" & amp; VBCR
CRT. Screen. WaitForString "Password:"
CRT. Screen. Send "8411740" & amp; VBCR
CRT. Screen. Send "" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "terminal length 0" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh clo" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh ver" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh inven" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh envi" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh" proc CPU & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh proc CPU hist" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh proc mem" & amp; VBCR
CRT. Screen. WaitForString "#"
CRT. Screen. Send "sh IP int bri" & amp; VBCR
CRT. Screen. WaitForString "#"
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull