华为交换机(S5735S-L24P4S-A1)交换机开启web管理模式

06-01 1529阅读

1.开启web配置模式

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

华为交换机(S5735S-L24P4S-A1)交换机开启web管理模式
(图片来源网络,侵删)

[HUAWEI]http server enable 

Info: The HTTP server has been already started.(交换机回显信息)

华为交换机(S5735S-L24P4S-A1)交换机开启web管理模式
(图片来源网络,侵删)

Warning: After configuring the source interface or source address, the listening socket will be created.(交换机回显信息)

3.配置Web用户

华为交换机(S5735S-L24P4S-A1)交换机开启web管理模式
(图片来源网络,侵删)

[Huawei]aaa 

[Huawei-aaa]local-user admin password cipher bjmut.com (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

3.配置管理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

`

4.配置指定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.

免责声明:我们致力于保护作者版权,注重分享,被刊用文章因无法核实真实出处,未能及时与作者取得联系,或有版权异议的,请联系管理员,我们会立即处理! 部分文章是来自自研大数据AI进行生成,内容摘自(百度百科,百度知道,头条百科,中国民法典,刑法,牛津词典,新华词典,汉语词典,国家院校,科普平台)等数据,内容仅供学习参考,不准确地方联系删除处理! 图片声明:本站部分配图来自人工智能系统AI生成,觅知网授权图片,PxHere摄影无版权图库和百度,360,搜狗等多加搜索引擎自动关键词搜索配图,如有侵权的图片,请第一时间联系我们。

相关阅读

目录[+]

取消
微信二维码
微信二维码
支付宝二维码