Professional Documents
Culture Documents
Topology
S1
PC2
Figure 1
This lab uses only the router (R1) with no activities on the other devices.
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.
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
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.