Cisco Vs Huawei CLI 3 – (Configuring Passwords)

When a user logs in to the router by using the console port, Telnet, or SSH, the system manages the session between the user and the router on the corresponding user interface. The system supports console and VTY user interfaces. In this article, our aim is to configure Console User Interface so that user is required to enter the password before accessing the router via Console.
CISCO
line console 0 password CISCO login   line vty 0 4 password CISCO login privilege level 15
HUAWEI
user-interface con 0 set authentication password simple HUAWEI authentication-mode password   user-interface vty 0 4 set authentication password simple HUAWEI authentication-mode password user privilege level 15
NOTE: The Router provides three authentication modes: AAA, password, and non-authentication.

For Console user-interface : By default, the password is not required to access a Router via Console because the authentication mode is set to “none”

For Console vty-interface : The password is required to access a Router via Telnet because the  authentication mode is set to “password” and VTY password is not set. We need to configure it before we telnet a Router.

Cisco Vs Huawei CLI Commands in Slides