Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to close open telnet connections on Cisco 5350

Status
Not open for further replies.

ilkertanli

Programmer
Jun 9, 2004
21
US
My problem is a little weird. First I disabled the connection timeout from console and since then whenever I close a telnet session its actually not closed on the server side... Here is the output:

AMSTLX#who
Line User Host(s) Idle Location
2 vty 0 ilker idle 2w4d 64.95.xx.xx
3 vty 1 ilker idle 2w4d 64.95.xx.xx
4 vty 2 ilker idle 2w2d 64.95.xx.xx
5 vty 3 ilker idle 1w0d 64.95.xx.xx
* 6 vty 4 ilker idle 00:00:00 64.95.xx.xx

I have tried disconnect command but it didn't work:

AMSTLX# disconnect 2
?Invalid connection name
AMSTLX# disconnect 2
?Invalid connection name
AMSTLX# disconnect telnet ?
<cr>

AMSTLX# disconnect telnet 2
^
% Invalid input detected at '^' marker.

Interface User Mode Idle Peer Address


AMSTLX#disconnect telnet 2 vty 0
^
% Invalid input detected at '^' marker.



When I typed "where" there wasn't any open connections....

AMSTLX#where
% No connections open



By the way this is IOS version 12.2. I appreciate for any help...

Thanks;

Ilker Tanli
 
Code:
clear line x

Where 'x' is the VTY line number. The disconnect command is applicable to telnet sessions you have made from the console out - i.e. you telnet'd to another router from the console or a telnet session into the current router and you 'jumped' back to the original session with <CTRL>^.

HTH

Andy

 
That works! Thanks a lot... I was getting crazy...

Thanks;

Ilker Tanli
 
disconnect 2" and "disconnect 3" works in OpenVMS...:)

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top