HCNA配置console线路密码password认证
1、华为设备配置主机名
<Huawei>system
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname
[Huawei]sysname route111
[route111]sys
[route111]sysname r2
[r2]
2、华为设备管理方式有两种
本地管理和远程管理
本地管理使用console线路
远程管理使用vty线路
那么如何配置console线路密码?
password认证
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn
[Huawei]sysname R2
[R2]us
[R2]user-bind
[R2]user-group
[R2]user-interface co
[R2]user-interface console
[R2]user-interface console ?
INTEGER<0-0> The first user terminal interface to be configured
[R2]user-interface console 0
[R2-ui-console0]auth
[R2-ui-console0]authentication-mode ?
aaa AAA authentication
password Authentication through the password of a user terminal interface
[R2-ui-console0]authentication-mode aaa
[R2-ui-console0]authentication-mode aaa ?
<cr> Please press ENTER to execute command
[R2-ui-console0]authentication-mode aaa
[R2-ui-console0]authentication-mode pa
[R2-ui-console0]authentication-mode password ?
<cr> Please press ENTER to execute command
[R2-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):july0229
[R2-ui-console0]quit
[R2-ui-console0]quit
[R2]quit
[R2]quit
<R2>quit
<R2>quit
Configuration console exit, please press any key to log on
Login authentication
Password:
<R2>