s5110设置web登录地址后用admin登录提示登录失败,console模式恢复出厂设置后再次设置,输入authoraition-attribute user-role network-admin和service-type http https命令后均提示unrecognized command found at ^ position web登录admin还是登录失败。请问如何恢复出厂及设置web登录?
(0)
最佳答案
The saved configuration file will be erased. Are you sure? [Y/N]:Y //确定删除保存的配置文件
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Current configuration will be lost, save current configuration? [Y/N]:N //不保存配置
This command will reboot the device. Continue? [Y/N]:Y //继续重启
web:
配置关键点:
1、给交换机配置IP地址:
<H3C>system
System View: return to User View with Ctrl+Z.
[H3C]vlan 10
[H3C-vlan10]quit
[H3C]int vlan 10
[H3C-Vlan-interface10]ip address 192.168.10.1 255.255.255.0
[H3C-Vlan-interface10]undo shutdown
[H3C-Vlan-interface10]quit
[H3C]int gi 1/0/1
[H3C-GigabitEthernet1/0/1]port link-type access
[H3C-GigabitEthernet1/0/1]port access vlan 10
[H3C-GigabitEthernet1/0/1]quit
2、开启HTTP HTTPS功能
[H3C]ip http enable
[H3C]ip https enable
3、创建用户名、密码,并赋予HTTP HTTPS的权限
[H3C]local-user admin
New local user added.
[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]
(0)
您好,还需要全局开启,参考
2、开启HTTP HTTPS功能
[H3C]ip http enable
[H3C]ip https enable
3、创建用户名、密码,并赋予HTTP HTTPS的权限
[H3C]local-user admin
New local user added.
[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
(1)
输入local-user admin后下一步变成h3c-luser-admin,另外怎么恢复出厂
(0)
reset save
reset save
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明