进入系统视图
[016PV5-EI]display version
H3C Comware Software, Version 7.1.070, Release 6319P01
Copyright (c) 2004-2020 New H3C Technologies Co., Ltd. All rights reserved.
H3C S5016PV5-EI uptime is 0 weeks, 6 days, 1 hour, 4 minutes
Last reboot reason : Cold reboot
Boot image: flash:/s5000v5_ei-cmw710-boot-r6319p01.bin
Boot image version: 7.1.070, Release 6319P01
Compiled Aug 14 2020 11:00:00
System image: flash:/s5000v5_ei-cmw710-system-r6319p01.bin
System image version: 7.1.070, Release 6319P01
Compiled Aug 14 2020 11:00:00
<016PV5-EI>system-view
System View: return to User View with Ctrl+Z.
[016PV5-EI]
创建本地用户admin,并设置登录密码为admin,服务类型为http跟https,用户级别为network-admin管理员级别
[H3C] local-user admin //创建本地用户admin
[H3C-luser-manage-admin] password simple admin //设置登录密码为admin
[H3C-luser-manage-admin] service-type http https //服务类型为http跟https
[H3C-luser-manage-admin] authorization-attribute user-role network-admin //用户级别为network-admin管理员级别
[H3C-luser-manage-admin] quit //退出当前视图

配置交换机的管理地址
[H3C] interface vlan-interface 1 //进入vlan1虚接口
[H3C-VLAN-interface1] ip address 192.168.1.58 255.255.255.0 //配置IP地址为192.168.1.50,掩码为24位
[H3C-VLAN-interface1] quit //退出当前视图
#开启http跟https服务
[H3C]ip http enable //开启http服务
[H3C]ip https enable //开启https服务
#保存配置
[H3C]save force //保存配置

此时打开浏览器,地址栏输入交换机的管理地址即可登录WEB界面。也可以使用https://192.168.22.199访问, 这样的https的方式登录WEB进行管理,在“WEB用户登录”对话框中输入用户名、密码及验证码,点击<登录>按钮后即可登录,显示WEB初始页面。成功登录后,用户可以在配置区对设备进行相关配置



H3C设备运维常用查询命令:https://www.hao0564.com/3139.html
H3C路由交换恢复出厂及修改密码:https://www.hao0564.com/2576.html
ip route-static 0.0.0.0 0 192.168.22.1