2.9.1 Packet Tracer - Basic Switch and End Device Configuration - Instructions Answer

Packet Tracer Packet Tracer Labs Original source

2.9.1 Packet Tracer - Basic Switch and End Device Configuration Instructor Version

Topology Isomorphs

Addressing Table

Scenario 1

Device Interface Address Subnet Mask
Class-A VLAN 1 128.107.20.10 255.255.255.0
Class-B VLAN 1 128.107.20.15 255.255.255.0
Student-1 NIC 128.107.20.25 255.255.255.0
Student-2 NIC 128.107.20.30 255.255.255.0

Objectives

Scenario

As a recently hired LAN technician, your network manager has asked you to demonstrate your ability to configure a small LAN. Your tasks include configuring initial settings on two switches using the Cisco IOS and configuring IP address parameters on host devices to provide end-to-end connectivity. You are to use two switches and two hosts/PCs on a cabled and powered network.

Instructions

Configure the devices to fulfill the requirements below.

Requirements

Note: Click Check Results to see your progress. Click Reset Activity to generate a new set of requirements. If you click on this before you complete the activity, all configurations will be lost.

Device Configs - Final

SWITCH Class-A

Copy

! ==============================================================

!--- 2.9.1 Packet Tracer - Basic Switch and End Device Configuration

!--- ANSWER SCRIPT FOR SWITCH Class-A (Activity ID 0001 - values in red change with each ID)

!--- Usage: copy this whole file and paste it into the Class-A terminal (start at the Switch> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.

! ==============================================================



enable

configure terminal



! --------------------------------------------------------------

!--- Requirements: Configure the switch.

! --------------------------------------------------------------



!--- Name the switch Class-A.

hostname Class-A



!--- Use the C4aJa secret password.

enable secret C4aJa



!--- Use the R4Xe3 password for the console line.

line console 0

 password R4Xe3

 login

 exit



!--- Use the R4Xe3 password for all vty lines (0 - 15).

line vty 0 15

 password R4Xe3

 login

 exit



!--- Encrypt all clear text passwords.

service password-encryption



!--- Configure an appropriate message-of-the-day (MOTD) banner.

banner motd #Unauthorized access to this device is prohibited!#



!--- Configure addressing according to the Addressing Table.

interface vlan 1

 ip address 128.107.20.10 255.255.255.0

 no shutdown

 exit



end



! --------------------------------------------------------------

!--- Save your configurations. (Press Enter when prompted for the destination filename.)

! --------------------------------------------------------------

copy running-config startup-config





! ==============================================================

!--- Verification:

!---   show ip interface brief  -> VLAN 1 up/up with its IP address

!---   show running-config      -> hostname, encrypted passwords, banner

!---   ping 128.107.20.25       -> reach Student-1

!---   ping 128.107.20.30       -> reach Student-2

!--- Note: "all lines" includes vty 5 - 15. Configuring only line vty 0 4

!--- can leave the password items incomplete in Check Results.

! ==============================================================

SWITCH Class-B

Copy

! ==============================================================

!--- 2.9.1 Packet Tracer - Basic Switch and End Device Configuration

!--- ANSWER SCRIPT FOR SWITCH Class-B (Activity ID 0001 - values in red change with each ID)

!--- Usage: copy this whole file and paste it into the Class-B terminal (start at the Switch> prompt). Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless.

! ==============================================================



enable

configure terminal



! --------------------------------------------------------------

!--- Requirements: Configure the switch.

! --------------------------------------------------------------



!--- Name the switch Class-B.

hostname Class-B



!--- Use the C4aJa secret password.

enable secret C4aJa



!--- Use the R4Xe3 password for the console line.

line console 0

 password R4Xe3

 login

 exit



!--- Use the R4Xe3 password for all vty lines (0 - 15).

line vty 0 15

 password R4Xe3

 login

 exit



!--- Encrypt all clear text passwords.

service password-encryption



!--- Configure an appropriate message-of-the-day (MOTD) banner.

banner motd #Unauthorized access to this device is prohibited!#



!--- Configure addressing according to the Addressing Table.

interface vlan 1

 ip address 128.107.20.15 255.255.255.0

 no shutdown

 exit



end



! --------------------------------------------------------------

!--- Save your configurations. (Press Enter when prompted for the destination filename.)

! --------------------------------------------------------------

copy running-config startup-config





! ==============================================================

!--- Verification:

!---   show ip interface brief  -> VLAN 1 up/up with its IP address

!---   show running-config      -> hostname, encrypted passwords, banner

!---   ping 128.107.20.25       -> reach Student-1

!---   ping 128.107.20.30       -> reach Student-2

!--- Note: "all lines" includes vty 5 - 15. Configuring only line vty 0 4

!--- can leave the password items incomplete in Check Results.

! ==============================================================

PC Student-1

Student-1PC

IP Address128.107.20.25

Subnet Mask255.255.255.0

Command Promptipconfig 128.107.20.25 255.255.255.0

PC Student-2

Student-2PC

IP Address128.107.20.30

Subnet Mask255.255.255.0

Command Promptipconfig 128.107.20.30 255.255.255.0

Packet Tracer 2.9.1 Script Generator

Basic Switch & End Device Configuration — Auto-generate Cisco IOS scripts from your Lab ID

Lab ID

Generate

Find your 4-digit ID at the bottom of the Packet Tracer instruction window. Each digit is 0, 1, or 2.

Network Topology

Network Topology

Your Topology

Script — Switch 1

Copy to Clipboard

Script — Switch 2

Copy to Clipboard

End Devices — PC Configuration

Download Packet Tracer (.pka) file:

Icon

2.9.1 Packet Tracer - Basic Switch and End Device Configuration.pka 193.92 KB 16850 downloads

...

Download

Previous Lab
2.7.6 Packet Tracer – Implement Basic Connectivity

Next Lab
2.9.2 Packet Tracer – Basic Switch and End Device Configuration – Physical Mode

← All Packet Tracer articles Home