No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Telnet Login

Configuring Telnet Login

Networking Description

In Figure 2-6, 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.

Figure 2-6  Configuring Telnet login


  1. 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
  2. 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
  3. 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
  4. 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 19:49:11.
          First login successfully.
    <Telnet Server>
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 195934

Downloads: 3214

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next