If it is a newly initialized Huawei switch, you need to enter the same password two times as the login password for the login switch.
Console port meth management port USB port on switch
Through the serial cable configuration S5700 management IP address, serial cable connected to the console port of the switch, IP settings are completed after the network cable connected to the ETH port:
<Quidway> System-view
[Quidway] interface MEth 0/0/1
[Quidway] interface MEth 0/0/1
[Quidway-meth0/0/1]ip address x.x.x.x 255.255.255.0/////set the IP addresses of the meth management ports
[Quidway-meth0/0/1]quit
[Quidway]ip route-static 0.0.0.0 0.0.0.0 x.x.x.x (Gateway)
[Quidway-meth0/0/1]display IP interface MEth 0/0/1/////view configuration information for MEth management ports
[Quidway]
Add user, set SSH telent
<Quidway> System-view
[QUIDWAY]AAA
[Quidway-aaa]local-user chy Password CI
[Quidway-aaa]local-user chy Password cipher qaz123456//Set local user name and password cipher encryption
Set Telnet login S5700 (eg. set user name admin password 112233):
<Quidway> System-view
[Quidway] user-interface vty 0 4
[Quidway-ui-vty0-4] Authentication-mode AAA
[Quidway-ui-vty0-4]protocal Inbound All
[quidway-ui-vty0-4] User Privilege level 15
[Quidway-ui-vty0-4]quit
[Quidway]telnet Server Enable
[Quidway] AAA
[QUIDWAY-AAA] local-user admin password Simple 112233
[QUIDWAY-AAA] local-user admin service-type telnet
[QUIDWAY-AAA] local-user admin Privilege level 15
[QUIDWAY-AAA] Quit
Configure the login IP address
<Quidway> System-view//Enter system mode
[quidway]interface vlanif 1//Enter the three layer vlanif interface
[QUIDWAY-VLANIF1]IP address 192.168.0.1 255.255.255.0//Configuration management IP address
Create a Web Login Admin account
[quidway]http Server Enable///System view open HTTP service
[quidway]http secure-server Enable///System view to enable HTTP Security service as HTTPS
[QUIDWAY]AAA//System view into AAA mode
[Quidway-aaa]local-user Admin Privilege level 15///Configure HTTP Login Permissions
[quidway-aaa]local-user Admin Service-type http//enable HTTP login service
[quidway-aaa]quit//exit AAA mode
Huawei Switch S5700 set up remote ssh telnet login