29
2024
09
16:04:42

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

环境

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:admin@huawei.com(交换机默认密码)


Confirm Password:admin@huawei.com(交换机默认密码)


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分钟才可重连,默认登录还会强制改密码




推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:http://hqyman.cn/post/8096.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏





休息一下~~


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

请先 登录 再评论,若不是会员请先 注册

您的IP地址是: