Forum

sign on and configu...
 
Notifications
Clear all

sign on and configuration script

0 Posts
2 Users
0 Reactions
209 Views
(@ajaytank)
New Member
Joined: 6 years ago
Posts: 2
Topic starter  

Hi,
I am looking for sample code to manage configuration CISCO 500x switch through programming on serial connection and run some configuration commands in batch and script .
What will be a good source of such scripts or hints for coding them?
I am coding:

1.start Absolute telnet
2.Pause 2000
3. Some vbscript
4. show version
5. log to file
6.save running configuration

Ajay


   
ReplyQuote
(@bpence)
Member Admin
Joined: 11 months ago
Posts: 1375
 

Did you read the scripting intro here?

http://www.celestialsoftware.net/terminal-features/vbscript-scripting-in-absolutetelnet/ssh-version-7.html

Absolute can send/receive text to/from the shell within vbscript inside of a connection.

Hopefully this is at least close to what you need.


   
ReplyQuote
(@ajaytank)
New Member
Joined: 6 years ago
Posts: 2
Topic starter  

Brian,
I have started working on the vbscript.
This post was the starting point.
I hope to get it working soon.
Some sample scripts would help tremendously.

thanks
Ajay


   
ReplyQuote
(@bpence)
Member Admin
Joined: 11 months ago
Posts: 1375
 

Try these..... Some basic examples....

https://www.celestialsoftware.net/category/tutorials/script-examples/

Absolute exposes a certain number of functions that augment the VBScript with capabilities of the terminal. Of course, what you do is limited only by your imagination and the capabilities of VBScript. B

This post was modified 5 months ago by bpence

   
ReplyQuote
Share: