Router and Switch Administrative Configurations
211
[output cut]
!
line con 0
exec-timeout 0 0
password 7 0605002F5F41051C
logging synchronous
login
line aux 0
password 7 03054E13
login
line vty 0 4
access-class 23 in
privilege level 15
password 7 01070308550E12
login
transport input telnet ssh
line vty 5 15
access-class 23 in
privilege level 15
password 7 01070308550E12
login
transport input telnet ssh
line vty 16 1180
password 7 120D001B1C0E18
login
!
end
Todd#config t
Todd(config)#no service password-encryption
Todd(config)#^Z
Todd#
There you have it! The passwords will now be encrypted. You just encrypt the passwords,
perform a show run, and then turn off the command. You can see that the enable password and
the line passwords are all encrypted.
I want to talk about encrypting passwords a bit more. As I said, if you set your passwords
and then turn on the service password-encryption command, you have to perform a
show running-config before you turn off the encryption service or your passwords won’t
be encrypted. You don’t have to turn off the encryption service at all; you’d only do that if
your router is running low on processes. And if you turn on the service before you set your
passwords, then you don’t even have to view them to get them encrypted.
47020.book Page 211 Wednesday, January 2, 2008 4:31 PM
Comentarios a estos manuales