Administrator
发布于 2022-10-11 / 429 阅读
0
0

华为S5700系列交换机配置通过Web网管登录设备

华为S5700系列交换机配置通过Web网管登录设备

1.开启http服务

<HUAWEI> system-view
[HUAWEI] http server enable    //缺省情况下,设备的HTTP IPv4服务功能已开启,HTTP IPv6服务功能为关闭状态
[HUAWEI] http server-source -i MEth0/0/1    //缺省情况下,设备默认将管理IP地址192.168.1.253配置在管理网口或VLANIF1接口下,并将该接口设置为HTTP服务器端的源接口,且设备默认未指定HTTP服务器端的IPv6源地址。
Warning: The operation will reboot the HTTP server. Continue? [Y/N]:y                                                               
Info: Succeeded in setting the source interface of the HTTP server to MEth0/0/1.                                                    
Info: Succeeded in starting the HTTP secure server.                                                                                 
Warning: HTTP is not a secure protocol, and it is recommended to use HTTPS.                                                         
Info: Succeeded in starting the HTTP server.                  
[HUAWEI] quit

2.创建Web用户及其登录密码

[HUAWEI] aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher abcd@123    //创建本地用户admin123,登录密码为abcd@123

3.配置Web用户的接入类型和用户级别

[HUAWEI-aaa] local-user admin123 privilege level 15    //配置本地用户admin123的级别为15
Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]y
[HUAWEI-aaa] local-user admin123 service-type http    //配置本地用户admin123的接入类型为HTTP
[HUAWEI-aaa] quit

4.查看HTTPS服务器信息

[HUAWEI] display http server
   HTTP Server Status              : enabled
   HTTP Server Port                : 80(80)
   HTTP Timeout Interval           : 20
   Current Online Users            : 3
   Maximum Users Allowed           : 5
   HTTP Secure-server Status       : enabled
   HTTP Secure-server Port         : 443(443)
   HTTP SSL Policy                 : ssl_server
   HTTP IPv6 Server Status         : disabled
   HTTP IPv6 Server Port           : 80(80)
   HTTP IPv6 Secure-server Status  : disabled
   HTTP IPv6 Secure-server Port    : 443(443)
   HTTP server source interface    : MEth0/0/1

评论