The device is running!
################################################################################
################################################################################
################################################################################
##########################<HUAWEI>
<HUAWEI>sy im
Enter system view, return user view with return command.
[HUAWEI]interface GE1
[HUAWEI]interface GE1/0/0
[HUAWEI-GE1/0/0]undo portswitch
[HUAWEI-GE1/0/0]undo shutdown
[HUAWEI-GE1/0/0]ip address 192.168.56.100 24
[HUAWEI-GE1/0/0]q
[HUAWEI]ping 192.168.56.1
PING 192.168.56.1: 56 data bytes, press CTRL_C to break
Reply from 192.168.56.1: bytes=56 Sequence=1 ttl=128 time=4 ms
Reply from 192.168.56.1: bytes=56 Sequence=2 ttl=128 time=2 ms
Reply from 192.168.56.1: bytes=56 Sequence=3 ttl=128 time=2 ms
Reply from 192.168.56.1: bytes=56 Sequence=4 ttl=128 time=4 ms
Reply from 192.168.56.1: bytes=56 Sequence=5 ttl=128 time=3 ms
--- 192.168.56.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/3/4 ms
[HUAWEI]aaa
[HUAWEI-aaa]local-user zhangsan password cipher Huawei@123
Info: A new user is added.
[HUAWEI-aaa]local-user zhansan service-type http
Error: The user does not exist.
[HUAWEI-aaa]local-user zhangsan service-type http
Info: The user zhangsan's password has been changed to be irreversible.
Warning: The service type configured contains unsecured protocol(http). It is re
commended to configure the secure service type only.
[HUAWEI-aaa]q
[HUAWEI]
[HUAWEI]http
[HUAWEI-http]service restconf
[HUAWEI-http-service-restconf]server enable
Warning: HTTP is not a secure protocol, and it is recommended to use HTTPS.
[HUAWEI-http-service-restconf]server port 8080
[HUAWEI-http-service-restconf]q
[HUAWEI-http]q