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
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明