1.開啟web配置模式
華為交換機(jī)(S5735S-L24P4S-A1)該型號交換機(jī)默認(rèn)不開啟web管理模式。需要通過Console口配置模式開啟web管理模式,方便使用圖形化界面升級操作系統(tǒng)
1.進(jìn)入配置命令模式
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(交換機(jī)默認(rèn)密碼)
Confirm Password:admin@huawei.com(交換機(jī)默認(rèn)密碼)
2.開啟HTTPS服務(wù)
<HUAWEI>sys
Enter system view, return user view with Ctrl+Z.(交換機(jī)回顯信息)
[HUAWEI]http secure-server enable?
Info: The HTTP secure server has been already started.(交換機(jī)回顯信息)
Warning: After configuring the source interface or source address, the listening socket will be created.(交換機(jī)回顯信息)
[HUAWEI]http server enable?
Info: The HTTP server has been already started.(交換機(jī)回顯信息)
Warning: After configuring the source interface or source address, the listening socket will be created.(交換機(jī)回顯信息)文章來源:http://www.zghlxwxcb.cn/news/detail-755918.html
3.配置Web用戶
[Huawei]aaa?
[Huawei-aaa]local-user admin password cipher bjmut.com (local-user后的admin為用戶名,cipher后的bjmut.com為密碼,登陸時用此賬號密碼登陸)?
info: A new user added (交換機(jī)回顯信息)
[Huawei-aaa] local-user admin service-type http telnet (以下兩行l(wèi)ocal-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. (交換機(jī)回顯信息)
(local-user xxx service-type 命令需要注意:如果需要用這個賬號作為多種登陸方式的用戶名,則需要在service-type后加上多種登陸服務(wù),如同時將該賬號用于telnet、http和console登陸: local-user huawei service-type http telnet terminal)?
[Huawei-aaa]local-user admin privilege level 15 (配置登陸賬號的權(quán)限級別,15為最高級)
Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N] (交換機(jī)回顯信息)
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
3.配置管理IP
Web配置完成后,還需要為交換機(jī)配置一個管理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 為交換機(jī)管理地址,根據(jù)現(xiàn)場情況設(shè)置。
本操作手冊暫定地址為192.168.1.253 255.255.255.0
`
4.配置指定HTTP/HTTPS服務(wù)器端的源接口
[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.(交換機(jī)回顯信息)
Info: Succeeded in starting the HTTP secure server.(交換機(jī)回顯信息)
Warning: HTTP is not a secure protocol, and it is recommended to use HTTPS.文章來源地址http://www.zghlxwxcb.cn/news/detail-755918.html
到了這里,關(guān)于華為交換機(jī)(S5735S-L24P4S-A1)交換機(jī)開啟web管理模式的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!