思科路由器配置enable password

浏览:
字体:
发布时间:2013-12-10 00:03:43
来源:
思科路由器配置enable password
 
A:enable password                      没加密
B:service password-encryption          对明文密码进行加密
C:enable secret                        用MD5算法对特权模式进行加密
D:enable password 7               后面要加密文
1.使用A的话,在show run的时候password会以明文的方式显示。例如enable password tangxuquan
  Router#show run
  Building configuration...
  Current configuration : 354 bytes
 !
  version 12.2
  no service password-encryption  没有过加密的
  !
  hostname Router
  !
  !
  enable password tangxuquan    密码以明文显示,你设置的是什么这里就显示什么
2.再输入B命令后   service password-encryption
   
  Router#show run
  Building configuration...
  Current configuration : 354 bytes
  !
  version 12.2
  service password-encryption
  !
  hostname Router
  !
  !
  enable password 7 08354D400E011006070A02   对明文密码进行了加密,显示的是经过思科算法加密后的密文
 
3.输入c命令  enable password cicso
  
在B命令的基础上运行 enable secret cisco
Router#show run
Building configuration...
Current configuration : 401 bytes
!
version 12.2
service password-encryption
!
hostname Router
!
!
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0  MD5算法的密码显示
enable password 7 08354D400E011006070A02 用service password-encryption的加密显示。
即使secret后面的数字是0,show run的时候,也不会以明文显示,而是MD5加密算法后的值。
使用命令enable secret cisco 后特权模式的登录密码将改为“cisco”
 
4.enable password常见的一个误解enable password 7后面应该加入加密后的密码,而不应该输入“bdcom”之类的明码。
           3660_config#ena pass 7 bdcom          //后面加入明码,则显示错误
            Invalid  encrypted password
 
 
 
>更多相关文章
24小时热门资讯
24小时回复排行
资讯 | QQ | 安全 | 编程 | 数据库 | 系统 | 网络 | 考试 | 站长 | 关于东联 | 安全雇佣 | 搞笑视频大全 | 微信学院 | 视频课程 |
关于我们 | 联系我们 | 广告服务 | 免责申明 | 作品发布 | 网站地图 | 官方微博 | 技术培训
Copyright © 2007 - 2023 Vm888.Com. All Rights Reserved
粤公网安备 44060402001498号 粤ICP备19097316号 请遵循相关法律法规
');})();