cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
752
Views
0
Helpful
5
Replies

Terminal Lines hanging

snarayanaraju
Level 4
Level 4

Dear Experts,

I am configuring a reverse telnet with a serial device connected to Cisco 2801 Router. The snapshot of the connectivity is below:

2801 serial router is connected to a device (OCB is name)  using a serial cable. Remote users will access this said device using the IP Address of the router with port number 200x (x=line Number)

interface Loopback0
ip address 192.10.3.30 255.255.255.255

interface Serial0/0/0
physical-layer async
no ip address
encapsulation slip
dialer in-band
async mode interactive
interface Serial0/0/1
physical-layer async
no ip address
encapsulation slip
dialer in-band
async mode interactive


line 0/0/0 0/0/1
session-timeout 10
modem InOut
no exec
transport input all
databits 7
parity even
stopbits 1
flowcontrol software
line vty 0 4
password 7 153C263F
login

The Issue is when the link is disconnected the telnet session which I made using 192.10.3.30:2001 is hanging. I need to manually reset the device (OCB) to reestablish the connection.

I have attached the config output for your reference . Please help

thanks in advance

sairam    

5 Replies 5

snarayanaraju
Level 4
Level 4

Hi,

I missed to mention that  I even tried using absolute-timer setting in line 0/0/0 0/0/1

line 0/0/0 0/0/1
session-timeout 10

absolute-timer 1

Is there any other way to solve this issue. I am focusing on to either set the timer to disconnect/tear the connection if it is not active or otherwise to accept more than one connection

sairam

Hi,

When you think the line is "hanging", have you tried keeping "ctrl+shift+6" pressed and then tapping x?

Hi Ronit,

Thanks for your response.

Yes, I tried Clt+Shift+6. No use. No key strokes is making effect.

I thought If the Idle timeout/Session timeout will solve the problem... But it didnt.

Please help

sairam

Reza Sharifi
Hall of Fame
Hall of Fame

Hi Sairam

Under line 0/0/0 0/0/1

Tty this command and test

"autohangup"

HTH

Reza

Hi,

Check the output of show process cpu whenever you face the hanging problem.Might be the vty process(virtual execution) making high utilization.

run the command sh tcp brief and then clear tcp tcb < tcb address> during when the problem creates. You can clear those TCP session one by one which is either under waiting or not usable, using the above command. You can get the tcb address from sh tcp brief.

Regards,

Ikbal

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:

Review Cisco Networking products for a $25 gift card