0% found this document useful (0 votes)
23 views5 pages

Topic 7D. Lab - Basic Configuration of A CISCO Switch

This document provides instructions for configuring a basic Cisco switch and PC using Packet Tracer to verify connectivity. It consists of three parts: 1. Configure the IP address of a PC as 192.168.1.10. 2. Configure the switch name as S1, set passwords, configure VLAN 1 IP as 192.168.1.254, and set the interface speed of Fast Ethernet 0/8 to 100 Mbps and duplex to full. 3. Verify connectivity by pinging between the PC and switch IP addresses and ensuring connectivity is established in both directions.

Uploaded by

simonnjau
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)
23 views5 pages

Topic 7D. Lab - Basic Configuration of A CISCO Switch

This document provides instructions for configuring a basic Cisco switch and PC using Packet Tracer to verify connectivity. It consists of three parts: 1. Configure the IP address of a PC as 192.168.1.10. 2. Configure the switch name as S1, set passwords, configure VLAN 1 IP as 192.168.1.254, and set the interface speed of Fast Ethernet 0/8 to 100 Mbps and duplex to full. 3. Verify connectivity by pinging between the PC and switch IP addresses and ensuring connectivity is established in both directions.

Uploaded by

simonnjau
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/ 5

LAB exercise

Basic Configuration of a CISCO Switch using a Packet tracer

Objectives
Part1: Configure PC
Part2: Configure a Basic Switch
Part3: Verify the Connectivity

Topology

Part1: Configure PC

Step1: Assign IP address 192.168.1.10 and subnet mask as 255.255.255.0 for PC


           

Part2: Configure 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.
Configure the switch name as S1

Step 2: Secure privileged mode access.


Set the enable secret password as techacad (Case Sensitive)

Step 3: Secure access to the console line.


To secure access to the console line, access line mode and set the console password to cisco

Step 4: Secure access to the vty line. To secure access to the vty line, access line mode and set
the vty password to cisco

Step 5: Encrypt the console and vty passwords.

Note:

 Console 0 is the physical console port on the switch/router you plug into.
 Line vty is for remote accessing into the switch/router via telnet or ssh.
 The config-line is letting you know you are currently in configuration mode for that
specific line.

Step 6: Configure a message of the day (MOTD) banner. Configure the Banner Message as
Warning
Step 7: Configure Switch Virtual Interface.
Configure VLAN 1 with ip address 192.168.1.254 and subnet mask 255.255.255.0
Bring the VLAN 1 interface state to up

Step  8: Save Configuration Files to NVRAM           

Step 9: Configure the port speed and duplex settings for a Fast Ethernet interface.
Configure the duplex and speed settings on Fast Ethernet 0/8. Use the end command to return
to privileged EXEC mode when finished.

S1#configure terminal
S1(config)#interface fastethernet 0/8
S1(config-if)#speed 100
S1(config-if)#duplex full
S1(config-if)#end

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed


state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed
state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan 2, changed state to up

The line protocol for both interface FastEthernet 0/8 and interface VLAN 2 will temporarily go
down.
The default on the Ethernet interface of the switch is auto-sensing, so it automatically
negotiates optimal settings. You should set duplex and speed manually only if a port must
operate at a certain speed and duplex mode. Manually configuring ports can lead to duplex
mismatches, which can significantly degrade performance.
Verify the new duplex and speed settings on the Fast Ethernet interface by typing the below
command;

S1#show interface fastethernet 0/8

Part3: Verify the Connectivity; 

 We are now done with our basic configurations! Next we will verify the connectivity
between the switch and the PC;

 From The PC, ping the IP address of the switch which is 192.168.1.254. Ping tests show
that we can successfully reach the switch from the PC end;
 Likewise from the switch ping the PC’s IP address which is 192.168.1.10.

 The ping results are also Okay. We can therefore conclude that we were able to not only
perform some basic switch configurations but also build a simple network consisting of a
switch and a PC.

You might also like