Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Clear the AUX line, reverse telnet session starts again

Hi All,

I have a rollover cable between two 3925 routers (AUX->Console) whilst I am remotely configuring a device.

I have setup reverse telnet to get access to the device needing configuration and when I try and reconnect through the Aux port again, I get an error:

Trying 192.168.1.1, 2001 ...

% Connection refused by remote host

The first time it connected without issues. If I check with who and sh line I find that the session is still idle.

I've tried to clear it with clear line aux 0, and clear line 1 which I confirm it clears it, but all that happens is the idle timer starts from 0 again.I've changed the exec-timeout to 1 minute, and after a minute the counter starts again.

Also I tried to remove the transport input telnet to break the session but its still not disconnecting.

    Line       User       Host(s)              Idle       Location

   1 aux 0                idle                 00:00:11  

*578 vty 0     jason      idle                 00:00:00 10.1.1.1

line aux 0

exec-timeout 1 0

transport output all

transport input telnet

stopbits 1

Currently running: c3900e-universalk9-mz.SPA.151-2.T4.bin

Anyone have any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Clear the AUX line, reverse telnet session starts again

Jason,

Can you actually configure your AUX 0 with no exec command? In this case, you do not want to run shell on this aux port whenever a newline comes from the attached device.

Best regards,

Peter

2 REPLIES
Cisco Employee

Clear the AUX line, reverse telnet session starts again

Jason,

Can you actually configure your AUX 0 with no exec command? In this case, you do not want to run shell on this aux port whenever a newline comes from the attached device.

Best regards,

Peter

Community Member

Clear the AUX line, reverse telnet session starts again

Hi Peter,

Thanks for the command, it worked a treat!

Regards,

Jason

1753
Views
5
Helpful
2
Replies
CreatePlease to create content