Cisco Vs Huawei LAB C – (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.
|line console 0
line vty 0 4
|user-interface con 0
set authentication password simple HUAWEI
user-interface vty 0 4
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 Vty user-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.