19.2.4 Packet Tracer – Configure Initial Router Settings Answers
Packet Tracer – Configure Initial Router Settings (Answers Version)
Answers Note: Red font color or gray highlights indicate text that appears in the Answers copy only.
Objectives
Part 1: Verify the Default Router Configuration
Part 2: Configure and Verify the Initial Router Configuration
Part 3: Save the Running Configuration File
Background
In this activity, you will perform basic router configuration tasks. You will secure access to the CLI and console port using encrypted and plain-text passwords. You will also configure messages for users who are logging into the router. These banners warn unauthorized users that access is prohibited. Finally, you will verify and save your running configuration.
Instructions
Part 1: Verify the Default Router Configuration
Step 1: Establish a console connection to R1.
- Choose a Console cable from the available connections.
- Click PCA and select RS 232.
- Click R1 and select Console.
- Click PCA > Desktop tab > Terminal.
- Click OK and press ENTER. You are now able to configure R1.
Step 2: Enter privileged mode and examine the current configuration.
You can access all the router commands from privileged EXEC mode. However, because many of the privileged commands configure operating parameters, privileged access should be password-protected to prevent unauthorized use.
- Enter privileged EXEC mode by entering the enable command.
Open a configuration window
Router> enable
Router#
Notice that the prompt changed in the configuration to reflect privileged EXEC mode.
- Enter the show running-config command.
Router# show running-config
Questions:
What is the router’s hostname?
Type your answers here.
Router
How many Fast Ethernet interfaces does the Router have?
Type your answers here.
none
How many Gigabit Ethernet interfaces does the Router have?
Type your answers here.
2
How many Serial interfaces does the router have?
Type your answers here.
2
What is the range of values shown for the vty lines?
Type your answers here.
0 – 4
- Display the current contents of NVRAM.
Router# show startup-config
startup-config is not present
Question:
Why does the router respond with the startup-config is not present message?
Type your answers here.
It displays this message because the configuration file was not saved to NVRAM. Currently it is only located in RAM.
Close a configuration window
Part 2: Configure and Verify the Initial Router Configuration
To configure parameters on a router, you may be required to move between various configuration modes. Notice how the prompt changes as you navigate through the IOS configuration modes.
Step 1: Configure the initial settings on R1.
Note: If you have difficulty remembering the commands, refer to the content for this topic.
Open a configuration window
- Configure R1 as the hostname.
- Configure Message of the day text: Unauthorized access is strictly prohibited.
- Encrypt all plain text passwords.
Use the following passwords:
1) Privileged EXEC, encrypted: itsasecret
2) Console: letmein
Step 2: Verify the initial settings on R1.
- Verify the initial settings by viewing the configuration for R1.
Question:
What command do you use?
Type your answers here.
show running-config
- Exit the current console session until you see the following message:
R1 con0 is now available
Press RETURN to get started.
- Press ENTER; you should see the following message:
Unauthorized access is strictly prohibited.
User Access Verification
Password:
Questions:
Why should every router have a message-of-the-day (MOTD) banner?
Type your answers here.
Every router should have a banner to warn unauthorized users that access is prohibited. MOTD Banners can also be used to send messages to network personnel (such as impending system shutdowns or who to contact for access).
If you are not prompted for a password before reaching the user EXEC prompt, what console line command did you forget to configure?
Type your answers here.
R1(config-line)# login
- Enter the passwords necessary to return to privileged EXEC mode.
Questions:
If you configure any more passwords on the router, are they displayed in the configuration file as plain text or in encrypted form? Explain.
Type your answers here.
The service password-encryption command encrypts all current and future passwords.
Close a configuration window
Part 3: Save the Running Configuration File
Step 1: Save the configuration file to NVRAM.
Open a configuration window
- You have configured the initial settings for R1. Now back up the running configuration file to NVRAM to ensure that the changes made are not lost if the system is rebooted or loses power.
Questions:
What command did you enter to save the configuration to NVRAM?
Type your answers here.
copy running-config startup-config
What is the shortest, unambiguous version of this command?
Type your answers here.
cop r st
Answers Note: This can vary by platform and IOS version.
Which command displays the contents of the NVRAM?
Type your answers here.
show startup-configuration or show start
- Verify that all the parameters configured are recorded. If not, analyze the output and determine which commands were not executed or were entered incorrectly. You can also click Check Results in the instruction window.
Step 2: Optional: Save the startup configuration file to flash.
Although you will be learning more about managing the flash storage in a router in later chapters, you may be interested to know that, as an added backup procedure, you can save your startup configuration file to flash. By default, the router still loads the startup configuration from NVRAM, but if NVRAM becomes corrupt, you can restore the startup configuration by copying it over from flash.
Complete the following steps to save the startup configuration to flash.
- Examine the contents of flash using the show flash command:
R1# show flash
Questions:
How many files are currently stored in flash?
Type your answers here.
3
Which of these files would you guess is the IOS image?
Type your answers here.
isr4300-universalk9.03.16.05.S.155-3.S5-ext.SPA.bin
Why do you think this file is the IOS image?
Type your answers here.
Answers may vary, but two clues are the file length compared to the others and the .bin at the end of the file name.
- Save the startup configuration file to flash using the following commands:
R1# copy startup-config flash
Destination filename [startup-config]
The router prompts you to store the file in flash using the name in brackets. If the answer is yes, then press ENTER; if not, type an appropriate name and press ENTER.
- Use the show flash command to verify the startup configuration file is now stored in flash.