Brad,
you can use Reflection2 for this kind of job. This is a product that
allows you to telnet interactive sessions. But it also has a script
editor that allows you to write batch command files that can do this. The
script language is actually VisualBasic (with some extra specific Reflection
commands) so that's easy to learn.
Anyway, I am also interested in receiving a sample of perl script that uses
the telnet module.
Kindest Regards,
Bernard Baudoux
* : 02/56(88).524.68
* : 1GA2H
e-mail : bernard.baudoux@fortisbank.com
> -----Original Message-----
> From: Brad Martin [SMTP:bmartin@metlife.com]
> Sent: Wednesday, 17 May, 2000 21:27
> To: nv-l@tkg.com
> Subject: [NV-L] Telnet Question
>
>
>
>
>
> How can I perform non-interactive telnet session from a script that runs
> from an
> AIX machine? I would like to write a script that will telnet to a Cisco
> device
> and issue specific commands. I'm not sure how to establish the telnet
> login and
> then pass the commands.
>
>
> Brad Martin
> MetLife
>
>
>
>
>
> _________________________________________________________________________
>
> NV-L List information (unsubscribing, policies, posting, digest version,
> searchable archives): http://www.tkg.com/nv-l
|