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

Last Updated on February 9, 2021 by Admin

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

Packet Tracer – Basic Switch and End Device Configuration – Physical Mode (Answers Version)

Answers Note: Red font color or gray highlights indicate text that appears in the Answers copy only.


In the topology, PC-A is connected to S1 via f0/6. PC-B is connected to S2 via F0/6. S1 and S2 are connected to each via F0/1.

Addressing Table



IP Address

Subnet Mask









Blank Line – no additional information


Part 1: Set Up the Network Topology

Part 2: Configure PC Hosts

Part 3: Configure and Verify Basic Switch Settings

Background / Scenario

In this Packet Tracer Physical Mode (PTPM) activity, you will build a simple network with two hosts and two switches. You will also configure basic settings including hostname, local passwords, and login banner. Use show commands to display the running configuration, IOS version, and interface status. Use the copy command to save device configurations.

You will apply IP addressing for to the PCs and switches to enable communication between the devices. Use the ping utility to verify connectivity.


Part 1:Set Up the Network Topology

Power on the PCs and cable the devices according to the topology. To select the correct port on a switch, right click and select Inspect Front. Use the Zoom tool, if necessary. Float your mouse over the ports to see the port numbers. Packet Tracer will score the correct cable and port connections.

  1. There are several switches, routers, and other devices on the Shelf. Click and drag switches S1 and S2 to the Rack. Click and drag two PCs to the Table.
  2. Power on the PCs.
  3. On the Cable Pegboard, click a Copper Cross-Over cable. Click the FastEthernet0/1 port on S1 and then click the FastEthernet0/1 port on S2 to connect them. You should see the cable connecting the two ports.
  4. On the Cable Pegboard, click a Copper Straight-Through cable. Click the FastEthernet0/6 port on S1 and then click the FastEthernet0 port on PC-A to connect them.
  5. On the Cable Pegboard, click a Copper Straight-Through cable. Click the FastEthernet0/18 port on S2 and then click the FastEthernet0 port on PC-B to connect them.
  6. Visually inspect network connections. Initially, when you connect devices to a switch port, the link lights will be amber. After a minute or so, the link lights will turn green.

Part 2:Configure PC Hosts

Configure static IP address information on the PCs according to the Addressing Table.

  1. Click PC-A > Desktop > IP Configuration. Enter the IP address for PC-A ( and the subnet mask (, as listed in the IP addressing table. You can leave default gateway blank at this time because there is no router attached to the network.
  2. Close the PC-A window.
  3. Repeat the previous steps to assign the IP address information for PC-B, as listed in the Addressing Table.
  4. Click PC-A > Desktop > Command Prompt. Use the ipconfig /all command at the prompt to verify settings.
  5. Enter ping at the prompt to test the connectivity to PC-B. The ping should be successful, as shown in the following output. If the ping is not successful, check the configurations on both of the PCs and troubleshoot as necessary.

Packet Tracer PC Command Line 1.0

C:\> ping

Pinging with 32 bytes of data:

Reply from bytes=32 time<1ms TTL=128

Reply from bytes=32 time<1ms TTL=128

Reply from bytes=32 time<1ms TTL=128

Reply from bytes=32 time<1ms TTL=128

Ping statistics for

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms


Part 3:Configure and Verify Basic Switch Settings

  1. On the Cable Pegboard, click a Console cable. Connect the console cable between S1 and PC-A.
  2. Establish a console connection to the switch S1 from PC-A using the Packet Tracer generic Terminal program (PC-A > Desktop > Terminal). Press ENTER to get the Switch> prompt.
  3. You can access all switch commands in privileged EXEC mode. 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. Enter privileged EXEC mode by entering the enable command.

Open Configuration Window

Switch> enable


  1. The prompt changed from Switch> to Switch# which indicates privileged EXEC mode. Enter global configuration mode.

Switch# configure terminal

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


  1. The prompt changed to Switch(config)# to reflect global configuration mode. Give the switch a name according to the Addressing Table.

Switch(config)# hostname S1

  1. Enter local passwords. Use class as the privileged EXEC password and cisco as the password for console access.

S1(config)# enable secret class

S1(config)# line con 0

S1(config-line)# password cisco

S1(config-line)# login

S1(config-line)# exit

  1. Configure and enable the VLAN 1 interface according to the Addressing Table.

S1(config)# interface vlan 1

S1(config-if)# ip address

S1(config-if)# no shutdown

  1. A login banner, known as the message of the day (MOTD) banner, should be configured to warn anyone accessing the switch that unauthorized access will not be tolerated. Configure an appropriate MOTD banner to warn about unauthorized access.

S1(config)# banner motd #

Enter TEXT message. End with the character ‘#’.

Unauthorized access is strictly prohibited and prosecuted to the full extent of the law. #

S1(config)# exit

  1. Save the configuration to the startup file on non-volatile random access memory (NVRAM).

S1# copy running-config startup-config

Destination filename [startup-config]? [Enter]

Building configuration…



  1. Display the current configuration.

S1# show running-config

Building configuration…

<output omitted>

  1. Display the IOS version and other useful switch information.

S1# show version

Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2012 by Cisco Systems, Inc.

Compiled Sat 28-Jul-12 00:29 by prod_rel_team

<output omitted>

  1. Display the status of the connected interfaces on the switch.

S1# show ip interface brief

InterfaceIP-AddressOK? Method StatusProtocol

FastEthernet0/1unassignedYES unsetupup

FastEthernet0/2unassignedYES unsetdowndown

<output omitted>

FastEthernet0/3unassignedYES unsetdowndown

FastEthernet0/4unassignedYES unsetdowndown

FastEthernet0/5unassignedYES unsetdowndown

FastEthernet0/6unassignedYES unsetupup

FastEthernet0/24unassignedYES manual downdown

GigabitEthernet0/1unassignedYES manual downdown

GigabitEthernet0/2unassignedYES manual downdown

Vlan1192.168.1.1YES manual upup


Close Configuration Window.

  1. Repeat the previous steps to configure switch S2. Make sure the hostname is configured as S2.
  2. Record the interface status for the following interfaces.


S1 Status

S1 Protocol

S2 Status

S2 Protocol





















Blank Line – no additional information

  1. From a PC, ping S1 and S2. The pings should be successful.
  2. From a switch, ping PC-A and PC-B. The pings should be successful.

Reflection Question

Why are some FastEthernet ports on the switches up while others are down?

Type your answers here.

The FastEthernet ports are up when cables are connected to the ports unless they were manually shutdown by the administrators. Otherwise, the ports would be down.

What could prevent a ping from being sent between the PCs?

Type your answers here.

Wrong IP address, media disconnected, switch powered off or ports administratively down, firewall.


5 1 vote
Article Rating
Notify of
Inline Feedbacks
View all comments