RE: Reverse telnet on Catalyst c3560, c3550, c2950 possible?

From: Antonio Soares (amsoares@netcabo.pt)
Date: Thu Feb 01 2007 - 09:29:58 ART


Strange, I've never seen Aux Ports in these type of switches. How were you
able to configure the Aux 0 in your SW1 ? And usually, the procedure is
connecting the Aux Port of one device to the Console Port of the other
device.

R1--Aux 0====Roll-Over-Cable=====Con 0--R2

Then you do a telnet to a local ip in R1 to get access to R2. The telnet
port is 2000+tty #.

Regards,
Antonio

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Daniel Kutchin
Sent: quinta-feira, 1 de Fevereiro de 2007 11:16
To: ccielab@groupstudy.com
Cc: wolfgang.kunkel@computacenter.com
Subject: Reverse telnet on Catalyst c3560, c3550, c2950 possible?

Folks,

 

I can't configure reverse telnet on my catalyst switches to use their
console ports as a terminal server.

Did I miss something, or this is not an available feature on Catalyst c3560,
c3550, c2950 switches?

 

Here is the well known procedure (at least on Cisco routers):

Say, you want to access switch sw2 (it could be a router as well) via
reverse telnet from sw1.

Join the console ports with a flat Cisco (roll-over) cable .

 

 sw1 |CON|-----|CON| sw2

 

Don't need to do anything else on sw2 (except to set line-login and enable
passwords)

 

sw1(config)# line aux 0

sw1(config-line)# no exec

sw1(config-line)# transport input all

sw1(config-line)# transport output all

sw1(config-line)# stopbits 1

sw1(config-line)# exit

sw1(config)#

sw1(config)#

sw1(config)# int loopback0

sw1(config-if)# ip add 1.1.1.1 255.255.255.255

sw1(config-if)# end

sw1#

sw1#

sw1# show line con 0

   Tty Line Typ Tx/Rx A Modem Roty AccO

     0 CTY 9600/9600 - - - -

sw1#

sw1# !-----*----line 0,

sw1# !- then reverse-telnet on sw1-loobpack0 int, port 2000 +0,

sw1# !- to access sw2

sw1#

sw1#telnet 1.1.1.1 2000

sw1# Trying 1.1.1.1, 2000 ...

% Connection refused by remote host

 

Just for curiosity, I have tried telnet port 2001 and physical interfaces as
well - to no avail.

 

sw1#telnet 1.1.1.1 2001

Trying 1.1.1.1, 2001 ...

% Connection refused by remote host

 

sw1#telnet 192.168.0.18 2000

Trying 192.168.0.18, 2000 ...

% Connection refused by remote host

 

sw1#telnet 192.168.0.18 2001

Trying 192.168.0.18, 2001 ...

% Connection refused by remote host

 

 

 

---

Daniel Kutchin



This archive was generated by hypermail 2.1.4 : Thu Mar 01 2007 - 07:38:45 ART