網絡故障(network failure)是指由于硬件的問題、軟件的漏洞、病毒的侵入等引起網絡無法提供正常服務或降低服務質量的狀態。 控制臺端口設置密碼 切換控制臺端口設置密碼 [sw1]user-interface console 0
[sw1-ui-console0]authentication-mode password
[sw1-ui-console0]set authentication password ?
cipher Set the password with cipher text
simple Set the password in plain text
[sw1-ui-console0]set authentication password simple 123
路由器控制臺端口設置密碼 [R1]user-interface console 0
[R1-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):123
[R1-ui-console0]
[R1-ui-console0]q
[R1]q
R1>q
Configuration console exit, please press any key to log on
Login authentication
Password:輸入123
R1>sys
Enter system view, return user view with Ctrl+Z.

配置用戶通過Telnet登錄設備(在真實設備上為演示) [Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.100.254 24
[Huawei]telnet server enable
Info: Telnet is insecure, recommended to use stelnet with encryption features.
[Huawei]aaa
[Huawei-aaa]local-user pokes password irreversible-cipher 123456
Info: Add a new user.
[Huawei-aaa]local-user pokes service-type telnet
[Huawei-aaa]local-user pokes privilege level 3
Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]y 確定
[Huawei-aaa]q
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode aaa
配置用戶通過Web登錄設備(真實機器演示) Web登錄與上面的基本相同。只需更改上面的代碼: 
local-user pokes service-type telnet
替換為 local-user pokes service-type http
注意:有一個問題需要引起注意。替換完成后,您只能通過Web登錄,不能同時登錄Web和telnet。如果仍然需要Web登錄,則需要創建另一個用戶。 
關鍵點是,當華為設備出廠時,Web訪問界面受到限制。我們必須找出可以通過網絡訪問的界面 display current-configuration filter http serve
post-system
http server enable
http server permit interface GigabitEthernet0/0/1
return
有兩種解決方案: undo http server permit interface
http server permit interface e0/0/0
在這里我想說的是,華為的網絡界面確實很糟糕。我使用的是真正的AR1220,我不知道新版本是什么。建議使用該命令。
本文來自本站,轉載請注明本文網址: http://www.pc-fly.com/a/tongxingongju/article-366206-1.html
當今,越來越多的業務應用運行于網絡架構之上,保障網絡的持續、高效、安全的運行,成為網絡管理者面臨的巨大挑戰。 |