cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7091
Views
4
Helpful
17
Replies

2511 Terminal server setup

uzmausmani
Level 1
Level 1

I'm trying to setup a 2511 as a terminal server. I've connected the ethernet port to the console port of the device I need remote access to. Followed all the steps on this page http://www.cisco.com/en/US/tech/tk801/tk36/technologies_configuration_example09186a008014f8e7.shtml#cs

I've given the loopback a non routable IP (172.22.2.1) and used the same to define my IP host

ip host router 2008 172.22.2.1

but when I telnet from the 2511 using the command telnet 172.22.2.1 2008 it telnets to the 2511 itself and hangs!!! what am I doing wrong? Do I need to do anything on the device that I want to have remote access to?

17 Replies 17

Richard Burts
Hall of Fame
Hall of Fame

Uzma

There is not anything that you would need to do on the device that you want remote access to. But I think the main problem is shown in your statement that "I've connected the ethernet port to the console port of the device I need remote access to". You should connect one of the cable of the async interface on the 2511 and not its Ethernet to the console port of the other device.

HTH

Rick

HTH

Rick

No I must have mistyped it. My ethernet port has the public IP on it and is connected to the LAN. The Aux port which has the connector with 16 cables coming out of it is connected to the console port of the device.

Uzma

We can only deal with what you tell us. So please be careful to be accurate in your description of what is going on.

I do not believe that the Aux port supports the connector with 16 cables. If you are really using the Aux port then I believe that it would be a single cable. And if you are really using the 16 port connector then I believe that it must be the Asyn connection.

If you are using the 16 cable connector then the question would be whether you are really using cable 8. What you describe in your post would use cable 8. The symptoms that you describe of attempting the connection and it hanging would be produced if you were using a physical connection that was not the first cable 8 (are you perhaps using the second cable 8 in the connector - which would be treated as 16 in your config)?

HTH

Rick

HTH

Rick

Sorry for the confusion. I'm setting up a terminal server for the first time. I am using the 16 cable connector but they are all physically numbered from before. Thats the number I am using as the line number for the connection. I tried changing the cables from no. 8 to the one numbered 1, modified the ip host command but when I telnet using the command telnet 172.22.2.1 200x it always telnets into itself and hangs...I've tried using different x in the hope that maybe I have been using the wrong line number but it gives me the same result. I dont know what else to do. Please help. Thanks.

You are using the first TTY line for your reverse telnet. Can you confirm that you are connecting that first line to the device to which you want to console? Can you specify what kind of cable connection you are using? Can you confirm that the device to which you want to console will accept a direct connection on the console port.. if all is good then chk the two async ports on 2511 router.The lower port is labeled ASYNC 1-8, and the upper port is labeled ASYNC 9-16. Could it be that you are connecting to the upper port which is line 9-16?

tom.storey
Level 1
Level 1

You need to connect line 8 from your octal cable(s) to the console port of the other device if you are telnetting to port 2008.

The likely reason it is "hanging" is that you are not getting a response from the other device, possibly because you have the wrong terminal cable plugged in, or the port settings dont match at both ends.

To determine if it has really hung, first press Ctrl-Alt-6 and let go, then press X. This should drop you back to the console of the 2511. Press enter to resume your session.

Hi Guys,

I'm reading this with great interest, as I have the same problem as Uzma, and could really do with some help. First of all, I have a 2511 access server (IOS 10.2) with two octal cables connected to a stack 11 routers and switches (various flavours of IOS from 11.x to 12.3). I've also have followed the configuration instructions in the following link : http://www.cisco.com/en/US/tech/tk801/tk36/technologies_configuration_example09186a008014f8e7.shtml#cs

However, when I reverse telnet to a device from the access server (via a PC connected to the Ethernet port), I have the same problem i.e. Telnet opens, and the cursor drops to the next line with no response from the device. CTRL+SHIFT+6 X returns me to the access server prompt.

I have taken care to do the following:

1. Connect the correct rolled cable to the target device console port in line with the port configured in the host table.

2. Configured the access servers tty lines 1 16 in the manner prescribed.

3. Configured the target devices console port in the manner prescribed.

I've yet to try upgrading the access server, and replacing one or other octal cable.

This is troubling me as this should be a straight forward setup, but is proving otherwise. Help would be much appreciated.

Nevski

Nevski

It would be helpful if you would post your config. We can tell much more from that than we can from your saying that it is configured as proscribed.

Also if you connect a console cable from the PC directly to the target device do you get a successful console session?

HTH

Rick

HTH

Rick

Hi Rick

I'll send the configs over this evening. Yes I can directly telnet into the target device via a directly connected Cisco rolled cable and have got a successful session.

Speak soon

Neville

Hi Rick

Apologies for not getting back to you sooner. Here are the configs I have been working with.

Let me know what you think.

Thanks

Neville

Neville

While I am not sure that I see any big issues in the configurations I do have a couple of suggestions for changes. On the target router you have this configured under line console 0:

transport preferred telnet

Pretty obviously the console does not do telnet. So I suggest that you remove this.

On the access server you have this configured under line 1 16:

transport input telnet

transport output telnet

but you really do not want these lines to do telnet. I suggest that you remove these lines or move them to the vty lines where you apparently do want to do telnet.

Give these changes a try and let us know if the behavior changes.

HTH

Rick

HTH

Rick

Hi Rick

I have taken your advice and applied the changes you suggested. In fact, I erased the configs from both routers and started again. Unfortunately, the reverse telnet still does not work. I have run "debug ip packet" with term mon on, in-order to see what is going on.

Here is the output. I thought that perhaps there is a cabling issue but now I'm not so sure.

Your thoughts would be appreciated.

Thanks

Neville

Neville

First a suggestion: remove both of these lines under the configuration of line 1 16:

transport input none

transport output none

probably the best way is to configure:

line 1 16

default transport input

default transport output

and then an observation: there is a serious mismatch between what you have posted as the configuration of the access server and the output of debug. The configuration clearly shows that ROUTER-BB1 is at 172.16.1.1 but the debug shows that attempting to reach ROUTER-BB1 results in:

access-server#router-bb1

Trying ROUTER-BB1 (192.168.1.1, 2004)... Open

How does 172.16.1.1 turn into 192.168.1.1? I am not sure whether there is some case sensitive issue about the name, or whether you have been editing the config information before posting it, or whether you have a seriously buggy version of code.

Perhaps it would be helpful if you would post the output of show ip interface brief and the output of show host from the access server.

You might also try testing by using just the ip address rather than the name:

telnet 172.16.1.1 2004

HTH

Rick

HTH

Rick

Hi Rick,

My apologies, I've changed the loopback from 172.16.1.1 to 192.168.1.1. I'll try the defual transport input/output comands later this evening. Here are the latest configs and the debug output again.

Cheers

Neville

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: