0% found this document useful (0 votes)
142 views10 pages

2.7.6 Packet Tracer Implement Basic Connectivity

The document describes configuring basic connectivity in a network consisting of two switches (S1 and S2) and two PCs (PC1 and PC2). The key steps are: 1. Configure basic settings on S1 and S2 like hostname, passwords, and banner. 2. Configure IP addresses on PC1 (192.168.1.1) and PC2 (192.168.1.2). 3. Assign IP addresses to VLAN 1 on S1 (192.168.1.253) and S2 (192.168.1.254). 4. Verify connectivity between all devices using the ping command.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
142 views10 pages

2.7.6 Packet Tracer Implement Basic Connectivity

The document describes configuring basic connectivity in a network consisting of two switches (S1 and S2) and two PCs (PC1 and PC2). The key steps are: 1. Configure basic settings on S1 and S2 like hostname, passwords, and banner. 2. Configure IP addresses on PC1 (192.168.1.1) and PC2 (192.168.1.2). 3. Assign IP addresses to VLAN 1 on S1 (192.168.1.253) and S2 (192.168.1.254). 4. Verify connectivity between all devices using the ping command.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Packet Tracer - Implement Basic Connectivity

Addressing Table
Device Interface IP Address Subnet Mask

S1 VLAN 1 192.168.1.253 255.255.255.0


S2 VLAN 1 192.168.1.254 255.255.255.0
PC1 NIC 192.168.1.1 255.255.255.0
PC2 NIC 192.168.1.2 255.255.255.0

Objectives
Part 1: Perform a Basic Configuration on S1 and S2
Part 2: Configure the PCs
Part 3: Configure the Switch Management Interface

Background
In this activity, you will first create a basic switch configuration. Then, you will implement basic connectivity by
configuring IP addressing on switches and PCs. When the IP addressing configuration is complete, you will
use various show commands to verify the configuration and use the ping command to verify basic
connectivity between devices.

Instructions
Part : Perform a Basic Configuration on S1 and S2
Complete the following steps on S1 and S2.

Step 1: Configure S1 with a hostname.


a. Click S1 and then click the CLI tab.
b. Enter the correct command to configure the hostname as S1.

Step 2: Configure the console and encrypted privileged EXEC mode passwords.
a. Use cisco for the console password.
Use class for the privileged EXEC mode password.

2013 -2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 10 www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

Step 3: Verify the password configurations for S1.


How can you verify that both passwords were configured correctly?
ANS: There are two ways to verify the password, one is to look into config file and another is to exit from
config mode to see if it asks for a password. However, the first one is more reliable and recommended as
there might be a mistake in the password string. So checking the config file is the best way. From the
below pictures, we can see that both console and EXEC mode passwords are set by entering the “show
run “ command.

Step 4: Configure an MOTD banner.


Use an appropriate banner text to warn unauthorized access. The following text is an example:
Authorized access only. Violators will be prosecuted to the full extent of the law.
S1# config t

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 10 www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

S1# banner motd “Authhhorisez Access only. Tresspassers/violators will be prosecuted. For
help contact [email protected]

Step 5: Save the configuration file to NVRAM.


Which command do you issue to accomplish this step?
ANS: S1/S2 > enable (enter exec mode password and enter)
S1/S2# copy run start (press enter) or copy running-config startup-config

Step 6: Repeat Steps 1 to 5 for S2.

Part : Configure the PCs


Configure PC1 and PC2 with IP addresses.

Step 1: Configure both PCs with IP addresses.


a. Click PC1 and then click the Desktop tab.
b. Click IP Configuration. In the Addressing Table above, you can see that the IP address for PC1 is
192.168.1.1 and the subnet mask is 255.255.255.0. Enter this information for PC1 in the IP Configuration
window.
c. Repeat steps 1a and 1bfor PC2.

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 10 www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

Step 7: Test connectivity to switches.


a. Click PC1. Close the IP Configuration window if it is still open. In the Desktop tab, click
Command Prompt.
b. Type the ping command and the IP address for S1 and press Enter.
Packet Tracer PC Command Line 1.0
PC>ping 192.168.1.253
Were you successful? Explain.
ANS: No it was not successful as there exists no such IP before assigning the switch vlan with that IP.

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 10 www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

Part : Configure the Switch Management Interface


Configure S1 and S2 with an IP address.

Step 1: Configure S1 with an IP address.


Switches can be used as plug-and-play devices. This means that they do not need to be configured for
them to work. Switches forward information from one port to another based on MAC addresses.
If this is the case, why would we configure it with an IP address?
ANS: Switches are plug-and-play devices. However level 3 switches have router functionality built in it.
So to make it a manageable switch we need to assign vlan IP so that we can access that switch from
any endpoint in that LAN. Thus assigning IP makes it more of a manageable switch like a router. Of
course, it helps manage the network more efficiently and ease troubleshooting.
Use the following commands to configure S1 with an IP address.
S1# configure terminal
Enter configuration commands, one per line . End with CNTL/Z .
S1(config)# interface vlan 1
S1(config-if)# ip address 192.168.1.253 255.255.255.0
S1(config-if)# no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
S1(config-if)#
S1(config-if)# exit
S1#
Why do you enter the no shutdown command?
ANS: We use “no shutdown” command to enable the interface status UP. By default the interface
remains DOWN. After configuring IP address we need to change the status to UP to work.

Step 8: Configure S2 with an IP address.


Use the information in the Addressing Table to configure S2 with an IP address.

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 10 www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

Step 9: Verify the IP address configuration on S1 and S2.


Use the show ip interface brief command to display the IP address and status of all the switch ports
and interfaces. You can also use the show running-config command.

Step 10: Save configurations for S1 and S2 to NVRAM.

Which command is used to save the configuration file in RAM to NVRAM?


ANS: S1/S2 > enable (enter exec mode password and enter)
S1/S2# copy run start (press enter) or copy running-config startup-config

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 10 www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

Step 11: Verify network connectivity.


Network connectivity can be verified using the pingcommand. It is very important that connectivity exists
throughout the network. Corrective action must be taken if there is a failure. Ping S1 and S2 from PC1
and PC2.
a. Click PC1 and then click the Desktop tab.
b. Click Command Prompt.
c. Ping the IP address for PC2.
d. Ping the IP address for S1.
e. Ping the IP address for S2.
Note: You can also use the ping command on the switch CLI and on PC2.
All pings should be successful. If your first ping result is 80%, try again.It should now be 100%. You will
learn why a ping may sometimes fail the first time later in your studies. If you are unable to ping any of the
devices, recheck your configuration for errors.
From PC 1 : image below

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 10 www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 10
www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

From PC 2 :

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 10 www.netacad.com
Packet Tracer - Impleme nt Basic Connectivity

From S1 :

From S2 :

2013 - 2022Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 10 www.netacad.com

You might also like