cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
829
Views
0
Helpful
3
Replies

Setting up Telnet

hurley081182
Level 1
Level 1

I am trying to setup Telnet on my Cisco 2900 Series K9.  I have read a bunch of articles to see if what I am doing wrong.  All the articles are pretty much the same thing:

Router>enable
Router#configure terminal
Router(config)#enable secret password
Router(config)#service password-encryption
Router(config)#line vty 0 4
Router(config-line)#password password
Router(config-line)#login
 
I have done this a bunch of times and still receive the error could not open connection to the host on port 23 connect failed.  Here is my show line:
 


   Tty Line Typ     Tx/Rx    A Modem  Roty AccO AccI  Uses  Noise Overruns  Int
*     0    0 CTY              -    -      -    -    -     0      0    0/0      -
      1    1 AUX   9600/9600  -    -      -    -    -     0      0    0/0      -
      2    2 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -
    644  644 VTY              -    -      -    -   23     0      0    0/0      -
    645  645 VTY              -    -      -    -   23     0      0    0/0      -
    646  646 VTY              -    -      -    -   23     0      0    0/0      -
    647  647 VTY              -    -      -    -   23     0      0    0/0      -
    648  648 VTY              -    -      -    -   23     0      0    0/0      -
    649  649 VTY              -    -      -    -   23     0      0    0/0      -
    650  650 VTY              -    -      -    -   23     0      0    0/0      -
    651  651 VTY              -    -      -    -   23     0      0    0/0      -
    652  652 VTY              -    -      -    -   23     0      0    0/0      -
    653  653 VTY              -    -      -    -   23     0      0    0/0      -
    654  654 VTY              -    -      -    -   23     0      0    0/0      -
    655  655 VTY              -    -      -    -   23     0      0    0/0      -
    656  656 VTY              -    -      -    -   23     0      0    0/0      -
    657  657 VTY              -    -      -    -   23     0      0    0/0      -
    658  658 VTY              -    -      -    -   23     0      0    0/0      -
    659  659 VTY              -    -      -    -   23     0      0    0/0      -

Line(s) not in async mode -or- with no hardware support:
3-643

 

 

Here is my vty 0 4 :

 

 

line vty 0 4
 access-class 23 in
 privilege level 15
 password password
 login local
 transport input telnet
 transport output telnet ssh

 

Any ideas whats wrong?  Thanks!

 

 

1 Accepted Solution

Accepted Solutions

the first thing that pop out for me is the  access-class 23 in, can you try and remove that and see if it works.

 

Secondly on your show line, I do not see the vty lines 0 - 4 at all, it seems they begin from 644 to 659...which is kind of weird for me. If your access-list is not blocking, I would suggest you configure your Vty line as:

line vty 644 659

which seems odd but would actually resolve your issue because those are the lines available on your device.

HTH,

 

Manny.

View solution in original post

3 Replies 3

the first thing that pop out for me is the  access-class 23 in, can you try and remove that and see if it works.

 

Secondly on your show line, I do not see the vty lines 0 - 4 at all, it seems they begin from 644 to 659...which is kind of weird for me. If your access-list is not blocking, I would suggest you configure your Vty line as:

line vty 644 659

which seems odd but would actually resolve your issue because those are the lines available on your device.

HTH,

 

Manny.

Yep removing that acl did the trick.  Thanks for the help! 

glen.grant
VIP Alumni
VIP Alumni

Get rid of the login local under the vty , that is trying to call a locally defined username and password which you don't appear to be using .  Also you have an ACL on the vty so whatever address range you are trying to telnet in from must be allowed in that ACL.

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco