一台旧的S5500-28C-EI delete配置文件后reboot,配置ip http enable,配ip,配一个user admin如何配置权限可以使用web的全部功能 ?
一台旧的S5500-28C-EI delete配置文件后reboot,配置ip http enable,配ip,配一个user admin:
local-user admin
password simple a123456789
service-type telnet
service-type lan-access
service-type ftp
service-type web之后浏览器访问这个ip,输入admin和密码,弹出页面只有网络诊断页面,这是正常的吗?之后在console口admin用户下配置
authorization-attribute user-role guest-manager,再次浏览器访问这个ip,admin登录后,弹出页面什么都不显示,这是怎么回事?怎么解决?
(0)
可以的,配置一下最高权限,参考:
V5版本吧:
# 进入系统视图,并开启web服务。
<H3C> system-view
[H3C] ip http enable
# 给交换机配置管理vlan1配置ip地址
[H3C] interface vlan-interface 1
[H3C-VLAN-interface1] ip address 192.168.0.58 255.255.255.0
[H3C-VLAN-interface1] quit
# 创建本地账号abc,密码为123456,权限级别为Level3。
[H3C] local-user abc
[H3C-luser-abc] password simple 123456
[H3C-luser-abc] service-type web
[H3C-luser-abc] authorization-attribute level 3
[H3C-luser-abc] quit
# 保存配置。
[H3C] save force
#配置交换机的管理地址:
[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
(0)
[backup5500]local-user admin [backup5500-luser-admin]authorization-attribute user-role ? guest Specify the local user to act as a guest guest-manager Specify the local user to act as a guest manager security-audit Specify the local user to act as a security auditor [backup5500-luser-admin]level ? ^ % Unrecognized command found at '^' position.
在哪报错
怎么登录的,是不账户权限问题
authorization-attribute 后面直接跟leve
您好,参考
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
(0)
[backup5500]local-user admin [backup5500-luser-admin]authorization-attribute user-role ? guest Specify the local user to act as a guest guest-manager Specify the local user to act as a guest manager security-audit Specify the local user to act as a security auditor
[backup5500-luser-admin]level ? ^ % Unrecognized command found at '^' position.
[backup5500]local-user admin [backup5500-luser-admin]authorization-attribute user-role ? guest Specify the local user to act as a guest guest-manager Specify the local user to act as a guest manager security-audit Specify the local user to act as a security auditor
不支持"level 3"和"network-admin",请看一下:
[backup5500]local-user admin
[backup5500-luser-admin]authorization-attribute user-role ?
guest Specify the local user to act as a guest
guest-manager Specify the local user to act as a guest manager
security-audit Specify the local user to act as a security auditor
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
authorization-attribute 后面直接跟leve