这个配置了,但是陆不了网页,是不是那个命令没有做得,
[H3C-luser-admin]service-type ?
ftp FTP service type
lan-access LAN-ACCESS service type
portal Portal service type
ppp Specify user type to ppp
ssh Secure Shell service type
telnet TELNET service type
terminal TERMINAL service type
这些那个是开启web网页呢
[H3C]dis cu
#
version 5.20, Release 5116P20
#
sysname H3C
#
undo voice vlan mac-address 00e0-bb00-0000
#
domain default enable system
#
vlan 1
#
vlan 10
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
#
local-user admin
password simple winwin999
authorization-attribute user-profile level-0
service-type lan-access
service-type ssh telnet terminal
service-type ppp
#
wlan rrm
dot11a mandatory-rate 6 12 24
dot11a supported-rate 9 18 36 48 54
dot11b mandatory-rate 1 2
dot11b supported-rate 5.5 11
dot11g mandatory-rate 1 2 5.5 11
dot11g supported-rate 6 9 12 18 24 36 48 54
#
interface NULL0
#
interface Vlan-interface10
ip address 192.168.10.1 255.255.255.0
#
interface GigabitEthernet0/0
port link-mode route
#
interface GigabitEthernet0/1
port link-mode route
#
interface GigabitEthernet0/2
port link-mode route
#
interface GigabitEthernet0/3
port link-mode route
#
interface GigabitEthernet0/4
port link-mode bridge
port access vlan 10
#
interface WLAN-Radio1/0
#
load xml-configuration
#
load tr069-configuration
#
user-interface con 0
user-interface vty 0 4
#
return
[H3C]ping 192.168.10.1
PING 192.168.10.1: 56 data bytes, press CTRL_C to break
Reply from 192.168.10.1: bytes=56 Sequence=1 ttl=255 time=1 ms
Reply from 192.168.10.1: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 192.168.10.1: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 192.168.10.1: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 192.168.10.1: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 192.168.10.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms
(0)
您好,请知:
可以使用如下命令开启WEB功能。
ip http enable
ip https enable
local-user admin
service-type http https
quit
另外检查防火墙的全策略是否有限制。
(0)
[H3C]ip https enable Error: Please configure ssl-server-policy of HTTPS server first!
U200-C 开启Web <telecom>sys System View: return to User View with Ctrl+Z. [telecom]ip http enable Info: HTTP server has been started! [telecom]interface Vlan-interface 1 [telecom-Vlan-interface1]ip address 10.0.10.1 24 [telecom-Vlan-interface1]qu [telecom]local-user abc New local user added. [telecom-luser-abc]password simple 123456 [telecom-luser-abc]service-type web (用portal与telnet来代替) ^ % Unrecognized command found at '^' position. [telecom-luser-abc]service-type ? ftp FTP service type lan-access LAN-ACCESS service type portal Portal service type ppp Specify user type to ppp ssh Secure Shell service type telnet TELNET service type terminal TERMINAL service type [telecom-luser-abc]service-type ^ % Incomplete command found at '^' position. [telecom-luser-abc]service-type portal [telecom-luser-abc]service-type telnet (必须开启才能访问) [telecom-luser-abc]authorization-attribute level 3 [H3C-luser-abc] quit //退出当前视图 # 保存配置。 [H3C] save force //保存配置
[H3C-luser-admin]service-type ? //这个是给本地用户授权指定的登录方式的
看一下 ip http en 和ip https en开了吗
(0)
undo https ssl-server-policy 这个命令配不进去
[H3C]ip http enable
[H3C-luser-admin]service-type ? 开web网页用那个方式
[H3C-luser-admin]service-type ? 这个可以先不用管,直接ip http enable和ip https enable 然后ping一下设备看能ping通吗,能ping通就浏览器登录ping通的地址,看一下能不能打开web
我上面是能拼通的,就是登陆不了[H3C]ping 192.168.10.1 PING 192.168.10.1: 56 data bytes, press CTRL_C to break Reply from 192.168.10.1: bytes=56 Sequence=1 ttl=255 time=1 ms Reply from 192.168.10.1: bytes=56 Sequence=2 ttl=255 time=1 ms Reply from 192.168.10.1: bytes=56 Sequence=3 ttl=255 time=1 ms Reply from 192.168.10.1: bytes=56 Sequence=4 ttl=255 time=1 ms Reply from 192.168.10.1: bytes=56 Sequence=5 ttl=255 time=1 ms
[H3C]ip https ssl-server-policy ? STRING<1-16> SSL server policy name [H3C]ip https ssl-server-policy STRING<1-16> [H3C]ip https enable Error: Failed to enable HTTPS server. [H3C] %Jun 23 02:31:55:700 2024 H3C HTTPD/4/Log:Failed to start HTTPS server. [H3C]
undo https ssl-server-policy 关掉这个
undo https ssl-server-policy 这个命令配不进去
怎么给命令呢
(0)
sys ip http enable ip https enable 用户权限 service-type http https
sys ip http enable ip https enable 用户权限 service-type http https
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
U200-C 开启Web <telecom>sys System View: return to User View with Ctrl+Z. [telecom]ip http enable Info: HTTP server has been started! [telecom]interface Vlan-interface 1 [telecom-Vlan-interface1]ip address 10.0.10.1 24 [telecom-Vlan-interface1]qu [telecom]local-user abc New local user added. [telecom-luser-abc]password simple 123456 [telecom-luser-abc]service-type web (用portal与telnet来代替) ^ % Unrecognized command found at '^' position. [telecom-luser-abc]service-type ? ftp FTP service type lan-access LAN-ACCESS service type portal Portal service type ppp Specify user type to ppp ssh Secure Shell service type telnet TELNET service type terminal TERMINAL service type [telecom-luser-abc]service-type ^ % Incomplete command found at '^' position. [telecom-luser-abc]service-type portal [telecom-luser-abc]service-type telnet (必须开启才能访问) [telecom-luser-abc]authorization-attribute level 3 [H3C-luser-abc] quit //退出当前视图 # 保存配置。 [H3C] save force //保存配置