12-25-2009 12:18 AM - edited 03-04-2019 07:03 AM
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
12-25-2009 03:03 AM
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
12-25-2009 05:07 AM
Hi,
When you think the line is "hanging", have you tried keeping "ctrl+shift+6" pressed and then tapping x?
12-25-2009 08:14 AM
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
12-25-2009 02:54 PM
Hi Sairam
Under line 0/0/0 0/0/1
Tty this command and test
"autohangup"
HTH
Reza
12-27-2009 07:06 AM
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
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: