Router Password Encryption
Only the enable secret password is encrypted by default. You need to manually configure the user-mode and enable pas
[output cut]
!
enable secret 5 $1$rFbM$8.aXocHg6yHrM/zzeNkAT.
enable password cisco
!
[output cut]
line con 0
password antero2
login
line aux 0
password antero1
login
line vty 0 4
password antero
login
!
end
Router#
1. To manually encrypt your passwords, use the service password-encryption command.
Here is an example of how to perform manual password encryption.
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#service password-encryption
Router(config)#enable password cisco
Router(config)#line vty 0 197
Router(config-line)#login
Router(config-line)#password antero2
Router(config-line)#line con 0
Router(config-line)#login
Router(config-line)#password antero1
Router(config-line)#line aux 0
Router(config-line)#login
Router(config-line)#password antero
Router(config-line)#exit
Router(config)#no service password-encryption
Router(config)#^Z
2. By typing the show running-config command, you can see the enable password and the
line passwords are all encrypted.
Router#sh run
Building configuration...
[output cut]
!
enable secret 5 $1$rFbM$8.aXocHg6yHrM/zzeNkAT.
enable password 7 0835434A0D
!
[output cut]
!
line con 0
password 7 111D160113
login
line aux 0
password 7 071B2E484A
login
line vty 0 4
password 7 0835434A0D
login
line vty 5 197
password 7 09463724B
login
!
end
Router#
0 comments:
Post a Comment
Please do not enter any spam link in the comment box.