Got it

How Do I Configure Telnet Login?

Latest reply: Jun 4, 2022 11:16:57 1264 5 5 0 0
Q: How Do I Configure Telnet Login?
A: In Figure1, users want to configure and manage devices easily. To meet this requirement, AAA authentication can be configured on the server for Telnet users, and a security policy can be configured to ensure that only the users matching the security policy can log in to the devices.

Figure1 Configuring Telnet login
How Do I Configure Telnet Login?-2651799-1

Step1: Set the server port number and enable the server function.
<HUAWEI> system-view
[HUAWEI] sysname Telnet Server
[*HUAWEI] commit
[Telnet Server] undo telnet server disable
[*Telnet Server] telnet server port 1025

Step2: Set parameters for the VTY user interface.
# Set the maximum number of VTY user interfaces.
[*Telnet Server] user-interface maximum-vty 8
[*Telnet Server] commit
# Specify the IP address of the host allowed to log in to the device.
[~Telnet Server] acl 2001
[*Telnet Server-acl4-basic-2001] rule permit source 32
[*Telnet Server-acl4-basic-2001] rule deny source 32
[*Telnet Server-acl4-basic-2001] quit
[*Telnet Server] user-interface vty 0 7
[*Telnet Server-ui-vty0-7] acl 2001 inbound
# Set an authentication mode for the VTY user interface.
[*Telnet Server-ui-vty0-7] authentication-mode aaa
[*Telnet Server-ui-vty0-7] quit

Step3: Configure login user information.
# Set an authentication mode for login users.
[*Telnet Server] aaa
[*Telnet Server-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
[*Telnet Server-aaa] local-user admin1234 service-type telnet
[*Telnet Server-aaa] local-user admin1234 level 3
[*Telnet Server-aaa] commit
[Telnet Server-aaa] quit

Step4: Log in to the client.
Run the following command at the Windows command line prompt of PC1 to log in to the device using Telnet.
C:\Documents and Settings\Administrator> telnet 1025
Press Enter, and input the configured user name and password in the login window. If authentication succeeds, the command line prompt of the user view is displayed, indicating that you have successfully logged in to the device.
Info: The max number of VTY users is 8, the number of current VTY users online is 1, and total number of terminal users online is 1.
      The current login time is 2012-08-04 11:49.
      First login successfully.
<Telnet Server>

You can also find the answer in Common Login Operations in Common Operation Guide.

This post was last edited by user_2718035 at 2012-08-04 11:49.

This article contains more resources

You need to log in to download or view. No account? Register

  • x
  • convention:

Admin Created Jun 1, 2022 02:34:51

For more information on configuring Telnet, you can refer to
Configuring Telnet Login on Huawei Switches

View more
  • x
  • convention:

Admin Created Jun 1, 2022 02:34:51

For more information on configuring Telnet, you can refer to
Configuring Telnet Login on Huawei Switches

View more
  • x
  • convention:

Author Created Jun 4, 2022 08:42:35

Telnet is a network protocol used to virtually access a computer and provide a two-way collaborative, text-based communication channel between two machines.
View more
  • x
  • convention:

Created Jun 4, 2022 10:28:22

Good share
View more
  • x
  • convention:

Created Jun 4, 2022 10:29:44

Good, thanks for sharing
View more
  • x
  • convention:

Created Jun 4, 2022 11:16:57

Good one
View more
  • x
  • convention:


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

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


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.