首页 > 其他分享 >华为s5735交换机配置开启web页面

华为s5735交换机配置开启web页面

时间:2024-09-25 11:54:17浏览次数:3  
标签:web HTTP 回显 s5735 server 交换机 user local

环境

win10, 华为s5735交换机

配置方法

华为交换机(S5735S-L24P4S-A1)该型号交换机默认不开启web管理模式。需要通过Console口配置模式开启web管理模式,方便使用图形化界面升级操作系统

1.进入配置命令模式

Please Press ENTER.

An initial password is required for the first login via the console.

Set a password and keep it safe. Otherwise you will not be able to login via the console.

Please configure the login password (8-16)

Enter Password:[email protected](交换机默认密码)

Confirm Password:[email protected](交换机默认密码)

2.开启HTTPS服务

sys

Enter system view, return user view with Ctrl+Z.(交换机回显信息)

[HUAWEI]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.(交换机回显信息)

[HUAWEI]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.(交换机回显信息)

3.配置Web用户

[Huawei]aaa

[Huawei-aaa]local-user admin password cipher mima (local-user后的admin为用户名,cipher后的bjmut.com为密码,登陆时用此账号密码登陆)

info: A new user added (交换机回显信息)

[Huawei-aaa] local-user admin service-type http telnet (以下两行local-user后的admin需输入在上一行配置的用户名)

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. (交换机回显信息)

(local-user xxx service-type 命令需要注意:如果需要用这个账号作为多种登陆方式的用户名,则需要在service-type后加上多种登陆服务,如同时将该账号用于telnet、http和console登陆: local-user huawei service-type http telnet terminal)

[Huawei-aaa]local-user admin privilege level 15 (配置登陆账号的权限级别,15为最高级)

Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N] (交换机回显信息)

Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y

4.配置管理IP

Web配置完成后,还需要为交换机配置一个管理IP,下面以为vlanif1配置IP为例:

[Huawei]interface vlanif 1

[HUAWEI-Vlanif1]ip address X.X.X.X X.X.X.X

说明:X.X.X.X X.X.X.X vlanif1 为交换机管理地址,根据现场情况设置。

本操作手册暂定地址为192.168.1.253 255.255.255.0

`

5.配置指定HTTP/HTTPS服务器端的源接口

[HUAWEI]http server-source -i Vlanif 1

Warning: The operation will reboot the HTTP server. Continue? [Y/N]:y

Info: Succeeded in setting the source interface of the HTTP server to Vlanif1.(交换机回显信息)

Info: Succeeded in starting the HTTP secure server.(交换机回显信息)

Warning: HTTP is not a secure protocol, and it is recommended to use HTTPS.



需等待重启5分钟才可重连,默认登录还会强制改密码

标签:web,HTTP,回显,s5735,server,交换机,user,local
From: https://blog.51cto.com/bomby/12108132

相关文章

  • 基于腾讯云 AI 代码助手的Web端宝可梦图鉴实践记录
    在编程的世界里,效率和质量是永恒的追求,每一位开发者不断追求的是如何以更快的速度、更高的质量完成代码的编写与调试。另一方面,大型语言模型,凭借其强大的神经网络架构和庞大数据训练,已具有模拟人类的语言理解与创造的能力,而这种能力的突破性进展让AI编程也成为现实。本篇文章,将介绍......
  • webpack 多个css文件合并成一个
    在Webpack中,将多个CSS文件合并成一个文件通常涉及到使用MiniCssExtractPlugin插件。以下是如何配置Webpack以实现这一目标的步骤:安装必要的插件:首先,你需要安装mini-css-extract-plugin,它用于将CSS提取到单独的文件中。npminstall--save-devmini-css-extract-plugin......
  • javaWeb项目-springboot+vue+mysql财务管理系统功能说明介绍
    项目源码资源(点击链接下载):java-springboot+vue财务管理系统源码(项目源码-说明文档)资源-CSDN文库项目关键技术: 1、java技术java页面实质上也是一个HTML页面,只不过它包含了用于产生动态网页内容的JAVA代码,这些JAVA代码可以是JAVABean、SQL语句、RMI对象等。例如一个java......
  • COMP 636: Web App Mnagement simulator (FMS)
    COMP636:WebAppAssessment–S22024Milestonesubmissiondue:5pmFriday4October2024viaLearnFinalsubmissiondue:5pmTuesday29October2024viaLearnWorth:50%ofCOMP636gradeSubmitviaAkoraka|Learn,withfilessetupandavailableonG......
  • Introduction to the YouTube to WAV Conversion Website
    Title:IntroductiontotheYouTubetoWAVConversionWebsite-www.youtubetowav.topIntoday'sdigitalage,whereweconsumeavastamountofmultimediacontent,havingtheabilitytoconvertvideosintodifferentformatscanbeextremelyuseful.One......
  • WebRTC关键技术及应用场景:EasyCVR高效低延迟视频监控解决方案
    众所周知,WebRTC是一项开源的实时通信技术,它通过集成音频、视频和数据传输到Web浏览器中,使得实时通信变得简单且无需任何插件或第三方软件。WebRTC不仅是一个API,也是一系列关键技术和协议的集合,它的出现改变了传统通信方式,因此,目前WebRTC已经成为实时通信领域的重要标准,并且广泛应......
  • INFT 2064 Web Technologies
    INFT2064WebTechnologiesAssignment1SAExpiationDataAllworkistobedoneindividuallyandmustbeyourownwork.YoumustnotuseAItools,discussorshareyour@razorcodeorLINQ/LambdaC#,JavaScriptcodewithanyoneelse. Youmustonlysubmit......
  • 2.Javaweb-JSP实现数据传递和保存
    Javaweb-JSP实现数据传递和保存文章目录Javaweb-JSP实现数据传递和保存一、get与post区别二、equest对象常用方法三、内置对象--out对象JSP已经准备好的,可以直接使用的对象四、中文乱码JSP中默认使用的字符编码方式:iso-8859-1,不支持中文解决中文乱码参数传递在请求中保......
  • 1.Javaweb-搭建Web环境、初识JSP
    Javaweb-搭建Web环境、初识JSP文章目录Javaweb-搭建Web环境、初识JSP一、pc端程序架构分类:二、web服务器Tomcat三、JSP页面四、脚本语言五、Web程序常见错误六、错误替换JSP九大内置对象(包括JSP四大作用域)JSP四大作用域一、pc端程序架构分类:B/S:浏览器—服务......
  • web.database() 创建的数据库对象线程安全吗?
    免责声明:尝试谷歌,一无所获,我管理我可能谷歌搜索得不好,但我没有想法。我有一个web.py应用程序,我需要定期运行一些数据库维护任务,并且我'我希望使用线程来完成此操作,以便Python应用程序完全独立。我的问题是:为了做到这一点,我必须采取什么样的预防措施(如果有的话)?计划是在调......