1、输入ip http enable 启用交换机的http功能,出现 Unrecognized command found at '^' position.
2、输入ip https enable 启用交换机的http功能,出现 Unrecognized command found at '^' position.
3、输入 authorization-attribute level 3 (级别为0-3,设定用户级别为管理员), 出现 Unrecognized command found at '^' position.
4、配置了IP进去WEB管理,输入了用户名与密码,进去了页面,但无法设置,左上角有管理-系统访问,但密码不正确。
请教一下以上问题,这个机子能不能用web管理,还是要命令去设置,还是有更简单的办法设置VLAN汇聚划分??
多谢各位大神。
(0)
最佳答案
视图是不是进错了,应该支持
# 进入系统视图,并开启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>system-view
System View: return to User View with Ctrl+Z.
[H3C]vlan 5
[H3C-vlan5]quit
[H3C]vlan 6
[H3C-vlan6]quit
[H3C]vlan 7
[H3C-vlan7]quit
方法一:在VLAN 5视图里面将GigabitEthernet1/0/5口加入VLAN 5中:
[H3C-vlan5]port GigabitEthernet1/0/5
[H3C-vlan5]quit
方法二:在GigabitEthernet1/0/5的接口视图下,将PVID属性改为VLAN 5:
[H3C]interface GigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]port access vlan 5
[H3C-GigabitEthernet1/0/5]quit
GigabitEthernet1/0/6 、GigabitEthernet1/0/7口以及加入VLAN6、VLAN7的方式也如此,此处不在赘述
(0)
Press ENTER to get started. <H3C> <H3C> %Apr 1 23:55:28:329 2000 H3C SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 loginsys System View: return to User View with Ctrl+Z. [H3C]ip http enable ^ % Unrecognized command found at '^' position. [H3C]interface vlan-interface 1 [H3C-Vlan-interface1] ip address 192.168.10.233 255.255.255.0 Warning: Address already exists! [H3C-Vlan-interface1]quit [H3C]local-user admin [H3C-luser-admin]password simple admin1234 [H3C-luser-admin]service-type web ^ % Unrecognized command found at '^' position. [H3C-luser-admin]authorization-attribute level 3 ^ % Unrecognized command found at '^' position. [H3C-luser-admin]service-type telnet level 3 [H3C-luser-admin]quit [H3C]save force Invalid file name!
您好,请知:
从反馈的信息来看应该是配置的模式不对,以下是配置参考命令:
# 进入系统视图,并开启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
# 可复制如下内容直接粘贴到设备命令行,实现快速配置,注意提前修如下标粗部分改账号和密码,以及设备的管理地址。
System-view
ip http enable
interface vlan-interface 1
ip address 192.168.0.58 255.255.255.0
quit
local-user abc
password simple 123456
service-type web
authorization-attribute level 3
quit
save force
# 进入本地账号abc视图,直接配置新密码为654321即可,然后退出保存。
[H3C] local-user abc
[H3C-luser-abc] password simple 654321
[H3C-luser-abc] quit
[H3C] save
保证电脑和设备的网络可达之后,在浏览器里面输入设备的管理地址并回车,浏览器会显示web网管的登录页面
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
Press ENTER to get started. <H3C> <H3C> %Apr 1 23:55:28:329 2000 H3C SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 loginsys System View: return to User View with Ctrl+Z. [H3C]ip http enable ^ % Unrecognized command found at '^' position. [H3C]interface vlan-interface 1 [H3C-Vlan-interface1] ip address 192.168.10.233 255.255.255.0 Warning: Address already exists! [H3C-Vlan-interface1]quit [H3C]local-user admin [H3C-luser-admin]password simple admin1234 [H3C-luser-admin]service-type web ^ % Unrecognized command found at '^' position. [H3C-luser-admin]authorization-attribute level 3 ^ % Unrecognized command found at '^' position. [H3C-luser-admin]service-type telnet level 3 [H3C-luser-admin]quit [H3C]save force Invalid file name!