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#
阅读(2746) | 评论(0) | 转发(0) |