| 场景 | SSH/Telnet 突然全部无法登录(自己配的 ACL) |
|---|---|
| 适用 | 三厂通用 |
| 命令族 | user-interface / line vty 下的 ACL 检查 |
华为 VRP
华为 VRP
display current-configuration | include telnet
# Console 登录后检查:
user-interface vty 0 4
display this
undo acl 2000 inbound # 移除错误绑定思科 IOS
思科 IOS
show running-config | include access-class
show line vty 0 4
# Console 登录后:
line vty 0 4
no access-class 10 inH3C Comware
H3C Comware
display current-configuration | include telnet
# Console 登录后检查:
user-interface vty 0 4
display this
undo acl 2000 inbound差异:绑定位置都在用户线配置块(华为/H3C user-interface vty、思科 line vty);解除语法相似(undo acl / no access-class)。自救通道是 Console。