Chinaunix首页 | 论坛 | 博客
  • 博客访问: 728753
  • 博文数量: 256
  • 博客积分: 3502
  • 博客等级: 中校
  • 技术积分: 3988
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:13
文章分类

全部博文(256)

文章存档

2014年(11)

2013年(134)

2012年(111)

我的朋友

分类: 系统运维

2013-06-05 11:15:16

enable password常见的误解enable password 7后面应该加入加密后的密码,而不应该输入“bdcom”之类的明码。
3660_config#ena pass 7 bdcom          //后面加入明码,则显示错误
Invalid encrypted password
3660_config#
   
3660_config#
3660_config#ena pass ?
   0             -- Specifies an UNENCRYPTED password will follow
   7             -- Specifies a HIDDEN password will follow
   LINE          -- The UNENCRYPTED   'enable' password
3660_config#ena pass bdcom                    \\明码
3660_config#sh run
Building configuration...
Current configuration:
! !version 1.3.1B
service timestamps log date
service timestamps debug date
no service password-encryption
! hostname 3660
! enable password 0 bdcom level 15
! interface FastEthernet1/0
ip address 10.1.1.1 255.255.255.0
no ip directed-broadcast
!
3660_config#service ?
   linenumber            -- Enable line number banner for each exec
  password-encryption   -- Encrypt system passwords
   timestamps            -- Timestamp debug/log messages
3660_config#service pass                        //加密密码
3660_config#
3660_config#ser pass
3660_config#sh run
Building configuration...
Current configuration:
! !version 1.3.1B
service timestamps log date
service timestamps debug date
service password-encryption
! hostname 3660
! enable password 7 0226360B3D39 level 15             //显示的就为加密后的密码
! interface FastEthernet1/0
ip address 10.1.1.1 255.255.255.0
no ip directed-broadcast
!
3660_config#enable password 7 0226360B3D39           //后面加入加密后的密码,不会显示错误
3660_config#
阅读(2689) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~