246
Chapter 4
"
Introduction to the Cisco IOS and SDM
Remember the difference between the enable password and enable secret password. Both
of these passwords are used to gain access into privileged mode. However, the enable secret
password is newer and is always encrypted by default. Also, if you set the enable password and
then set the enable secret, only the enable secret will be used.
Remember how to set the enable secret on a router. To set the enable secret, you use the
command enable secret. Do not use enable secret password password or you will set
your password to password password. Here is an example:
enable
config t
enable secret todd
Remember how to set the console password on a router. To set the console password, use
the following sequence:
enable
config t
line console 0
login
password todd
Remember how to set the Telnet password on a router. To set the Telnet password, the
sequence is as follows:
enable
config t
line vty 0 4
password todd
login
Remember how to set up SSH on a router. To set a router to use SSH instead of, or with,
Telnet, use the following steps:
1. Set your hostname:
Router(config)#hostname Todd
2. Set the domain name (both the hostname and domain name are required for the
encryption keys to be generated):
Todd(config)#ip domain-name Lammle.com
3. Generate the encryption keys for securing the session:
Todd(config)#crypto key generate rsa general-keys modulus ?
4. <360-2048> size of the key modulus [360-2048]
Todd(config)#crypto key generate rsa general-keys modulus 1024
47020.book Page 246 Wednesday, January 2, 2008 4:31 PM
Comentarios a estos manuales