H3C V5-v7版本华为交换机开启web界面命令

发布时间:2022年01月23日 阅读:104 次

V5版本华为交换机开启web界面命令:
1、进入系统视图

<H3C>sys


2、创建本地用户admin,并设置登录密码为admin,服务类型为http跟https,用户级别为3

[H3C] local-user admin
[H3C-luser-manage-admin] password simple 登陆密码
[H3C-luser-manage-admin] authorization-attribute level 3
[H3C-luser-manage-admin] service-type telnet
[H3C-luser-manage-admin] quit


3、配置交换机的管理地址:

<H3C>sys
[H3C] interface vlan-interface 1
[H3C -VLAN-interface1] ip address 192.168.10.5 255.255.255.0
[H3C -VLAN-interface1] quit
4、开启http跟https服务
[H3C]ip http enable

[H3C]ip https enable


5、保存配置
[H3C]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/backup.cfg]
(To leave the existing filename unchanged, press the enter key):

flash:/backup.cfg exists, overwrite? [Y/N]:y


------------------------------------------------------------------------------------------------


v7版本华为交换机开启web界面命令:
1、进入系统视图
<H3C>sys
2、创建本地用户admin,并设置登录密码为admin,服务类型为http跟https,用户级别为network-admin
[H3C] local-user admin
[H3C-luser-manage-admin] password simple 登陆密码
[H3C-luser-manage-admin] service-type http https
[H3C-luser-manage-admin] authorization-attribute user-role network-admin
[H3C-luser-manage-admin] quit
3、配置交换机的管理地址:
<H3C>sys
[H3C] interface vlan-interface 1
[H3C -VLAN-interface1] ip address 192.168.10.5 255.255.255.0
[H3C -VLAN-interface1] quit
4、开启http跟https服务
[H3C]ip http enable
[H3C]ip https enable
5、保存配置
[H3C]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/backup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/backup.cfg exists, overwrite? [Y/N]:y





https://blog.eqianzheng.com/
Tag:
相关文章

发表评论: