Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

No telnet access

Hello all,

I have a 3750G stack (of two switches) running 12.2 IPBASE

A username and password is configured.

1 SVI is created and is up/up (it is the IP address of the switch).

The following configurations exist:

aaa new-model

aaa authentication login default local

aaa session-id common

line vty 0 4

exec-timeout 0 0

logging synchronous

transport preferred telnet

transport input telnet

transport output telnet

I'm able to ping and telnet from this switch to other devices. I'm able to ping this switch from other devices, but can't telnet to it. I get the following message:

% Connection refused by remote host

I've also tried removing aaa new-model and using login local under the vty lines, but I still have the same problem.

Has anyone come across this issue? Any help is appreciated.

Everyone's tags (6)
2 ACCEPTED SOLUTIONS

Accepted Solutions
New Member

Re: No telnet access

Did you create a username? :)

Sent from Cisco Technical Support iPhone App

New Member

Re: No telnet access

Can you see if you can do
Clear line 1
Clear line 2
Etc...

Sent from Cisco Technical Support iPhone App

20 REPLIES
New Member

Re: No telnet access

Configure enable secret

Sent from Cisco Technical Support iPhone App

New Member

No telnet access

Yes, I do have enable secret configured.

New Member

Re: No telnet access

Do you have any accesslist configured. And try remove aaa new model and put login local under vty . Also put transport input telnet under vty

Sent from Cisco Technical Support iPhone App

New Member

No telnet access

No accesslist configured. Tried with login local and transport input telnet under vty lines as well. That's why I'm confused...I've tried all the basic things.

No telnet access

Can you telnet form the switch itself (telnet to it's own SVI IP-address), perhaps with some aaa-debugging?

What IOS version are you using?

Regards

Rolf

New Member

No telnet access

Doh! I have not tested that yet. I'll need a console connection (I'm not currently on site)...need to test that out next time I get a console connection.

As for the version it's 12.2(35)SE5

Hardware: 2 x WS-C3750G-24TS-1U (stack)

No telnet access

As for the version it's 12.2(35)SE5

Pretty old - perhaps a good occasion for an update to something like 12.2(55)SE4?

New Member

No telnet access

Agreed...there's some pretty old stuff in that environment. Including a WS-C2950T-24 running IOS 12.0(5.2)WC(1)

New Member

Re: No telnet access

That's interesting...I can't even telnet from the switch itself to it's own SVI.

I had debug enabled (no output).

debug aaa authentication

I get the same message as when I try to telnet from another switch.

% Connection refused by remote host

New Member

Re: No telnet access

Hi there

Try this.
Line vty 0 15
Login local

Sorry just re read the post.

Please ignore
:)
See if that helps

Sent from Cisco Technical Support iPhone App

New Member

Re: No telnet access

Did you create a username? :)

Sent from Cisco Technical Support iPhone App

New Member

No telnet access

Yes, an existing username (with privilege 15) and password exists.

Sorry, I clicked on "Correct Answer" by mistake.

I'll try creating another username and test.

New Member

Re: No telnet access

Please try to generate crypto key and see if the ssh works
You may need to create domain name and to create crypto key generate rsa modulus 1024

Sent from Cisco Technical Support iPhone App

New Member

Re: No telnet access

I have no option to enable crypto or ssh.

The IOS is c3750-ipbase-mz.122-35.SE5

I may need to upgrade.

New Member

Re: No telnet access

Yeah you need the k9image


Sent from Cisco Technical Support iPhone App

New Member

Re: No telnet access

Please do
show line
Show sessions

And paste it here

Sent from Cisco Technical Support iPhone App

New Member

Re: No telnet access

show line
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
*    0 CTY              -    -      -    -    -     10      11     0/0       -
*    1 VTY              -    -      -    -    -     11       0     0/0       -
*    2 VTY              -    -      -    -    -      5       0     0/0       -
*    3 VTY              -    -      -    -    -      8       0     0/0       -
*    4 VTY              -    -      -    -    -      2       0     0/0       -
*    5 VTY              -    -      -    -    -      1       0     0/0       -
*    6 VTY              -    -      -    -    -      1       0     0/0       -
*    7 VTY              -    -      -    -    -      1       0     0/0       -
*    8 VTY              -    -      -    -    -      4       0     0/0       -
*    9 VTY              -    -      -    -    -      1       0     0/0       -
*   10 VTY              -    -      -    -    -      4       0     0/0       -
*   11 VTY              -    -      -    -    -      2       0     0/0       -
*   12 VTY              -    -      -    -    -      1       0     0/0       -
*   13 VTY              -    -      -    -    -      1       0     0/0       -
*   14 VTY              -    -      -    -    -      1       0     0/0       -
*   15 VTY              -    -      -    -    -      4       0     0/0       -
*   16 VTY              -    -      -    -    -      1       0     0/0       -

show sessions
% No connections open

New Member

Re: No telnet access

Can you see if you can do
Clear line 1
Clear line 2
Etc...

Sent from Cisco Technical Support iPhone App

New Member

Re: No telnet access

Thanks! That was it. I hadn't even thought about checking the lines (duh)

New Member

Re: No telnet access

Np
It's always good to put an exec-timeout so sessions can timeout

Sent from Cisco Technical Support iPhone App

1870
Views
0
Helpful
20
Replies
CreatePlease login to create content