Enable the Telnet server function

7

The common cause of a login failure to the Telnet server is that the Telnet server function is disabled. By default, the Telnet server function is disabled on a switch. You can run the undo telnet [ ipv6 ] server disable command in the system view to enable the Telnet server function.



system-view

[~HUAWEI] undo telnet server disable

[*HUAWEI] commit

Other related questions:
Enable the Telnet server function
The common cause of a login failure to the Telnet server is that the Telnet server function is disabled. By default, the Telnet server function is disabled on a switch. You can run the undo telnet [ ipv6 ] server disable command in the system view to enable the Telnet server function. system-view [~HUAWEI] undo telnet server disable [*HUAWEI] commit

How to enable the Telnet server function for a WLAN device
By default, the Telnet server function is enabled for WLAN devices of V200R003 and earlier versions and disabled for WLAN devices of V200R005 and later versions. Run the telnet server enable command to enable the Telnet server function. For a Fit AP, if it has gone online on an AC, run the telnet enable command in the AP profile view of the AC to enable the Telnet service for this Fit AP.

Whether the Telnet function is enabled by default
By default, the Telnet server function is disabled. After logging in to the device through Telnet, you need to perform the following steps:
Step 1: Enable the Telnet service.
[huawei] telnet server enable //Enable the Telnet server.

Step2: Configure the IP address of the server.
[huawei] interface GigabitEthernet 0/0/0
[huawei-GigabitEthernet 1/0/0] ip address 10.1.1.1 255.255.255.0 //Configure the login IP address.
[huawei-GigabitEthernet 1/0/0] quit
[huawei]


Step 3: Configure the login account and password of Telnet server.
[huawei] aaa
[huawei-aaa] local-user huawei password irreversible-cipher %^%#6W-mT:ZGe)0B*rMm,@#$LEyI;m_bQibe=46k.,#x$vk0EyLL%^%# //Create a local user, and set the user name to huawei and password to Hello@123.[huawei-aaa] local-user huawei privilege level 3 //3. Set the priority of the local user huawei to 3.
[huawei-aaa] local-user huawei service-type telnet //Set the service type to Telnet.
[huawei-aaa] quit
[huawei]

Step 4: Configure the verification mode of the user interface.
[huawei] user-interface vty 0 4 //Enter the user interface view of VTY0 to VTY4.
[huawei-ui-vty0-4] authentication-mode aaa //Configure the authentication mode of the VTY user interface as AAA.
[huawei-ui-vty0-4] quit
[huawei]

Enabling or disabling the Telnet or SSH function on the USG6000
Enable or disable the Telnet or SSH function on the USG6000 as follows: 1. Run the following commands in the CLI to enable or disable the Telnet or SSH function: sy [USG6600-1]aaa [USG6600-1-aaa]manager-user admin [USG6600-1-aaa-manager-user-admin]service-type ? ftp FTP user ssh SSH user telnet Telnet user terminal Terminal user web Web authentication user [USG6600-1-aaa-manager-user-admin]service-type ft [USG6600-1-aaa-manager-user-admin]service-type ftp ssh te [USG6600-1-aaa-manager-user-admin]service-type ftp ssh terminal After you run the preceding commands, the admin account has only the ftp ssh terminal permission but not the telnet web permission.

Enabling or disabling the Telnet or SSH function on the USG2000&5000
Enable or disable the Telnet or SSH function on the USG2000&5000 as follows: 1. Run the following commands in the CLI to enable or disable the Telnet or SSH function: sy [USG5100]aaa [USG5100-aaa]local-user admin service-type ? dot1x 802.1X user ftp FTP user ppp Indicate PPP user ssh SSH user telnet Telnet user terminal Terminal user web Web authentication user [USG5100-aaa]local-user admin service-type ssh web telnet As shown in the preceding method, only the SSH, web, and Telnet services are enabled for the admin account. Services can be enabled as required.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top