Got it

S5700 Telnet Failed

Latest reply: Jun 11, 2020 11:50:52 4541 6 0 0 0


Recently received two new switches, model S5700-52P-LI-AC (V200R001C00), I've tried configure the authentication-mode password user the user-interface vty.

However , the telnet fail but telnet will be successful if the authentication mode is aaa.

Below are the config:

#

user-interface con 0
 user-interface vty 0 4
  authentication-mode password
 user privilege level 1
user-interface vty 16 20

#


While debugging vty negotiate, the error "EXEC do not support null authentication-mode".

Is there any issue with this switch or my configuration have problem?

Hi,

 

There have been several changes to the authentication on these devices in recent versions, from the example you have given it seems to me that you need to add the "set authentication password cipher mypassword" command to enable the authentication fully. The "null" in the debug is indicating you have set the authentication to use password but not set a password.

 

Regards Nigel

 

View more
  • x
  • convention:

Hi Nigel,


I did type in the command "set authentication password cipher mypassword".

But after typing, the command don't appear in the current-configuration.

I have even tried "set authentication password" <enter> "mypassword".

Same result as above.

View more
  • x
  • convention:

Hi all,


Problem solved.

I just realise it's due to the password length.

No error message when I key in password length which exceeded the 56 characters.

When I change to a shorter password, the authentication works.


But still don't understand why the cipher encryption in AAA could accept the same password.

Might be possible that AAA cipher encryption type differs from the user-interface cipher encryption type?

View more
  • x
  • convention:

Very pleased
View more
  • x
  • convention:

well done
View more
  • x
  • convention:

Nice job
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.