Page 1 of 1 1
Topic Options
#133191 - 2005-01-31 11:00 PM Passing logon and other params
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
I am trying to automate a way to log in and do a set of specific commands to cisco equipment.

Is there a way that I can pass the username, password and commands through a telnet session?
_________________________
Today is the tomorrow you worried about yesterday.

Top
#133192 - 2005-01-31 11:06 PM Re: Passing logon and other params
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Yes, the @UserID and commands easy, but the password you would have to prompt for first.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#133193 - 2005-01-31 11:40 PM Re: Passing logon and other params
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
I assume that you would use telnet, but once you shell out to do the telnet, how do you send the information back to the telnet session?
_________________________
Today is the tomorrow you worried about yesterday.

Top
#133194 - 2005-02-01 12:08 AM Re: Passing logon and other params
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
You can feed a telnet prompt a file taht it will read commands from... or.....

COM object used to telnet to a pop3 account

you can find the DLL here, http://www.dimac.net go to free downloads, and download the w3Sockets

Bryce

Top
#133195 - 2005-02-01 12:15 AM Re: Passing logon and other params
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Thanks just grabbed it. Will start in on it tonight. Beginning to get bigger by the second.
_________________________
Today is the tomorrow you worried about yesterday.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 507 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.056 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org