网络故障(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
当今,越来越多的业务应用运行于网络架构之上,保障网络的持续、高效、安全的运行,成为网络管理者面临的巨大挑战。 |