Re: How Well Do You Know Your Terminal Server?

From: Frank Jimenez (franjime@xxxxxxxxx)
Date: Mon Aug 20 2001 - 02:05:39 GMT-3


   
Michael,
   While being far from a 'guru' on terminal services, I did run across the fol
lowing command in the documentation. Never tried the 'terminal download' comma
nd but would be interested in hearing from anyone if this works for real....

Frank Jimenez, CCIE #5738
franjime@cisco.com

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/fun_c/fc
prt1/fctrmopr.htm#3673
(watch word wrap...)
-----------------------------------------------------------------

Configure Data Transparency for File Transfers

Data transparency enables the Cisco IOS software to pass data on a terminal con
nection without the data being interpreted as a control character.

During terminal operations, some characters are reserved for special functions.
 For example, Ctrl-Shift-6-X (^^x) suspends a session. When transferring files
over a
terminal connection (using the Xmodem or Kermit protocols, for example), you mu
st suspend the recognition of these special characters to allow a successful fi
le
transfer. This process is called data transparency.

You can set a line to act as a transparent pipe so that programs such as Kermit
, Xmodem, or CrossTalk can download a file across a terminal line. To temporari
ly
configure a line to act as a pipe for file transfers, use the following command
 in EXEC mode:
 Command - Purpose
 terminal download - Set up the terminal line to act as a transparent pipe for
file transfers.

The terminal download command is equivalent to using all the following commands
.

     terminal telnet transparent

     terminal no escape-character

     terminal no hold-character

     terminal no padding 0

     terminal no padding 128

     terminal parity none

     terminal databits 8

At 12:35 PM 08/19/2001 -0500, Michael Snyder wrote:
>Ran across something that surprised the crap out of me. I was trying to
>upload an ios image to a router behind a terminal server. Needless to say,
>the escape characters and control characters blew the upload out of the
>water.
>
>So I started doing some research. Question, do you think blocking port 2001
>on a terminal server Ethernet interface would block access to reverse telnet
>line 1? Nope, you lose.
>
>There's three sets of reverse telnet ports. In my case 2001-2016 are the
>normal telnet ports, ports 4001-4016 are in streaming mode and ports 6001-6016
>are in binary mode.
>
>Try it. Telnet to port 4001 on your terminal server.
>
>So what is telnet streaming and binary mode? I don't know, other than what
>the names imply. My reference to steaming mode only said 'lack of telnet
>flow control'.
>
>Is there any Guru's out there who know the uses of these other reverse telnet
>port sets?
>
>BTW, I never did get the image uploaded. Did get 2 megs out of the 6 megs of
>image size uploaded using port 4001 and x-modem-1k before it errored out.
>Could have been my dialup connection that caused the errors. I drove 40 miles
>the next day to go fix the problem.
>
>Does anyone know the correct way to xmodem an image to a router via a terminal
>server line?
>
>
>BTW, in a thread last week, a question was what the other ctrl-shift-6
>commands do. I found these listed as.
>
>Ctrl^b Break
>Ctrl^c Interrupt Process
>Ctrl^h Erase Character
>Ctrl^o Abort Output
>Crtl^l Confirm you are at the host
>Ctrl^u Erase Line
>**Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:54 GMT-3