Specifications

2-6
Cisco 12000 Series Internet Router Configuration Guide for Cisco IOS Release 12.0S
Chapter 2 Basic Configuration of the Cisco 12000 Series Internet Router
Configuration Tasks
Configuring the Router Host Name
The default host name for all routers is “router”. You can change the host name by using the setup
command or the hostname command.
When the setup command is used, you are prompted to enter a host name, as in the following example:
Would you like to enter basic management setup? [yes/no]: Yes
Configuring global parameters:
Enter host name [Router]: Filo
The name you assign the router must follow the rules for ARPANET host names. It must start with a
letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphens. The
name must consist of 63 or fewer characters. For more information, refer to Requests For Comments
(RFC) 1035, Domain Names—Implementation and Specifications.
Upper- and lowercase characters look the same to many Internet software applications; therefore for ease
of use, computer names should appear in all lowercase. For more information, refer to RFC 1178,
Choosing a Name for Your Computer.
Configuring Passwords on the Router
The commands available at the user EXEC level are a subset of those available at the privileged EXEC
level. Many privileged EXEC commands are used to set system parameters, so you should
password-protect these commands to prevent their unauthorized use. Following is a subset of the
password protection commands, which are accessed via global configuration mode.
Password protection can also be configured using the setup command facility, as in the following
example:
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Command Purpose
Router> hostname
name
Assigns a host name to the router.
Command Purpose
Router(config)# enable password
password
Configures authentication to access the privileged EXEC commands.
After using this command, when you use the enable command to enter
privileged EXEC mode, you will be prompted for the enable password.
Router(config)# enable secret
password
Configures authentication to access the privileged EXEC commands. The
enable secret offers better security than the enable password because the
enable secret password is stored using a nonreversible cryptographic
function.
Router(config)# line vty 0 4
Router(config-line)# login
Router(config-line)# password
password
Configures authentication to access a router via incoming Telnet sessions.
Router(config)# line console 0
Router(config-line)# login
Router(config-line)# password
password
Configures authentication to access the console terminal.