cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
406
Views
0
Helpful
4
Replies

Problem on telnet connection

ZAMSONI65
Level 1
Level 1

Hi, sometime I've a problem when i try to connect to a cisco router with a telnet. I try starting a telent session and the router answer back with a triple request of username but immediately after i receive the information that the connection has been "...closed by foreign host"

This behavior is not constant, other time the session goes well. i also saw that the destination router is not overloaded in this period

4 Replies 4

Hello,

what does the VTY line config look like ? It should be something like this:

line vty 0 15
password yourpassword
transport input telnet
login

Very long uptimes can sometimes also be a problem. Check the uptime of your router with:

show version | i uptime

Yes the config is similar and the system should stay up always..

line vty 0 4
 exec-timeout 5 0
 login local
 transport input telnet ssh
line vty 5 15
 exec-timeout 5 0
 login local
 transport input telnet ssh

till now is:

uptime is 34 weeks, 6 days, 33 minutes

Hello,

try to configure a password on the vty lines and check if that makes a difference...

But I have a username and password configured locally, and usually doesn't produce problems, similar to this:

3560#sh run
Building configuration...
(...)
service password-encryption

username ABCDE password 7 12345abc

Review Cisco Networking for a $25 gift card