[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference lassie::ucx

Title:DEC TCP/IP Services for OpenVMS
Notice:Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System
Moderator:ucxaxp.ucx.lkg.dec.com::TIBBERT
Created:Thu Nov 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5568
Total number of notes:21492

5387.0. "telnet with command file?" by BRSTR2::SYSMAN (Dirk Van de moortel) Fri Mar 28 1997 06:39

Hi...

we have an ONCORE network rack that is programmable via TELNET.
When we want to do some management work, the easiest way is by telnet-ing
from an OpenVMS system and I wonder if we could do something like this:

	$ telnet netrack			(netrack is the tcp/ip name)
	system					(logon username)
	syspass					(logon password)
	set bridge_port 3.18 interface enable	(some command)
	logout					(logout)
	$ 					(back in DCL)

  or:   $ telnet netrack /input=some_file_with_the_commands.tel

In other words, can we redirect TELNET's sys$command to a file so we don't
have to manually enter all the commands?
This would save us lots of time...

Thanks in advance for any tip...
Dirk
T.RTitleUserPersonal
Name
DateLines
5387.1UCXAXP::GEMIGNANIFri Mar 28 1997 18:383
    As far as I know, you can't.  TELNET expects to be working on a
    terminal.  This could change in a future release, but it will not be
    changed for the currently supported and next release of UCX.