路由器、交换机设置密码
2020-11-20 本文已影响0人
Lincj
方法一:
1.路由器
(1)console登录
user-interface con 0
authentication-mode password
然后输入密码即可

效果:

2.交换机
user-interface con 0
authentication-mode password
set authentication password cipher 123456

设置密码

方法二:(AAA形式:用户名+密码)
user-interface console 0
authentication-mode aaa
local-user admin password cipher 123
local-user admin privilege level 15
local-user admin service-type terminal

1
效果图:

3.远程登录
user-interface vty 0 4
authentication-mode password
user privilege level 0

效果图
