如何开启华为交换机 http

系列文章目录

提示:这里可以添加系列文章的所有文章的目录,目录需要自己手动添加

例如:第一章 Python 机器学习入门之pandas的使用


提示:写完文章后,目录可以自动生成,如何生成可参考右边的帮助文档

文章目录


查看系统版本型号

powershell 复制代码
<poe1admin1>dis  version 

开启 http 服务

powershell 复制代码
[poe1admin1]http secure-server enable  

Info: The HTTP secure server has been already started.

Warning: After configuring the source interface or source address, the listening socket will be created.

(信息:HTTP 安全服务器已启动。警告:配置源接口或源地址后,将创建监听套接字。)

powershell 复制代码
[poe1admin1]http server enable 

Info: The HTTP server has been already started.

Warning: After configuring the source interface or source address, the listening socket will be created.

(信息:HTTP 服务器已启动。警告:配置源接口或源地址后,将创建监听套接字。)

创建交换机账号

powershell 复制代码
[poe1admin1-aaa]local-user 账号 password cipher 密码

Info: Add a new user.

(信息:添加新用户。)

账号开启 http telnet 权限

powershell 复制代码
[poe1admin1-aaa]local-user 账号 service-type  http telnet 

Info: The cipher password has been changed to an irreversible-cipher password.

Warning: The user access modes include Telnet, FTP, or HTTP, so security risks exist.

Info: After changing the rights (including the password, access type, FTP directory, HTTP directory, and level) of a local user, the rights of users already online do not change. The change takes effect to users who go online after the change.

(信息:密文密码已更改为不可逆密文密码。

警告: 用户访问方式包括Telnet、FTP、HTTP,存在安全风险。

提示:修改本地用户的权限(包括密码、访问类型、FTP目录、HTTP目录、级别)后,已在线用户的权限不会改变。本次变更对变更后上线的用户生效。)

账号权限

level 15 表示系统管理员

powershell 复制代码
[poe1admin1-aaa]local-user 账号 privilege level 15 

Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]:y

(警告:此操作可能会影响在线用户,您确定要更改用户权限级别吗?[Y/N]:y)

保存配置

poe1admin1\]quit sa save The current configuration will be written to flash:/vrpcfg.zip. Are you sure to continue?\[Y/N\]:y Now saving the current configuration to the slot 0... Save the configuration successfully. (当前配置将写入flash:/vrpcfg.zip。 您确定要继续吗?\[Y/N\]:y 现在将当前配置保存到插槽 0...保存配置成功。) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/ac648ae4c60747bda081f89b271a8132.png) `浏览器输入交换机地址:` ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/a91f145044554e3390070718d329a418.png) ## 总结 `提示:小白可以使用此方案:` 建议使用中端配置,WEB 有一些配置无法满足需求

相关推荐
DevSecOps选型指南1 小时前
2025软件供应链安全最佳实践︱证券DevSecOps下供应链与开源治理实践
网络·安全·web安全·开源·代码审计·软件供应链安全
利刃大大2 小时前
【在线五子棋对战】二、websocket && 服务器搭建
服务器·c++·websocket·网络协议·项目
国科安芯2 小时前
抗辐照MCU在卫星载荷电机控制器中的实践探索
网络·嵌入式硬件·硬件工程·智能硬件·空间计算
EasyDSS3 小时前
国标GB28181设备管理软件EasyGBS远程视频监控方案助力高效安全运营
网络·人工智能
玩转4G物联网3 小时前
零基础玩转物联网-串口转以太网模块如何快速实现与TCP服务器通信
服务器·网络·物联网·网络协议·tcp/ip·http·fs100p
派阿喵搞电子4 小时前
Ubuntu下有关UDP网络通信的指令
linux·服务器·网络
光芒Shine4 小时前
【物联网-ModBus-ASCII】
物联网·网络协议
hie988944 小时前
HTTP常见的请求方法、响应状态码、接口规范介绍
http
搬码临时工5 小时前
外网访问内网服务器常用的三种简单操作步骤方法,本地搭建网址轻松让公网连接
服务器·网络·智能路由器
帽儿山的枪手5 小时前
程序员必掌握的iptables五表五链
linux·网络协议