Got it

acces from router ATN950B to ATN950B by telnet or ssh

Created: Mar 20, 2018 06:50:45Latest reply: May 19, 2020 01:12:23 2385 4 1 0 0
  Rewarded HiCoins: 0 (problem resolved)
Hello ,
 I work in a project huawei ATN950B metro mpls


the ATN950B router is automatically created username and password for telent and ssh 
so then I am trying to try to acces to remote AN950B by username, it will tell me auth failed ..


So how i can solve the problem of access  from router ATN950B to remote router ATN 950B as I change username and password default?

i change default  "  aaa     local-user root password cipher ....  """  but  auth failed  ""

thnaks


Featured Answers
Radu
Created Mar 21, 2018 18:04:28

Hello,

The error of Authentication failed can refer to any of the requirements for telnet access, not only username and password.

Please check the following points.

Configure SSH and Telnet for the VTY User Interface

1.     Run: system-view

The system view is displayed.

2.     Run: user-interface [ vty ] first-ui-number [ last-ui-number ]

The VTY user interface is displayed.

3.     Run: authentication-mode aaa

The AAA authentication mode is configured.

4.     Run: protocol inbound all

The VTY user interface is configured to support SSH and Telnet protocols.

 

Configure an SSH User and Specify the Service Types

1.     Run: system-view

The system view is displayed.

2.     Run: ssh user user-name

An SSH user is created.

If password authentication is configured for the SSH user, create the same SSH user in the AAA view

3.     Run: ssh user username service-type { stelnet | all }

The service type of the SSH user is configured.

 

Configure the User Access Level and User Authentication Mode of the VTY User Interface

When the user authentication mode of the VTY user interface is set to AAA authentication, the access type of the local user must be specified.

1.    Run: system-view

The system view is displayed.

2.    Run: aaa

The AAA view is displayed.

3.    Run: local-user user-name password cipher password

A username and password for the local user are created.

4.    Run: local-user user-name service-type telnet ssh terminal

The access type of the local user is set to Telnet, SSH and console.

5.    Run: quit

You have exited the AAA view.

6.     Run:

user-interface vty first-ui-number [ last-ui-number ]

The VTY user interface view is displayed.

7.    Run: authentication-mode aaa

The authentication mode is set to AAA authentication.

 

Enable the Telnet Service

1.     Run: system-view

The system view is displayed.

2.     Run: telnet server enable

The Telnet service is enabled.

 

Enable the STelnet Server Function

1.     Run: system-view

The system view is displayed.

2.     Run: stelnet [ ipv4 | ipv6 ] server enable

The STelnet server function is enabled.

 

View more
  • x
  • convention:

All Answers
waiting for help
View more
  • x
  • convention:

what solution ?
View more
  • x
  • convention:

Hello,

The error of Authentication failed can refer to any of the requirements for telnet access, not only username and password.

Please check the following points.

Configure SSH and Telnet for the VTY User Interface

1.     Run: system-view

The system view is displayed.

2.     Run: user-interface [ vty ] first-ui-number [ last-ui-number ]

The VTY user interface is displayed.

3.     Run: authentication-mode aaa

The AAA authentication mode is configured.

4.     Run: protocol inbound all

The VTY user interface is configured to support SSH and Telnet protocols.

 

Configure an SSH User and Specify the Service Types

1.     Run: system-view

The system view is displayed.

2.     Run: ssh user user-name

An SSH user is created.

If password authentication is configured for the SSH user, create the same SSH user in the AAA view

3.     Run: ssh user username service-type { stelnet | all }

The service type of the SSH user is configured.

 

Configure the User Access Level and User Authentication Mode of the VTY User Interface

When the user authentication mode of the VTY user interface is set to AAA authentication, the access type of the local user must be specified.

1.    Run: system-view

The system view is displayed.

2.    Run: aaa

The AAA view is displayed.

3.    Run: local-user user-name password cipher password

A username and password for the local user are created.

4.    Run: local-user user-name service-type telnet ssh terminal

The access type of the local user is set to Telnet, SSH and console.

5.    Run: quit

You have exited the AAA view.

6.     Run:

user-interface vty first-ui-number [ last-ui-number ]

The VTY user interface view is displayed.

7.    Run: authentication-mode aaa

The authentication mode is set to AAA authentication.

 

Enable the Telnet Service

1.     Run: system-view

The system view is displayed.

2.     Run: telnet server enable

The Telnet service is enabled.

 

Enable the STelnet Server Function

1.     Run: system-view

The system view is displayed.

2.     Run: stelnet [ ipv4 | ipv6 ] server enable

The STelnet server function is enabled.

 

View more
  • x
  • convention:

Very pleased, thanks! acces from router ATN950B  to ATN950B by telnet or ssh-3308432-1
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.