| 场景 | 远程登录规范化、切换 AAA 认证 |
|---|---|
| 适用 | 全部设备 |
| 命令族 | authentication-mode aaa / login local / authentication-mode scheme |
华为 VRP
华为 VRP
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] authentication-mode aaa
! 备选:authentication-mode password + set authentication password cipher xxx思科 IOS
思科 IOS
SW-CORE-01(config)# line vty 0 4
SW-CORE-01(config-line)# login local
! 使用 AAA 列表:login authentication defaultH3C Comware
H3C Comware
[H3C] user-interface vty 0 4
[H3C-ui-vty0-4] authentication-mode scheme
! 备选:authentication-mode password + set authentication password hash xxxaaa(华为)= scheme(H3C)= login local/AAA(思科),都指向用户名体系;password 模式为线路共享口令,安全性与可审计性都差,不推荐。