# Take AAA authentication as an example. Set the user name and password to admin123 and Huawei@123 respectively.
Ensure that the Telnet function has been enabled before performing this operation.

The following uses the command lines of the S7700 in V200R006C00 as an example.
<HUAWEI> system-view [HUAWEI] user-interface vty 0 [HUAWEI-ui-vty0] protocol inbound telnet //By default, switches in V200R006 and earlier versions support Telnet, and switches in V200R007 and later versions support SSH. [HUAWEI-ui-vty0] authentication-mode aaa [HUAWEI-ui-vty0] quit [HUAWEI] aaa [HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123 [HUAWEI-aaa] local-user admin123 service-type telnet [HUAWEI-aaa] local-user admin123 privilege level 15 [HUAWEI-aaa] return <HUAWEI> save
More Information: S Series Switches Common Operation Guide