Information Technology Reference
In-Depth Information
Task 6: Perform Basic Configuration of Router R1
Establish a HyperTerminal session to router R1.
Step 1.
Enter privileged EXEC mode.
Step 2.
Router>
enable
Router#
Enter global configuration mode.
Step 3.
Router#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Configure the router name as R1.
Step 4.
Enter the command
hostname R1
at the prompt:
Router(config)#
hostname R1
R1(config)#
Disable DNS lookup with the
no ip domain-lookup
command.
Step 5.
R1(config)#
no ip domain-lookup
R1(config)#
Why would you want to disable DNS lookup in a lab environment?
So that the router does not attempt to look up a DNS entry for a name that is really only a
typing error.
What would happen if you disabled DNS lookup in a production environment?
A router would not be able to resolve names, causing potential problems when the router
needs an IP address to address a packet.
Configure an EXEC mode password.
Step 6.
Configure an EXEC mode password using the
enable secret
password
command. Use
class
for the
password
argument:
R1(config)#
enable secret class
R1(config)#
The
enable secret
command is used to provide an additional layer of security over the
enable password
command. The
enable secret
command provides better security by stor-
ing the
enable secret
password using a nonreversible cryptographic function. The added
layer of security encryption is useful in environments where the password crosses the net-
work or is stored on a TFTP server. When both the
enable password
and
enable secret
passwords are configured, the
enable password
is overridden by
enable secret
and there-
fore has no meaning in the configuration. To avoid confusion, simply avoid using
enable
password
when
enable secret
is used.