进不去web管理界面,开始是可以进入的,然后我把web登录IP改成固定IP之后就无法进入了,现在恢复了出厂设置还是无法访问web管理
(0)
最佳答案
恢复出厂是没有ip的,需要登录console配置,配置之后确保电脑能ping通交换机才行
<H3C>system-view
[H3C] local-user admin
[H3C-luser-manage-admin] password simple admin
[H3C-luser-manage-admin] service-type http https
[H3C-luser-manage-admin] authorization-attribute user-role network-admin
[H3C-luser-manage-admin] quit
[H3C] interface vlan-interface 1
[H3C-VLAN-interface1] ip address 192.168.1.1 255.255.255.0
[H3C-VLAN-interface1] quit
#开启http跟https服务
[H3C]ip http enable
[H3C]ip https enable
(0)
恢复出厂是没有ip的,需要登录console配置
<H3C>system-view
[H3C] local-user admin
[H3C-luser-manage-admin] password simple admin
[H3C-luser-manage-admin] service-type http https
[H3C-luser-manage-admin] authorization-attribute user-role network-admin
[H3C-luser-manage-admin] quit
[H3C] interface vlan-interface 1
[H3C-VLAN-interface1] ip address 192.168.1.1 255.255.255.0
[H3C-VLAN-interface1] quit
#开启http跟https服务
[H3C]ip http enable
[H3C]ip https enable
(0)
暂无评论
恢复出厂 默认设备没有http功能,需要配置一下:
#进入系统视图
<H3C>system-view
#创建本地用户admin,并设置登录密码为admin,服务类型为http跟https,用户级别为network-admin管理员级别
[H3C] local-user admin
[H3C-luser-manage-admin] password simple admin
[H3C-luser-manage-admin] service-type http https
[H3C-luser-manage-admin] authorization-attribute user-role network-admin
[H3C-luser-manage-admin] quit
#配置交换机的管理地址:
[H3C] interface vlan-interface 1
[H3C-VLAN-interface1] ip address 192.168.1.58 255.255.255.0
[H3C-VLAN-interface1] quit
#开启http跟https服务
[H3C]ip http enable
[H3C]ip https enable
#保存配置
[H3C]save force
(1)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论