Re: Telnet Question

2000-05-17 15:53:38
Subject: Re: Telnet Question
From: "Mahesh Tailor" <MTailor AT carilion DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Wed, 17 May 2000 15:53:38 -0400

You can use "expect" to do this.  Attached is a sample script you could
use.  This script connects to a Cisco router and tftp's the startup file. 
You can get the precompiled expect code from www-frec.bull.com.  Hope this


>>> "Brad Martin" <bmartin AT metlife DOT com> 05/17/2000 3:27:00 PM >>>

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
and issue specific commands. I'm not sure how to establish the telnet login
then pass the commands.

Brad Martin


NV-L List information (unsubscribing, policies, posting, digest version,
searchable archives): http://www.tkg.com/nv-l

Attachment: get_cisco_router.exp
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>