From: Daniel Kutchin (daniel@kutchin.com)
Date: Thu Feb 01 2007 - 08:15:54 ART
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