Chapter 4
Configuring the Router
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
hostname name
Example:
Router(config)# hostname myrouter
Step 4
Verify that the router prompt displays your new
hostname.
Example:
myrouter(config)#
Step 5
end
Example:
myrouter# end
Configuring the Enable and Enable Secret Passwords
To provide an additional layer of security, particularly for passwords that cross the network or are stored
on a TFTP server, use either the enable password command or the enable secret command. Both
commands accomplish the same thing—they allow you to establish an encrypted password that users
must enter to access privileged EXEC (enable) mode.
We recommend that you use the enable secret command because it uses an improved encryption
algorithm. Use the enable password command only if you boot an older version of the Cisco IOS
software or if you boot older boot ROMs that do not recognize the enable secret command.
For more information, see the "Configuring Passwords and Privileges" chapter in Cisco IOS Security
Configuration Guide. Also see
Routers.
Restrictions
If you configure the enable secret command, it takes precedence over the enable password command;
the two commands cannot be in effect simultaneously.
SUMMARY STEPS
1.
2.
OL-21559-01
enable
configure terminal
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
•
Enters global configuration mode.
Specifies or modifies the hostname for the network server.
—
(Optional) Returns to privileged EXEC mode.
Cisco IOS Password Encryption Facts
Cisco Connected Grid Routers 2010 Hardware Installation Guide
Performing the Initial Configuration on the Router
and
Improving Security on Cisco
4-9