-
Junior Member
Reputation: 10
SIU Procedure
Any one can help, how to upload script to a SIU using Winfiol and using an script .xml, also the most usefull commands to use in Winfiol? thank you in advance.
-
2014-03-05 03:57 AM
# ADS
Circuit advertisement
-
Junior Member
Reputation: 6
Re: SIU Procedure
Hai my friends Louisco,
I usually using SecureCRT to load script. But i think will be the same with winfiol.
If u have it try this SOP :
1. Connect to SIU with Config IP 192.168.1.1.
2.Disconnected again.
3. Prepare your script and than change your extesion file name xml to txt file. Remember where you saved the files.
4. Run "LoadScript file from Run Menu. Important thing, you must be change loadscript on line 12 as where the files saved.
You may copy The script below and save it as vbs file with the name LoadScript.vbs. Use total comander to open vbs script
# $language = "VBScript"
# $interface = "1.0"
Const ForReading = 1
Const ForWriting = 2
Sub Main
Dim fso, file, str
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.OpenTextFile("C:\SIU_ftp_home\SIUCFG\SIU_Site_Name.txt", ForReading, False)
crt.Screen.Synchronous = True
crt.Session.Connect "/TELNET 192.168.1.1 23"
crt.Screen.WaitForString "ogin:"
crt.Screen.Send "admin" & vbCr
crt.Screen.WaitForString "assword:"
crt.Screen.Send "hidden" & vbCr
crt.Screen.WaitForString "OSmon>"
Do While file.AtEndOfStream <> True
str = file.Readline
crt.Screen.Send str & Chr(13)
crt.Screen.WaitForString "OSmon>"
Loop
crt.Screen.Synchronous = False
End Sub
Don't forget to change this line ;
Set file = fso.OpenTextFile("C:\SIU_ftp_home\SIUCFG\SIU_Site_Name.txt", ForReading, False)
with where the script saved dan file name script.
5. Check consistant
6. execute with commit
That all my friends. :-)
-
Junior Member
Reputation: 6
Re: SIU Procedure
Hai my friends Louisco,
I usually using SecureCRT to load script. But i think will be the same with winfiol.
If u have it try this SOP :
1. Connect to SIU with Config IP 192.168.1.1.
2.Disconnected again.
3. Prepare your script and than change your extesion file name xml to txt file. Remember where you saved the files.
4. Run "LoadScript file from Run Menu. Important thing, you must be change loadscript on line 12 as where the files saved.
You may copy The script below and save it as vbs file with the name LoadScript.vbs. Use total comander to open vbs script
# $language = "VBScript"
# $interface = "1.0"
Const ForReading = 1
Const ForWriting = 2
Sub Main
Dim fso, file, str
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.OpenTextFile("C:\SIU_ftp_home\SIUCFG\SIU_Site_Name.txt", ForReading, False)
crt.Screen.Synchronous = True
crt.Session.Connect "/TELNET 192.168.1.1 23"
crt.Screen.WaitForString "ogin:"
crt.Screen.Send "admin" & vbCr
crt.Screen.WaitForString "assword:"
crt.Screen.Send "hidden" & vbCr
crt.Screen.WaitForString "OSmon>"
Do While file.AtEndOfStream <> True
str = file.Readline
crt.Screen.Send str & Chr(13)
crt.Screen.WaitForString "OSmon>"
Loop
crt.Screen.Synchronous = False
End Sub
Don't forget to change this line ;
Set file = fso.OpenTextFile("C:\SIU_ftp_home\SIUCFG\SIU_Site_Name.txt", ForReading, False)
with where the script saved dan file name script.
5. Check consistant
6. execute with commit
That all my friends. :-)
-
Junior Member
Reputation: 10
Re: SIU Procedure
Thank you spiderman, actually I don´t even try this way, because it looks confused to me, but anyway thaks for you reply and also I´ll will share a doc how to do it by console, I hope it works for ever buddy and can have some rep..
http://www.4shared.com/office/WXog9O...uration_a.html
-
Junior Member
Reputation: 12
Re: SIU Procedure
Hi
Why not use SELMA ( SIU Element Manager ) it is more easy to load scripts and delete .
BR
-
Junior Member
Reputation: 10
Re: SIU Procedure
Thank you Mouroalgarvio, I haven`t work with SELMA if you have the latest version and a doc how to use will be grateful.
regards
Bookmarks