Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reverse Telnet on a 2511 ? 1

Status
Not open for further replies.

justvistin

Technical User
Dec 8, 2001
18
GB
Hello all. I've just spent the morning trying to set up reverse telnet from a Cisco 2511 to devices in a home lab (Cisco switches and routers).

I have a single Octal cable currently connected to 'ASYNC 1-8', but the furthest I've managed to get is:

Terminal#telnet test3
Trying test3 (172.16.1.1, 2003)...
% Connection refused by remote host

The basic config for reverse telnet seems simple enough (output below), but I've been unable to connect to the remote devices.

I'm assuming that the RJ-45 connections on the end of the Octal cable connect to the remote devices console port, but would welcome confirmation on this (most of the online guides just adivse things like 'The octal cable has one large serial connector that will connect to the access server, and eight rj-45 connectors that will connect to your other home lab devices.').

If no one can spot any problems with the config or the cabling, any suggestions on how to tech this further would be appreciated. eg any debugging commands to check the remote device(s) are seeing the incoming session, or any way to check the Async port is good (ASYNC ports 8-16 failed also...)

Opinions or advice welcome.

Terminal#sh run
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Terminal
!
enable secret 5 $1$nw9J$Xb1GpsOAScVVKg.ma3yfS0
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
ip host test11 20011 172.16.1.1
ip host test4 2004 172.16.1.1
ip host test3 2003 172.16.1.1
ip host test 2001 172.16.1.1
ip host test8 2008 172.16.1.1
ip host test7 2007 172.16.1.1
ip host test6 2006 172.16.1.1
ip host test5 2005 172.16.1.1
ip host test2 2002 172.16.1.1
!
!
!
!
interface Loopback0
ip address 172.16.1.1 255.255.255.255
no ip directed-broadcast
!
interface Ethernet0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
no fair-queue
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
ip classless
no ip http server
!
!
line con 0
logging synchronous
transport input none
line 1 16
line aux 0
password aux
transport input all
line vty 0 4
password cisco
login
!
end

Terminal#$




 
I've had similar problems with setting this up, and IOS version has made a difference. I've also actually had some bad ports on the octal cable.
 
Justvistin,

I have a NM-16 module on a 2610 and here is my config. Not sure for a 2511, but i think you have to add the commands below the tty lines 1 16.

AccessServer#show run
Building configuration...

Current configuration : 917 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname AccessServer
!
enable secret 5 $1$b25j$Dr0cMtvOwZuTz44.RUHdD0
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
ip host S2 2039 1.1.1.1
ip host S1 2037 1.1.1.1
ip host R1 2036 1.1.1.1
ip host Core 2038 1.1.1.1
ip host Frame 2035 1.1.1.1
ip host SDM 2040 1.1.1.1
ip host R2 2034 1.1.1.1
ip host R3 2033 1.1.1.1
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Ethernet0/0
ip address 192.168.2.12 255.255.255.0
!
interface Serial0/0
no ip address
shutdown
!
interface Serial0/1
no ip address
shutdown
!
ip classless
ip http server
!
!
line con 0
exec-timeout 0 0
logging synchronous
line 33 48
exec-timeout 0 0
no exec
transport input all
line aux 0
line vty 0 4
exec-timeout 60 0
password 123
logging synchronous
login
!
end

Also check out these links:
 
Added the below and now all is working...


Terminal(config)#line 1 22
Terminal(config-line)#exec-timeout 0 0
Terminal(config-line)#transport input all
Terminal(config-line)#no exec

Fantastic - I was about to junk the idea....
 
Even if you would have left it at 'line 1 16' I think you just needed the 'transport input all'.. If you run into issues later sometimes you have to clear the lines (at least with my IOS version.. LoL) then she works like a dandy!

B Haines
CCNA Security, CCNA R&S, ETA FOI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top