如何开启华为交换机 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 有一些配置无法满足需求

相关推荐
旺仔.2911 小时前
Linux 信号详解
linux·运维·网络
平生幻2 小时前
TCP协议与UDP协议的区别
网络协议·tcp/ip·udp
源远流长jerry4 小时前
在 Ubuntu 22.04 上配置 Soft-RoCE 并运行 RDMA 测试程序
linux·服务器·网络·tcp/ip·ubuntu·架构·ip
虾..5 小时前
UDP协议
网络·网络协议·udp
w-w0w-w5 小时前
Unix网络编程
服务器·网络·unix
未知鱼6 小时前
Python安全开发之子域名扫描器(含详细注释)
网络·python·安全·web安全·网络安全
寂柒6 小时前
序列化与反序列化
linux·网络
志栋智能6 小时前
超自动化巡检:应对复杂IT环境的必然选择
运维·网络·安全·web安全·自动化
上海云盾-小余7 小时前
云主机安全加固:从系统、网络到应用的零信任配置
网络·安全·php
QCzblack8 小时前
见面考复现
网络