cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3657
Views
0
Helpful
8
Replies

Problem with reverse telnet

Hi,

I have a problem with a reverse telnet connection.

I have a cisco 2600series and a 2900series switch and i would like to connect each other using this technic.

Actually i take a straight throug ethernet cable and i connect the aux port of 2600 router with the console port of 2900 switch.

I am using the following commands.

On 2600:

interface loopback 0

ip address 10.1.1.1 255.255.255.255

no shut

line aux 0

transport input all

modem InOut

speed 19200

On 2900 switch i don't use any commad. Do i have to write something?

Of course after that i m using the command: telnet 10.1.1.1 2065

After that i m getting the following response:

trying 10.1.1.1:2065..... Open

with the cursor blinking.

It seems like the connection has established, but why i dont' receice a password prompt or something else?

I hit the CTRL-SHIFT-6-x and i m disconnecting from the switch. After that when i type the command: "show session" i see that i have an open connection with the switch. And of course i type the command "disc 1", in order to terminate the sessing.

Can you tell me what wrong am i doing?

Or if there is something missing in the configuration?

So silly implementation, but so difficult to connect.

Thanks

Elias

1 Accepted Solution

Accepted Solutions

Can you please mark you question as answered?

Rgds,

MiKa

View solution in original post

8 Replies 8

mrdogantr
Level 1
Level 1

Hi,

    pc------>2900(aux)---------------------------->2600(console)

connect 2900 and set commands below

line aux 0

privilege level 15

login local

modem InOut

transport input all

transport output all

interface loopback 0

ip address 10.1.1.1 255.255.255.255

no shut

(for connect to 2600)

telnet 10.1.1.1  2001     

hth

Muammer

Thanks for your reply.

The connection that i want to implement is 2600(aux)------->2900(console) and not the one that you have told me.

I believe that this is the correct order of connection or not?

I have written all these command on router 2600 and the result was that i m getting a prompt for username and password. I type the username and password that i have create on 2600 (i created also on the switch but it doesn't want it.) and i m getting the same cursor blinking message).


It's doesn't work this solution or something i am doing wrong.

Any ideas?

m.kafka
Level 4
Level 4

RJ45 to RJ45 async connection always need a roll-over cable (a RJ45 roll-over is not an ether X-over!):

Roll-Over:

1 - 8

2 - 7

3 - 6

4 - 5

5 - 4

6 - 3

7 - 2

8 - 1

this is because the console and aux on RJ45 have the exact same pin-out, eg. sending on 3, receiving on 6 (sorry can't remenber by heart, could also be the other way round)

so you need to cross-out rx and tx in the cable, which is done with a roll-over cable, you can tell easily on a flat cable if the "noses" of the RJ45 are on the same side of the flat cable (for cisco, roll over cables are typically light-blue and flat):

+-------+                         +-------+

|       |=======/ ... /===========|       |

+-------+                         +-------+

  \___                              ___/

or you can crimp your own cable like specified above

Rgds,

MiKa

I used a rollover cable and now it is working.

Thanks

Can you please mark you question as answered?

Rgds,

MiKa

How can i mark this thread as answered?

Glad to help

rgds

MiKa