Instead of using Telnet you should use SSH to get access to a Huawei device (switch, router, wlan controller, etc.). This can be done in just four steps, both for the VRP operating system and for the new YunShan, and is described here.
SSH (or stelnet in Huawei language) access is not activated per default. Only a few configurations are necessary to activate it, but the commands are slightly different depending on the operating system (VRP or YunShan). Which operating system is used can be checked with the command display version.
<HUAWEI> system-view [HUAWEI] aaa [HUAWEI-aaa] local-user netcamp password irreversible-cipher Netcamp2023! Info: The initial password of netcamp must be changed during login. [HUAWEI-aaa] local-user netcamp privilege level 3 Warning: This operation may affect online users and will change the user privilege level, Continue? [Y/N]:y [HUAWEI-aaa] local-user netcamp service-type ssh
3.
Start SSH server, configure source interface and give user SSH access
<HUAWEI> system-view [HUAWEI] stelnet server enable [HUAWEI] ssh server-source all-interface Warning: SSH server source configuration will take effect in the next login. Continue? [Y/N]:y [HUAWEI] ssh user netcamp [HUAWEI] ssh user netcamp authentication-type password [HUAWEI] ssh user netcamp service-type stelnet