- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2011 06:27 AM - edited 03-06-2019 05:02 PM
Hi all,
I'm using Packet Tracer.
I can't remotely access the other two switches via telnet. I already have configured the default gateway on the switches.
I have 3 switches. I have a PC connected to the console port on Switch1 and I want to access (telnet) Switch2 and Switch3 but it's giving me an error msg:
OFFICE1>telnet 10.65.0.3
Trying 10.65.0.3 ...Open
[Connection to 10.65.0.3 closed by foreign host]
OFFICE1>
Switch1 = 10.65.0.5
Switch2 = 10.65.0.3
Switch3 = 10.65.0.4
Default Gateway = 10.65.0.1
What's wrong with this? Pls help...
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2011 06:46 AM
configure a password on the line vty and check if it works..
You can check with the following configuration:
switch(config)#line vty 0 15
switch(config-line)#password cisco
switch(config-line)#transport input telnet
switch(config-line)#login
switch(config-line)#exit
Hope this helps..
Regards,
ranraju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2011 06:35 AM
I can ping the switches.. it's fine.. but still can't access telnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2011 06:46 AM
configure a password on the line vty and check if it works..
You can check with the following configuration:
switch(config)#line vty 0 15
switch(config-line)#password cisco
switch(config-line)#transport input telnet
switch(config-line)#login
switch(config-line)#exit
Hope this helps..
Regards,
ranraju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2011 06:58 AM
thanks a lot buddy..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2020 08:30 AM
Hi mr. Ranraju,
I’m facing the same issue here as Vansanity02 as well. Input the necessary command on line vty as you’ve demonstrated, however I still get the same error message (connection closed by foreign host), without any other prompt.
What could be be the reason?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2023 05:17 AM
I tried this solution but still the same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2023 08:13 AM
Thank you guys. To add to this section, I highly recommend you to read "Cisco Guide to Harden Cisco IOS Devices" article.
You can find it here: https://www.cisco.com/c/en/us/support/docs/ip/access-lists/13608-21.html
