Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help

Status
Not open for further replies.

tcltoday

Technical User
Jun 12, 2003
2
US


Hi,

I am new to this TCL/Tk, can some one help me how can I use this sytem to automate the configuration on my 100's of touters and switches.

Raj.
 
That's kind of a broad question. The broad answer is, "you can use Tcl to do anything you would use any other programming language to do, only faster to program, slower to run".

So, what is it you specifically want to do?
Open a socket?
set pid [socket ?options? host port]





Bob Rashkin
rrashkin@csc.com
 

More specifically.

I have some equipments which can be accesed and configured by telnetting in to them.

How do I untilze to automate this procees.

I am novice to Tcl/tk. I have "Expect" for windows NT. I think it will not give me much functionality ( I am thinking).

How do I,

Install / Configure and write script to get my process automated for 100 of routers.

Raj.
 
Expect for windows NT does not give you the interact
command and I've heard it's a bit flaky.
Still you can do quite a bit with just it using just
send and expect.

I would break down each part of my automation into
proc's and then have a generic init that reads the
host addresses and names from a flat file or more
sophisticated database.

If you need this done and are willing to pay consulting
fees I'd be happy to do it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top