RE: [RE: Breaking out of trace with telnet server]

From: Brad Hedlund (BHedlund@xxxxxxxxxxxxxxxxxxx)
Date: Sat Jan 08 2000 - 18:50:30 GMT-3


   

If you were to daisy-chain telnet sessions then you might want to create a
different escape character for the first or more routers in the chain.

Consider the following scenario:

 R1----telnet-----R2----telnet------R3

Lets say for example R2 is my terminal server. However I am not connected
to R2's console port.
Instead, Iam telneting into R2 via IP or reverse-telnet from R1.

Once telneted into R2, I then do a reverse-telnet session to R3. While in
R3 if I were to use the usual escape sequence CTRL+SHIFT+6 X ... I would be
brought all the way back to R1, not R2!
Remember, since I started from R1 ... R1 is also watching for the escape
sequence too.

To solve this I would create a different escape character on R1:

line vty 0 4
    escape-character 23

23 is the ASCII code for W.

Having done that,
if I again daisy-chained a telnet to R3 from R1, and at R3 I hit
"CTRL+SHIFT+6 X"
I would be brought back to R2. If I wanted to go back to R1 I would type
"CTRL+SHIFT+6 W"

-Brad

>
> Thanks to all who replied.. ctl-shft-6 without "x" does work ok.
> I can not see any good reasons for creating other escape
> sequences that
> would outweigh the price of having to remember a unique one
> for each router.
> Am I missing something?
>
> Again, thanks..
>
>
> Curtis
>
>
>
> Brad Hedlund <BHedlund@LifeTimeFitness.com> wrote:
>
> You shouldnt get thrown back to the terminal server unless
> you hit X after
> the break sequence.
>
> When I want to break out of a ping or traceroute I just hold
> down CTRL and
> SHIFT and pound on the 6 key a few times. Thats always works.
>
> -Brad
>
>
> >
> > What's the simplest and easiest way to configure the lab
> > routers to respond to
> > the break-key sequence, ctl-shft-6 (for breaking out of a
> > failing trace for
> > instance)when using a reverse telnet session from a terminal
> > server without
> > being trown back to terminal server prompt?
> >
> >
> > Thanks,
> >
> > Curtis
> >



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:22:43 GMT-3