取消
显示结果 
搜索替代 
您的意思是: 
cancel
6413
查看次数
0
有帮助
9
回复

下一主题 cisco3560交换机配console密码开启了本地用户认证进不去了

terrylee15018
Level 1
Level 1
本人帮一台cisco3560交换机配console密码开启了本地用户认证,但没配本地用户跟密码,退出再console进去的时候要我先输用户名,但看配置根本没配过任何用户,应该怎么办啊?
Switch>
Switch>en
Switch#
Switch#line con
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line con
Switch(config)#line console 0
Switch(config-line)#pas
Switch(config-line)#password
Switch(config-line)#password zxcv124
Switch(config-line)#
Switch(config-line)#log
Switch(config-line)#login
Switch(config-line)#login local
Switch(config-line)#end
9 条回复9

你配置了username user1 password pass1 这样的命令了吗。
我看到你:
line con 0
password xxxx
login local <----就是使用本地用户名密码登录。
是在不行,就破解吧。可以参考一下:
https://www.cnblogs.com/MomentsLee/p/9922693.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rps-Cheers | If it solves your problem, please mark as answer. Thanks !

L3511604172
Level 1
Level 1
按mode键,然后给交换机加电,约15秒后松开mode键,进入switch:模式,dir查看;然后rename重命名config.txt文件,之后重启就可以了

L3511604172
Level 1
Level 1

YilinChen
Spotlight
Spotlight
重启时按住Mode键,进bootrom模式,恢复密码

l_enough
Spotlight
Spotlight
login local
本地数据库 看看你有设置什么username xxx password xxx 这些吗

terrylee15018
Level 1
Level 1
l_enough1 发表于 2019-4-14 21:12
login local
本地数据库 看看你有设置什么username xxx password xxx 这些吗

没有配过user,看配置也没有,所以才郁闷

terrylee15018
Level 1
Level 1
l_enough1 发表于 2019-4-14 21:12
login local
本地数据库 看看你有设置什么username xxx password xxx 这些吗

没有配过user,看配置也没有,所以才郁闷

terrylee15018
Level 1
Level 1
1540488497lcj 发表于 2019-4-13 21:09
你配置了username user1 password pass1 这样的命令了吗。
我看到你:
line con 0

没有配过user,看配置也没有,所以才郁闷

YilinChen
Spotlight
Spotlight
terrylee15018 发表于 2019-4-15 13:17
没有配过user,看配置也没有,所以才郁闷

login Loacl 是基于本地账号密码来进行登陆验证,但本地账号没有创建,自然就把自己锁在外面了;
重启,破密码,其它无解;
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接