很多时候我们都是通过远程登录的方式来管理设备,因此我们必须要知道登录的方法,并且当无法登录时知道从哪几个方面来排查问题,本篇文章从华为华三和思科三种设备来阐述登录方法。
华为设备配置命令:
拓扑图:
方法1. 无密码登录:
user-interface vty 0 4
authentication-mode none
user privilege level 15 (也可以只给用户一个最低权限,然后在设备上面通过super命令来配置特权模式命令,方便用户操作)
方法2. telnet密码登录:
user-interface vty 0 4
authentication-mode password
set authentication password cipher k4}WW;{A6uqcXT}k'OI~o3#
(密码认证模式有simple和cipher两种模式。simple在配置文件里为明文显示,cipher为密文显示)
方法3.telnet账号密码登录:
user-interface vty 0 4
authentication-mode aaa
aaa
local-user admin password cipher XJUN8<9N-:5NZPO3JBXBHA!!