cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2444
Views
0
Helpful
11
Replies

Another reverse telnet topic, AUX -> CON

Sorry in advance for another topic about this but I have gone through every other related topic and nothing has helped.

 

So I have a c819hg and a c2960cx. I want to do reverse telnet from 819 aux port to c2960 console port. I plug in a rollover cable rj45 to rj45 between them.

 

I have started with disabling the console port on the 819 (it is necessary to get the aux available since they share the physical port)

#819

 line con 0

  no modem enable

 

Then I put in the necessary configuration for the aux line:

#819

 line aux 0
  access-class AUX-REVERSE-TELNET in
  login authentication AUX-AUTHEN
  no exec
  transport input telnet
  transport output none
  stopbits 1

 

Nothing special on the console port of the 2960

#2960

 line con 0

  privilege level 15
  password 7 ###########
  login authentication LOCALAUTH
  stopbits 1

 

What happens is that I get connection, if I have authentication requirments configured on 819 then I get the prompt to provide this. After this nothing happens. Since I get the authentication prompt from the 819 I can surmise that there is no problem with the access list or the authentication setup. I have also tried removing them.

 

If I check the aux line for 819 it looks okay:

 

#819

Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 1 AUX 9600/9600 - - - - - 9 0 0/0 -

Line 1, Location: "", Type: "xterm"
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 1 stopbits, 0 databits
Status: Ready, Connected, Active
Capabilities: EXEC Suppressed
Modem state: Ready
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch
never never none not set
Idle Session Disconnect Warning
never
Login-sequence User Response
00:00:30
Autoselect Initial Wait
not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:00:12
Editing is enabled.
History is enabled, history size is 20.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are telnet.
Allowed output transports are none.
Preferred transport is telnet.
Shell: enabled
Shell trace: off
No output characters are padded
No special data dispatching characters

 

On the 2960 there is no activity at all on the line. 

 

819 has a serial interface as well. I have done basically the same thing there but reverse telnet over the serial interface instead (with a bunch of cables and adapters in between to get the pinlayout correct) and that works without any issues. The problem is I want to use a rj45 to rj45 and not this cable mess for a more permanent solution.

 

Any help would be greatly appriciated!

11 Replies 11

rasmus.elmholt
Level 7
Level 7
I think I had to do a Modem InOut when I did it on another device.
Got this to work on a 1841: http://mars.merhot.dk/w/index.php/Configure_AUX_to_Console_Relay

Unfortunately I have tried this as well. Still the same result. Line looks okay but nothing from the CON switch:

 

#819

Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
0 CTY - - - - - 0 0 0/0 -
* 1 AUX 9600/9600 - inout - - - 1 0 0/0 -

Hello,

try the below:

 

line aux 0

modem InOut

access-class AUX-REVERSE-TELNET in
login authentication AUX-AUTHEN
no exec
transport input all
transport output all
stopbits 1

Tried this as well, still nothing. I also made sure the cable was working so that wasn't the issue.

Hello,

 

have you tried local authentication:

 

line aux 0
modem InOut
login local
no exec
transport input all
transport output all
stopbits 1

Cant issue that command. Only "login authentication <name>" is allowed. The method specified right now points to a group that does not need to authenticate:

 

aaa authentication login AUX-AUTHEN none

 

 

 

 

 

Hello,

 

this is because you have 'aaa new-model' configured. Remove that to get the 'login local' option...

Oh okay, removed that and issued the command. Still nothing..

Hello,

 

we are running out of options...(:

 

What if you configure 'no exec' on the aux ?

 

What is the output of 'show line' ? I am just wondering if maybe the baud rate (should default to 9600/9600) has changed...

no exec is configured on the aux line right now. I've tried turning it on as well.

 

Right now the baud rate shows 0/0. I have also tried setting the baud rate to 9600 and that doesnt help either :/

 

This router was running an expremental software so I also tried upgrading it. Right now running 15.5(3)M5. This did not help either.

 

I noticed a strange thing. The router has only one console port so it share the console with the aux port. I always thought that I had to configure "no modem enable" on the console line to force the router to use the aux port instead. However when I try to connect it through console right now with the current config it still works. So Im not sure if this is normal or if the aux port is not really "enabled" 

 

 

Sergey Rozanov
Level 1
Level 1

Hello!

Did you find the solution? I have the same problem with 4221 aux-con combo port.

Thank you!

Review Cisco Networking for a $25 gift card