路由器、交换机设置密码
2020-11-20 本文已影响0人
鈊謰鈊
方法一:
1.路由器
(1)console登录
user-interface con 0
authentication-mode password
然后输入密码即可
![](https://img.haomeiwen.com/i24635223/e13dcdf3df7427be.png)
效果:
![](https://img.haomeiwen.com/i24635223/a38f98f83964bf67.png)
2.交换机
user-interface con 0
authentication-mode password
set authentication password cipher 123456
![](https://img.haomeiwen.com/i24635223/0cf90a823eefdaa7.png)
设置密码
![](https://img.haomeiwen.com/i24635223/9a143d5ed7245d39.png)
方法二:(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
![](https://img.haomeiwen.com/i24635223/508050a19296af79.png)
1
效果图:
![](https://img.haomeiwen.com/i24635223/5ff116bd101935e7.png)
3.远程登录
user-interface vty 0 4
authentication-mode password
user privilege level 0
![](https://img.haomeiwen.com/i24635223/2b15c5b1141736e3.png)
效果图
![](https://img.haomeiwen.com/i24635223/86263616156d5c4c.png)