Re: OT: Disconnecting open sessions on reverse telnets

From: Brian Lodwick (xpranax@xxxxxxxxxxx)
Date: Fri Mar 15 2002 - 15:29:25 GMT-3


   
You said you tried escape characters. Have you tried changing the escape
character on the 2nd router to something different than ctrl-shift-6-x? Try
something like this on the 2nd router:
2ndRouter(config)# line 1 16
2ndRouter(config-line)# escape-character 54

Then the next time you goto log out if you only want to go back to the 2nd
router you type 6-x, and if you want to go all the way back to the first
router you type ctrl-shift-6-x.

We did this and it worked great. A little smoother method would be to
connect the 2 routers with say an ethernet like below. That way you would
just log into TS1 and reverse telnet directly connect to all devices from
there by typing the hostname, and you wouldn't have to reverse telnet to the
2nd terminal server to get to devices off of it.

In my example I have a PC directly connected via console to TS1 and each
terminal server has 8 async lines connecting to the Console or Aux ports on
8 different routers in the rack, and 1 ethernet interface connected to a hub
or switch.
Routers r1 - r8 are connected to the async lines off of TS1.
Routers r9 - r16 are connected to the async lines off of TS2:

    PC
_ |
|--TS1<
|
|
|--TS2<
-

TS1(config)# int e0
TS1(config-if)# ip address 10.0.0.1 255.255.255.0

TS1(config)# ip host r1 2001 10.0.0.1
TS1(config)# ip host r2 2002 10.0.0.1
TS1(config)# ip host r3 2003 10.0.0.1
TS1(config)# ip host r4 2004 10.0.0.1
TS1(config)# ip host r5 2005 10.0.0.1
TS1(config)# ip host r6 2006 10.0.0.1
TS1(config)# ip host r7 2007 10.0.0.1
TS1(config)# ip host r8 2008 10.0.0.1
TS1(config)# ip host r9 2001 10.0.0.2
TS1(config)# ip host r10 2002 10.0.0.2
TS1(config)# ip host r11 2003 10.0.0.2
TS1(config)# ip host r12 2004 10.0.0.2
TS1(config)# ip host r13 2005 10.0.0.2
TS1(config)# ip host r14 2006 10.0.0.2
TS1(config)# ip host r15 2007 10.0.0.2
TS1(config)# ip host r16 2008 10.0.0.2

TS2(config)# int e0
TS2(config-if)# ip address 10.0.0.2 255.255.255.0

>>>Brian

>From: "Sean C" <Upp_and_Upp@hotmail.com>
>Reply-To: "Sean C" <Upp_and_Upp@hotmail.com>
>To: <ccielab@groupstudy.com>
>Subject: OT: Disconnecting open sessions on reverse telnets
>Date: Fri, 15 Mar 2002 12:23:38 -0500
>
>Hi Group,
>
>Does anyone know how to clear the async line when exiting the console of a
>router that I am reverse-telneted into? I am telnetted from my host router
>to
>2nd router, then from the AUX port of that 2nd router to the console of a
>3rd
>router. I'm looking for a way to disconnect from the 3rd router, kill the
>exec session in the 3rd router that I have open, and be back in the 2nd
>router.
>
>We've tried escape-characters on the line ports between the 2nd and 3rd
>router. Also Cntrol-Shift-6-6, 6x, Control-C, etc but they usually kill
>all
>sessions and get me back to my 1st router - not the 2nd router. Still
>stuck.
>Any ideas?
>
>Thx,
>Sean



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