Monday, December 20, 2021

Packet Tracer – Configuring Initial Switch Settings – ILM

 From year to year, Cisco has updated many versions with difference questions. The latest version is version 6.0 in 2018. What is your version? It depends on your instructor creating your class. We recommend you to go thought all version if you are not clear. While you take online test with netacad.com, You may get random questions from all version. Each version have 1 to 10 different questions or more. After you review all questions, You should practice with our online test system by go to "Online Test" link below.

Packet Tracer – Configuring Initial Switch Settings (Answer Version – Optional Packet Tracer)

Answer Note: Red font color or gray highlights indicate text that appears in the Answer copy only. Optional activities are designed to enhance understanding and/or to provide additional practice.

Topology

2.2.3.4 Packet Tracer - Configuring Initial Switch Settings - ILM
2.2.3.4 Packet Tracer – Configuring Initial Switch Settings – ILM

Objectives

Part 1: Verify the Default Switch Configuration

Part 2: Configure a Basic Switch Configuration

Part 3: Configure a MOTD Banner

Part 4: Save Configuration Files to NVRAM

Part 5: Configure S2

Background

In this activity, you will perform basic switch configurations. You will secure access to the command-line interface (CLI) and console ports using encrypted and plain text passwords. You will also learn how to configure messages for users logging into the switch. These banners are also used to warn unauthorized users that access is prohibited.

Part 1: Verify the Default Switch Configuration

Step 1: Enter privileged EXEC mode.

You can access all switch 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.

The privileged EXEC command set includes those commands contained in user EXEC mode, as well as the configure command through which access to the remaining command modes are gained.

  1. Click S1 and then the CLI tab. Press Enter.
  2. Enter privileged EXEC mode by entering the enable command:

Switch> enable

Switch#

Notice that the prompt changed in the configuration to reflect privileged EXEC mode.

Step 2: Examine the current switch configuration.

  1. Enter the show running-config command.
    • Switch# show running-config
  2. Answer the following questions:
    1. How many FastEthernet interfaces does the switch have? 24
    2. How many Gigabit Ethernet interfaces does the switch have? 2
    3. What is the range of values shown for the vty lines? 0 -15
    4. Which command will display the current contents of non-volatile random-access memory (NVRAM)? show startup-configuration
    5. Why does the switch respond with startup-config is not present? It displays this message because the configuration file was not saved to NVRAM. Currently it is only located in RAM.

Part 2: Create a Basic Switch Configuration

Step 1: Assign a name to a switch.

To configure parameters on a switch, you may be required to move between various configuration modes. Notice how the prompt changes as you navigate through the switch.

Switch# configure terminal

Switch(config)# hostname S1

S1(config)# exit

S1#

Step 2: Secure access to the console line.

To secure access to the console line, access config-line mode and set the console password to letmein.

S1# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

S1(config)# line console 0

S1(config-line)# password letmein

S1(config-line)# login

S1(config-line)# exit

S1(config)# exit

%SYS-5-CONFIG_I: Configured from console by console

S1#

Why is the login command required? In order for the password checking process to work, it requires both the login and password commands.

Step 3: Verify that console access is secured.

Exit privileged mode to verify that the console port password is in effect.

S1# exit

Switch con0 is now available

Press RETURN to get started.

User Access Verification

Password:

S1>

Note: If the switch did not prompt you for a password, then you did not configure the login parameter in Step 2.

Step 4: Secure privileged mode access.

Set the enable password to c1$c0. This password protects access to privileged mode.

Note: The 0 in c1$c0 is a zero, not a capital O. This password will not grade as correct until after you encrypt it in Step 8.

S1> enable

S1# configure terminal

S1(config)# enable password c1$c0

S1(config)# exit

%SYS-5-CONFIG_I: Configured from console by console

S1#

Step 5: Verify that privileged mode access is secure.

  1. Enter the exit command again to log out of the switch.
  2. Press <Enter> and you will now be asked for a password:
    • User Access Verification
    • Password:
  3. The first password is the console password you configured for line con 0. Enter this password to return to user EXEC mode.
  4. Enter the command to access privileged mode.
  5. Enter the second password you configured to protect privileged EXEC mode.
  6. Verify your configurations by examining the contents of the running-configuration file:
    • S1# show running-config
    • Notice how the console and enable passwords are both in plain text. This could pose a security risk if someone is looking over your shoulder.

Step 6: Configure an encrypted password to secure access to privileged mode.

The enable password should be replaced with the newer encrypted secret password using the enable secret command. Set the enable secret password to itsasecret.

S1# config t

S1(config)# enable secret itsasecret

S1(config)# exit

S1#

Note: The enable secret password overrides the enable password. If both are configured on the switch, you must enter the enable secret password to enter privileged EXEC mode.

Step 7: Verify that the enable secret password is added to the configuration file.

  1. Enter the show running-config command again to verify the new enable secret password is configured.
    • Note: You can abbreviate show running-config as
    • S1# show run
  2. What is displayed for the enable secret password? $1$mERr$ILwq/b7kc.7X/ejA4Aosn0
  3. Why is the enable secret password displayed differently from what we configured? The enable secret is shown in encrypted form, whereas the enable password is in plain text.

Step 8: Encrypt the enable and console passwords.

As you noticed in Step 7, the enable secret password was encrypted, but the enable and console passwords were still in plain text. We will now encrypt these plain text passwords using the service password-encryption command.

S1# config t

S1(config)# service password-encryption

S1(config)# exit

If you configure any more passwords on the switch, will they be displayed in the configuration file as plain text or in encrypted form? Explain. The service password-encryption command encrypts all current and future passwords.

Part 3: Configure a MOTD Banner

Step 1: Configure a message of the day (MOTD) banner.

The Cisco IOS command set includes a feature that allows you to configure messages that anyone logging onto the switch sees. These messages are called message of the day, or MOTD banners. Enclose the banner text in quotations or use a delimiter different from any character appearing in the MOTD string.

S1# config t

S1(config)# banner motd “This is a secure system. Authorized Access Only!”

S1(config)# exit

%SYS-5-CONFIG_I: Configured from console by console

S1#

  1. When will this banner be displayed? The message will be displayed when someone enters the switch through the console port.
  2. Why should every switch have a MOTD banner? Every switch should have a banner to warn unauthorized users that access is prohibited but can also be used for sending messages to network personnel/technicians (such as impending system shutdowns or who to contact for access).

Part 4: Save Configuration Files to NVRAM

Step 1: Verify that the configuration is accurate using the show run command.

Step 2 : Save the configuration file.

You have completed the basic configuration of the switch. 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.

S1# copy running-config startup-config

Destination filename [startup-config]?[Enter]

Building configuration…

[OK]

What is the shortest, abbreviated version of the copy running-config startup-config command? cop r s

Step 3: Examine the startup configuration file.

Which command will display the contents of NVRAM? show startup-config

Are all the changes that were entered recorded in the file? Yes, it is the same as the running configuration.

Part 5: Configure S2

You have completed the configuration on S1. You will now configure S2. If you cannot remember the commands, refer to Parts 1 to 4 for assistance.

Configure S2 with the following parameters:

  1. Name device: S2
  2. Protect access to the console using the letmein password.
  3. Configure an enable password of c1$c0 and an enable secret password of itsasecret.
  4. Configure a message to those logging into the switch with the following message:
    1. Authorized access only. Unauthorized access is prohibited and violators will be prosecuted to the full extent of the law.
  5. Encrypt all plain text passwords.
  6. Ensure that the configuration is correct.
  7. Save the configuration file to avoid loss if the switch is powered down.

Switch> enable

Switch# config t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)# hostname S2

S2(config)# line console 0

S2(config-line)# password letmein

S2(config-line)# login

S2(config-line)# enable password c1$c0

S2(config)# enable secret itsasecret

S2(config)# banner motd $any text here$

S2(config)# service password-encryption

S2(config)# do copy running-config startup-config

CCNA Packet Tracer Lab 2015

 

CCNA 1 (v5.02)

Overview

CCNA 1: Introduction to Basic Network is the first of the four courses prompting the Cisco ensured Network Associate (CCNA) assignment. CCNA 1 presents Cisco Organizing Academy Program understudies to the systems administration field. The course  spotlights on system wording and conventions, local area network (LANs), wide-area network (WANs), Open System Interconnection (OSI) models, cabling, cabling instruments, switches, switch configuration, Ethernet, Internet Protocol (IP) tending to, and system measures. Furthermore, guideline and preparing are given in the correct consideration, upkeep, what's more utilization of systems administration programming, devices, and supplies and all neighborhood, state, and government wellbeing, building, and ecological codes and regulations.

Course Outline

1. CCNA 1 Introduction
2. Networking Basics
3. Cisco IOS and CLI
4. Beginning Network Addressing PT Activity
5. Communicating on a Network - Page 1
6. Communicating on a Network - Page 2
7. Communicating on a Network - Page 3
8. Communicating on a Network - Page 4
9. Physical Layer
10. Data Link Layer
11. Ethernet


Packet Tracer – Configure Initial Router Settings Answers

 

10.1.4 Packet Tracer – Configure Initial Router Settings Answers - CCNA 7 Exam Answers 2021 (pressexam.com)

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.

  1. Choose a Console cable from the available connections.
  2. Click PCA and select RS 232.
  3. Click R1 and select Console.
  4. Click PCA > Desktop tab > Terminal.
  5. 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.

  1. 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.

  1. Enter the show running-config command.

Router# show running-config

Questions:

What is the router’s hostname?

Router

How many Fast Ethernet interfaces does the Router have?

4

How many Gigabit Ethernet interfaces does the Router have?

2

How many Serial interfaces does the router have?

2

What is the range of values shown for the vty lines?

0 – 4

  1. 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?

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. The commands are the same as you configured on a switch.

Open a configuration window

  1. Configure R1 as the hostname.
  2. Configure Message of the day text: Unauthorized access is strictly prohibited.
  3. Encrypt all plain text passwords.

Use the following passwords:

1)      Privileged EXEC, unencrypted: cisco

2)      Privileged EXEC, encrypted: itsasecret

3)      Console: letmein

Step 2:  Verify the initial settings on R1.

Open a configuration window

  1. Verify the initial settings by viewing the configuration for R1.

Question:

What command do you use?

show running-config

  1. Exit the current console session until you see the following message:

R1 con0 is now available

 

Press RETURN to get started.

  1. 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?

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?

R1(config-line)# login

  1. Enter the passwords necessary to return to privileged EXEC mode.

Questions:

Why would the enable secret password allow access to the privileged EXEC mode and the enable password no longer be valid?

The enable secret password overrides the enable password. If both are configured on the router, you must enter the enable secret password to enter privileged EXEC mode.

If you configure any more passwords on the router, are they displayed in the configuration file as plain text or in encrypted form? Explain.

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.

  1. 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.

Open a configuration window

Questions:

What command did you enter to save the configuration to NVRAM?

copy running-config startup-config

What is the shortest, unambiguous version of this command?

cop r st

Answers Note: This can vary by platform and IOS version.

Which command displays the contents of the NVRAM?

show startup-configuration or show start

Close a configuration window

  1. Verify that all of 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.

Open a configuration window

  1. Examine the contents of flash using the show flash command:

R1# show flash

Questions:

How many files are currently stored in flash?

3

Which of these files would you guess is the IOS image?

c1900-universalk9-mz.SPA.151-4.M4.bin

Why do you think this file is the IOS image?

Answers may vary, but two clues are the file length compared to the others and the .bin at the end of the file name.

  1. 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.

  1. Use the show flash command to verify the startup configuration file is now stored in flash.