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

console密码

fool_sum
Level 1
Level 1
正常情况下配置console密码登陆:
en
conf t
lline console 0
password 123
login
完成。
但是如下设备(型号6509)似乎有所不同,
(config)#line console 0
(config-line)#password ?
0 Specifies an UNENCRYPTED password will follow
7 Specifies a HIDDEN password will follow
LINE The UNENCRYPTED (cleartext) line password
这里0和line有什么区别?(password 0 123与password 123有什么区别?)
6509-2(config-line)#login ?
authentication Authentication parameters.
6509-2(config-line)#login authentication ?
WORD Use an authentication list with this name.
default Use the default authentication list.
这里并不能只输入login启用密码认证,麻烦各位大神指导下?
8 条回复8

wuleihen
Spotlight
Spotlight
login authentication是因为你启用了AAA认证,no aaa model 后你就可以login local了

Mansur
Spotlight
Spotlight
wuleihen 发表于 2018-2-28 12:47
login authentication是因为你启用了AAA认证,no aaa model 后你就可以login local了

学习了,原来是这样,这两天也遇到了这个问题:handshake

wuleihen
Spotlight
Spotlight
maguanghua2013 发表于 2018-2-28 13:35
学习了,原来是这样,这两天也遇到了这个问题

相互学习学习

byl_qware_com
Level 8
Level 8
我是来学习的

SMG-SH
Level 7
Level 7
login local 本地认证,就可以了

Wubin2010
Spotlight
Spotlight
(config-line)#password ?
0 Specifies an UNENCRYPTED password will follow
7 Specifies a HIDDEN password will follow
LINE The UNENCRYPTED (cleartext) line password
这里0和line有什么区别?(password 0 123与password 123有什么区别?)
答:这里的0代表不加密的密码,7代表加密后的密码,比如pass 0 cisco当你show run的时候密码会变成pass 7显示内容为213jafjlkadjkfl这样的信息,但实际解密后就是你的cisco密码。
6509-2(config-line)#login authentication ?
WORD Use an authentication list with this name.
default Use the default authentication list.
答:这因为你开启了3A,取消的话去除3A命令即可 no aaa new

Rockyw
Spotlight
Spotlight
0 Specifies an UNENCRYPTED password will follow ----show run时这个后面的密码会加密显示
7 Specifies a HIDDEN password will follow
LINE The UNENCRYPTED (cleartext) line password ----show run时这个后面的密码会明文显示
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

fool_sum
Level 1
Level 1
谢谢各位,问题已解决:)
入门指南

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

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









快捷链接