You are on page 1of 3

ICND1 Skill Builders

Part 1: Navigation and Administration


Lab 6: Router CLI Configuration Process
Overview
This lab guides you through the process of changing the running-config file, seeing those results, and demonstrating that the commands added into configuration mode are not automatically added to the startup-config file.

Topology
S1

Gi0/1 PC1 R1 Fa0/0 Fa0/3 SW1 Fa0/2 Fa0/1

PC2

Figure 1

Network Topology for This Lab

This lab uses only the router (R1) with no activities on the other devices.

Detailed Lab Steps


Step 1.

Connect to R1s console port using the simulator and press Enter. (You should see a user mode command prompt of Router>.) Enter privileged mode using the enable command.

Step 2.

page 1

2009 Pearson Education, Inc. All rights reserved. This publication is protected by copyright.

Step 3. Step 4.

Enter configuration mode using the configure terminal command. Use the hostname R1 command to change your routers hostname. Did the command prompt change as soon as you pressed Enter at the end of the command?

Step 5. Step 6.

Exit configuration mode (press Ctrl-Z or enter end). Use the show running-config command to view the currently in-use router configuration. Can you see the hostname command?

Step 7.

Use the reload command to reboot your router. (Note: A physical router may require a minute or two to reboot, but the simulated switch should boot quickly.) When asked if you want to save the configuration, answer no. When asked to confirm that you want to reload, just press Enter, which selects the default answer, in brackets, of confirm. When the router has finished the boot process, move into enable mode, and then use the show running-config command to look for the hostname R1 command. Do you see the command in the output?

Step 8.

Step 9.

According to the command prompt, what is the router hostname now?

Hints and Answers


Table 1 provides hints and tips for any lab steps that do not supply complete details and provides answers for any lab steps that ask questions. Table 1
Step

Hints and Answers

Hint or Answer

The simulator should display a prompt with the text Router> after you press Enter. If it does not appear, click inside the window to make that window the focus of your computer desktop, and press Enter again. Routers (and switches) immediately accept and use the commands issued in configuration mode. Because the hostname command defines the text at the beginning of the command prompt, the next command prompt shows the new hostname. The router put a copy of the hostname R1 command into the running-config file. If you do not initially see the command, look for the phrase -more at the bottom of the screen; if it is there, press Spacebar to display the group of messages.
continues

page 2

2009 Pearson Education, Inc. All rights reserved. This publication is protected by copyright.

Table 1
Step

Hints and Answers

continued

Hint or Answer

The configuration process changes the running-config file, but it does not change the startupconfig file, which is used the next time the router boots. By answering no in Step 8 when asked if you want to save the configuration, you failed to save the hostname R1 command that you had just configured. The hostname is Router, because the hostname sits at the beginning of the command prompt.

Configuration Steps
The only configuration added in this lab is the hostname R1 command.

page 3

2009 Pearson Education, Inc. All rights reserved. This publication is protected by copyright.

You might also like