[HUAWEI]http server enable(开启http服务)
[HUAWEI]interface vlanif 1
[HUAWEI-Vlanif1]ip add 192.168.1.1 255.255.255.0 (配置IP地址)
[HUAWEI-Vlanif1]quit
[HUAWEI]aaa
[HUAWEI-aaa]local-user huawei password cipher huawei@123(配置用户名huawei和密码huawei@123)
[HUAWEI-aaa]local-user huawei privilege level 15(配置用户名权限)
[HUAWEI-aaa]local-user huawei service-type http(配置用户名服务类型)
[HUAWEI-aaa]quit
[HUAWEI]quit