| 场景 | 物理口本地登录加固 |
|---|---|
| 适用 | 三厂 |
| 建议 | 口令 + idle/exec 超时 5-10 分钟 |
华为 VRP
华为 VRP
user-interface console 0
authentication-mode password
set authentication password cipher Console@123
idle-timeout 5 0
display user-interface console 0思科 IOS
思科 IOS
line console 0
password Console@123
login
exec-timeout 5 0
line aux 0
no execH3C Comware
H3C Comware
line aux 0
authentication-mode password
set authentication password simple Console@123
idle-timeout 5 0差异:华为/H3C 的 set authentication password 在老版本需交互式输入(用 cipher/simple 关键字可简化);思科直接 password + login。