HTFHG Manual
HTFHG Manual
Physical Topology:
Switch name: IU
First Computer: PC0, 192.168.1.1
Second Computer: PC1, 192.168.1.2
Line Console password: cisco
Enable Secret password: cisco
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch. Any other switch used may produce different output. Select the “Command
Line” option from the menu to perform the steps for this lab.
Step 1 Enter privileged mode
a. Privileged mode gives access to all the switch commands. Many of the privileged commands configure
operating parameters. Therefore, privileged access should be password-protected to prevent
unauthorized use. The privileged command set includes those commands contained in user EXEC mode,
as well as the configure command through which access to the remaining command modes is gained.
Switch>enable
Switch#
b. Notice the prompt changed in the configuration to reflect privileged EXEC mode.
Switch#show running-config
b. How many Ethernet or Fast Ethernet interfaces does the switch have?
0 to 15.
Switch#show startup-config
%% Non-volatile configuration memory is not present
The startup configuration has not been saved to NVRAM yet. This is why the configuration file does not
exist in NVRAM.
a. Enter enable and then the configuration mode. The configuration mode allows the management of
the switch. Enter IU, the name this switch will be referred to in the following:
Switch#configure terminal
Enter the configuration commands, one for each line. End by pressing Ctrl-Z.
Switch(config)#hostname IU
IU(config)#exit
b. Notice the prompt changed in the configuration to reflect its new name. Type exit or press
Ctrl-Z to go back into privileged mode.
a. Exam the current configuration that follows to verify that there is no configuration except for the
hostname:
IU#show running-config
IU.
Enter config-line mode for the console. Set the password on this line as cisco for login. Configure the vty
lines 0 to 15 with the password cisco as follows:
IU#configure terminal
Enter the configuration commands, one for each line. End by pressing Ctrl-Z.
IU (config)#line con 0
IU (config-line)#password cisco
IU (config-line)#line vty 0 15
IU (config-line)#password cisco
IU (config-line)#exit
a. Set the enable password to cisco and the enable secret password to class as follows:
PC>Ping 192.168.1.2
a. The basic configuration of the switch has just been completed. Back up the running configuration file
to NVRAM as follows:
Note: This will ensure that the changes made will not be lost if the system is rebooted or loses power.
IU#copy running-config startup-config
Destination filename [startup-config]?[Enter]
Building configuration...
[OK]
IU#
a. To see the configuration that is stored in NVRAM, type show startup-config from the privileged EXEC
(enable mode).
IU#show startup-config
b. What is displayed?
The startup configuration file will display the saved configuration, including the hostname, passwords,
and any additional settings configured.
c. Are all the changes that were entered recorded in the file?
Yes, all changes saved with the copy running-config startup-config command will be recorded in the file.
IU#exit
Once these steps are completed, logoff by typing exit, and turn all the devices off. Then remove and
store the cables and adapter.
Conclusion:
The switch was successfully configured with a hostname and passwords for console and VTY lines.
The enable secret password was set to enhance security.
IP addresses were assigned to PCs, and successful connectivity was verified using the ping command.
The configuration was saved to NVRAM to prevent data loss on reboot.
Learning Outcomes:
Learned how to configure and secure a switch using privileged and configuration modes.
Gained practical knowledge of assigning IP addresses and verifying connectivity.
Understood the importance of saving the configuration to NVRAM for persistent settings.
Lab 2
Configuring VLAN’s
Learning Objectives:
In this Lab we exercised the features of VLAN and how the VLAN’s are created in a switched
environment.
Physical Topology:
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch. Any other switch used may produce different output. Select the “Command
Line” option from the menu to perform the steps for this lab.
S1#show running-config
a. a. Set the IP address of the switch to 192.168.1.10 with a subnet mask of 255.255.255.0 as follows:
S1(config)#interface VLAN 1
S1(config-if)#ip address 192.168.1.10 255.255.255.0
S1(config-if)#exit
a. Are you able to PING switch IP address from any of the machines
Yes, if the IP addresses and subnet mask are configured correctly on both the switch and PCs.
b. Note down the switch port numbers where the computers are connected
PC1 connects to port __1___
PC2 connects to port __2___
PC3 connects to port __3___
PC4 connects to port __4___
c. PING PC1 PC2, PC1 PC3, PC3 PC4 and note down the results
d. Use the following command to display basic information about switch VLAN interfaces
Yes, VLAN 2 will be displayed in the output of the show vlan brief command.
Conclusion:
VLANs were successfully created and configured to segment the network.
PCs in different VLANs cannot communicate unless routing is configured between VLANs.
Learning Outcomes:
Gained practical knowledge of creating VLANs and assigning switch ports to VLANs.
Physical Topology:
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch. Any other switch used may produce different output. Select the “Command
Line” option from the menu to perform the steps for this lab.
Step 1:
b. At this point all computers should be able to access each other. Verify it by using PING command
At this stage, all computers should communicate successfully since they are in the default VLAN
1.
Switch#config t
Switch(config)#vlan 2
Switch(config)#exit
b. Add port 1 of switch 1 and port 2 of switch 2 to Vlan 2. Follow the command below
Switch1(config)#interface fastethernet 0/1
Switch1(config-if)#switchport access vlan 2
Switch1(config-if)#exit
a. Make Port 3 on Switch 1 and Switch 2 a Trunk port. Follow the command
Switch1#conf t
Switch1(config)#switchport mode trunk
Switch1(config)#exit
Conclusion:
Learning Outcomes:
Configuring EtherChannel
Learning Objectives:
In this Lab students will exercise the features of EtherChannel.
EtherChannel is a port link aggregation technology or port-channel architecture used primarily on Cisco
switches. It allows grouping of several physical Ethernet links to create one logical Ethernet link for the
purpose of providing fault-tolerance and high-speed links between switches, routers and servers.
Physical Topology:
Background/Preparation:
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch. Any other switch used may produce different output. Select the “Command
Line” option from the menu to perform the steps for this lab.
Step 1:
Note: At this point a trunk will be shown on Gigabitethernet ports but no etherchannel is configured
Step 3:
a. Configure etherchannel on port Ge1/1 and 1/2 on both switches. Follow the command below
Switch#conf t
Switch(config-if-range)#exit
a. Ping PC1 > PC4 and PC2 > PC3 and verify the connectivity
Both pings should be successful, the EtherChannel configuration is working, and the devices are
connected as expected.
Conclusion:
In this lab, we configured and tested EtherChannel between two switches to combine multiple physical
Ethernet links into a single logical link for improved fault tolerance and bandwidth. After verifying the
trunk configuration and ensuring proper connectivity between PCs, we proceeded to configure the
EtherChannel, checking the show etherchannel summary command to confirm its status. Successful
pings confirmed the EtherChannel setup was effective for improving network reliability and
performance.
Learning Outcomes:
Learned how to configure EtherChannel to aggregate multiple links into a single logical connection.
Gained an understanding of the trunking and EtherChannel configurations using commands like show
Confirmed the effectiveness of EtherChannel for enhancing fault tolerance and network speed.
Verified the connection status and the correct operation of the EtherChannel with pings and network
tests.
Lab 5
Physical Topology:
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch. Any other switch used may produce different output. Select the “Command
Line” option from the menu to perform the steps for this lab.
a. Configure Trunk ports between all switches. Use the following common
Switch(config)#switchport mode trunk
b. Check Trunk status on all switches using the command
Switch#show interfaces trunk
c. Write down the port numbers on each switch that are configured for trunk
Note: At this point all computers should be able to PING each other.
Note: All switches are in Server Mode and VTP domain name shows empty
b. Login to Switch0, use the command below to configure VTP domain name
Switch0(config)#vtp domain IU
d. Check vtp status on all remaining switches. The change will reflect on other switches after short
interval.
a. Switch0 is already on Server mode. Configure Switch1, Switch2 and Switch3 as Clients using the
command below
Switch(config)#vtp mode client
b. Configure Transparent mode on Switch4 and Switch5 using the command below
Switch(config)#vtp mode transparent
b. Check Vlan status on Switch1, 2 and 3. Has VLAN2 and VLAN3 been created automatically on
these switches
Yes, VLANs 2 and 3 will be automatically created on these switches since they are in Client mode
and receive the VTP advertisement.
c. Check VLAN status on Switch4 and 5. Have new vlans been created on these switches
No new VLANs will be created on Switches 4 and 5 because they are in Transparent mode and
do not participate in VTP.
d. Delete VLAN 3 on Switch0. Check the status on Client switches.
VLAN 3 will be deleted on Switch0, and the change will propagate to the client switches.
Conclusion:
In this lab, we successfully configured VTP to share VLAN information across multiple switches. We
verified the operation of VTP in different modes—Server, Client, and Transparent—and confirmed that
VLANs created on the VTP Server were automatically propagated to the Client switches, but not to the
Learning Outcomes:
Configured VLANs and used VTP for automatic VLAN distribution across switches.
Configured and understood the behaviour of VTP Server, Client, and Transparent modes.
Verified how VLAN changes are reflected across switches in different VTP modes.
Lab 6
Basic Inter-VLAN Routing
Learning Objectives:
In this lab, students will learn how to configure a router to pass traffic from one VLAN to another VLAN.
Students will learn Inter-VLAN routing.
Physical Topology:
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch. Any other switch used may produce different output. Select the “Command
Line” option from the menu to perform the steps for this lab.
At this stage, you will not be able to PING PC2 from PC1 because they are in separate VLANs, and
inter-VLAN routing is not yet configured.
Conclusion:
Configuring a trunk port allows tagged VLAN traffic to pass between a switch and a router.
Routing table entries confirm connectivity between VLANs, ensuring proper network
Learning Outcomes:
Verified network functionality and understood the role of a routing table in VLAN routing.
Lab 7
Configuring Static Route
Learning Objectives:
In this Lab students will learn to configure static route on Cisco routers to ensure end-to-end
connectivity between PC0 and PC1
Physical Topology
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch and 2811 router. Any other switch used may produce different output. Select
the “Command Line” option from the menu to perform the steps for this lab.
Router 2:
Fe0/0: 10.1.2.1 255.255.255.0
S1/0: 10.1.3.2 255.255.255.0
b) Configure DCE clock rate 64000 on serial interface of Router 1 using the following command
Router 1#conf t
Router 1(config)#clock rate 64000
Router 1(config)#exit
c) How many subnets are there in the network and what are they
There are two subnets:
Subnet 1: 10.1.1.0/24 (Router1 and PC0)
Subnet 2: 10.1.2.0/24 (Router2 and PC1)
Inter-router link: 10.1.3.0/24
PC 0:
IP Address 10.1.1.2
Gateway: 10.1.1.1
PC 2:
IP Address: 10.1.2.2
Gateway: 10.1.2.1
Router 2:
Router(config)#ip route 10.1.1.0 255.255.255.0 10.1.3.1
Static routes were successfully configured to enable communication between different subnets.
Routers can manually direct traffic to networks that are not directly connected.
End-to-end connectivity was verified by a successful ping between PC0 and PC1.
Learning Outcomes:
Physical Topology:
Background:
Router0 does not have a route to a remote unknown network 172.16.5.0 which is a Router 2
LAN. Router 2 also have no routes back to Router 0 LAN which is 172.16.6.0 Default route will
be configured on Router 0 and Router 2 to access the unknown networks
Router 1:
S1/0: 10.1.1.2 255.255.255.0
S1/1: 192.168.1.1 255.255.255.0
Router 2:
Fe0/0: 172.16.5.1 255.255.255.0
S1/0: 192.168.1.2 255.255.255.0
e) Configure DCE clock rate 64000 on serial interface of Router 0 and Router 2 using the following
command
Router 1#conf t
Router 1(config)#clock rate 64000
Router 1(config)#exit
f) Check the routing table on all routers using “show ip route” command. What routes are
showing up in each router
Router 0: Should only display directly connected routes for 172.16.6.0 and 10.1.1.0.
Router 1: Should display directly connected routes for 10.1.1.0 and 192.168.1.0.
Router 2: Should display directly connected routes for 172.16.5.0 and 192.168.1.0.
PC 0:
IP Address 172.16.6.2
Gateway: 172.16.6.1
PC 1:
IP Address: 172.16.5.2
Gateway: 172.16.5.1
The ping should now be successful because the default routes allow Router 0 and Router 2 to
forward packets for unknown networks to Router 1.
b) Check the routing table and write down the entries for each router
Router 0: Should display directly connected routes and the default route via serial 1/0.
Router 1: Should display static routes to both LANs and directly connected routes.
Router 2: Should display directly connected routes and the default route via serial 1/0.
Conclusion:
Default static routes were successfully configured on Router 0 and Router 2 to enable communication
End-to-end connectivity between PC0 and PC1 was verified using successful ping tests.
Learning Outcomes:
Understood the configuration of default static routes and their role in forwarding packets to unknown
networks.
Learned to verify connectivity and troubleshoot routing issues using the ping command.
Gained hands-on experience with routing table analysis using the show ip route command.
Lab 9
Configuring RIP
Learning Objectives:
In this Lab students will learn about Routing Information Protocol (RIP) and how to configure
RIP on Cisco routers.
Physical Topology:
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2960 series switch and 2811 router. Any other switch used may produce
different output. Select the “Command Line” option from the menu to perform the steps for
this lab.
Step 1: Configuring Routers
Router 1:
Fe0/0: 192.168.3.1 255.255.255.0
S1/0: 192.168.2.2 255.255.255.0
S1/1: 192.168.4.1 255.255.255.0
Router 2:
Fe0/0: 192.168.5.1 255.255.255.0
S1/0: 192.168.4.2 255.255.255.0
h) Configure DCE clock rate 64000 on serial interface of Router 0 and Router 1 using the
following command
Router #conf t
Router(config)#clock rate 64000
Router(config)#exit
i) How many subnets are there in the network and what are they?
1. 192.168.1.0/24
2. 192.168.2.0/24
3. 192.168.3.0/24
4. 192.168.4.0/24
5. 192.168.5.0/24
PC 0:
IP Address 192.168.1.2
Gateway: 192.168.1.1
PC 1:
IP Address: 192.168.3.2
Gateway: 192.168.3.1
PC 2:
IP Address: 192.168.5.2
Gateway: 192.168.5.1
Conclusion:
RIP was successfully configured on all routers to dynamically exchange routing information.
End-to-end connectivity between all PCs was achieved through dynamic routing.
The configuration was verified using show ip route, show ip protocols, and successful ping tests.
Learning Outcomes:
Understood the basic configuration and operation of RIP.
Gained practical experience in verifying RIP using routing tables and protocol commands.
Lab 10
VLSM Network
RIP vs RIPv2
Learning Objectives:
In this Lab students will learn to configure RIPv2 in a VLSM network. Students will learn the
difference between both RIP and RIPv2. RIP does not support VLSM Networks.
Physical Topology:
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2811 router. Any other Router used may produce different output. Select the
“Command Line” option from the menu to perform the steps for this lab.
Step 1: Configuring Routers
Router 1:
interface Serial1/0
ip address 10.1.2.2 255.255.255.0
!
interface Serial1/1
ip address 10.1.3.1 255.255.255.252
clock rate 64000
Router 2
interface Serial1/0
ip address 10.1.3.2 255.255.255.252
!
interface Serial1/1
ip address 10.1.4.1 255.255.255.0
clock rate 64000
Router 3
interface Serial1/0
ip address 10.1.4.2 255.255.255.0
d) Referring to Lab 9 of RIP. Use the same commands to configure RIP on the routers.
e.g. Router(config)#router rip
Router(config)#network IP Address
Router 0
router rip
version 2
network 10.1.2.0
Router 1
router rip
version 2
network 10.1.2.0
network 10.1.3.0
Router 2
router rip
version 2
network 10.1.3.0
network 10.1.4.0
Router 3
router rip
version 2
network 10.1.4.0
a) Run “show ip route” on all routers. What networks are showing on Router 1 and 2
Yes, because RIPv2 supports VLSM, and routes are correctly advertised with subnet mask
information.
Conclusion:
RIP does not support VLSM because it does not advertise subnet mask information in routing updates.
RIPv2 supports VLSM, allowing networks with different subnet masks to be routed effectively.
Learning Outcomes:
Gained practical knowledge of configuring RIPv2 in a network.
Understood the limitations of RIP and the advantages of RIPv2 in handling VLSM networks.
Developed troubleshooting skills by analysing and resolving routing issues in RIP configurations.
Lab 11
Discontiguous Network
EIGRP vs RIP
Learning Objectives:
In this Lab students will learn to configure EIGRP in a Discontiguous Network. Students will
learn the difference between both EIGRP and RIP. RIP does not support Discontiguous
Networks.
Physical Topology:
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2960 series switch and 2811 router. Any other switch used may produce
different output. Select the “Command Line” option from the menu to perform the steps for
this lab.
Step 1: Configuring Routers
Router 1:
interface Serial1/0
ip address 10.1.2.2 255.255.255.0
!
interface Serial1/1
ip address 192.168.1.1 255.255.255.0
clock rate 64000
Router 2
interface Serial1/0
ip address 192.168.1.2 255.255.255.0
!
interface Serial1/1
ip address 10.1.4.1 255.255.255.0
clock rate 64000
Router 3
interface FastEthernet0/0
ip address 10.1.5.1 255.255.255.0
duplex auto
speed auto
!
interface Serial1/0
ip address 10.1.4.2 255.255.255.0
PC 0:
IP Address 10.1.1.2
Gateway: 10.1.1.1
PC 2:
IP Address: 10.1.5.2
Gateway: 10.1.5.1
The ping will fail because the routers are not configured with any routing protocols yet, meaning
the routers do not know how to forward the traffic to the destination.
g) Referring to Lab 9 of RIP. Use the same commands to configure RIP on the routers.
e.g. Router(config)#router rip
Router(config)#network IP Address
Router 0
router eigrp 100
network 10.1.1.0
network 10.1.2.0
no auto-summary
Router 1
router eigrp 100
network 10.1.2.0
network 192.168.1.0
no auto-summary
Router 2
router eigrp 100
network 192.168.1.0
network 10.1.4.0
no auto-summary
Router 3
router eigrp 100
network 10.1.4.0
network 10.1.5.0
no auto-summary
c) Run “show ip route” on all routers. What networks are showing on Router 1 and 2
d) Are you able to ping from PC0 to PC1?
Yes, the ping works after EIGRP is configured.
Conclusion:
In this lab, we learned to configure EIGRP to support discontiguous networks. RIP was not suitable for
this topology because it could not handle discontiguous networks, and thus routing between them
failed. By configuring EIGRP with the "no auto-summary" command, we enabled the routers to handle
the discontiguous networks properly and established connectivity between PC0 and PC1
Learning Outcomes:
Understanding the limitations of RIP in discontiguous networks.
The significance of the "no auto-summary" command in EIGRP for correct routing.
Troubleshooting routing issues in discontiguous networks and resolving them with EIGRP.
Lab 12
OSFP
Learning Objectives:
In this Lab students will learn about OSPF routing protocol. How OSPF is configured. Students
will learn different commands to verify OSPF configuration
Physical Topology:
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2960 series switch and 2811 router. Any other switch used may produce
different output. Select the “Command Line” option from the menu to perform the steps for
this lab.
Step 1: Configuring Routers
Router 1:
interface Serial1/0
ip address 192.168.10.2 255.255.255.252
!
interface Serial1/1
ip address 192.168.10.9 255.255.255.252
Router 2
interface FastEthernet0/0
ip address 10.1.1.1 255.255.255.0
!
interface Serial1/0
ip address 192.168.10.6 255.255.255.252
!
interface Serial1/1
ip address 192.168.10.10 255.255.255.252
clock rate 64000
PC 0:
IP Address 10.1.1.2
Gateway: 10.1.1.1
Router 0
router ospf 1
network 192.168.10.4 0.0.0.3 area 0
network 192.168.10.0 0.0.0.3 area 0
Router 1
router ospf 1
network 192.168.10.8 0.0.0.3 area 0
network 192.168.10.0 0.0.0.3 area 0
Router 2
router ospf 1
network 192.168.10.4 0.0.0.3 area 0
network 192.168.10.8 0.0.0.3 area 0
network 10.1.1.0 0.0.0.255 area 0
f) Run “show ip route” on all routers. Note down the routing table of each router
Router 0: Will display networks 192.168.10.0/30 and 192.168.10.4/30.
Router 1: Will display networks 192.168.10.8/30 and 192.168.10.0/30.
Router 2: Will display networks 192.168.10.4/30, 192.168.10.8/30, and 10.1.1.0/24.
h) Run “Show ip ospf neighbors” command and note down the results.
Displays the OSPF neighbors (Router 1, Router 2) with their router IDs and state.
Both state is Full meaning OSPF is fully established
Conclusion:
In this lab, we configured and verified OSPF routing protocol on multiple routers. The network was
divided into different areas, and OSPF was enabled on the specified interfaces. The show ip route and
show ip ospf neighbors commands helped confirm the OSPF configuration and the establishment of
OSPF neighbors. The lab demonstrated how to set up OSPF, troubleshoot connectivity, and verify the
routing information exchanged between routers. Successful ping tests confirmed proper communication
between devices.
Learning Outcomes:
Learned how to configure OSPF on Cisco routers.
Gained an understanding of how OSPF exchanges routing information and establishes neighbor
relationships.
Became familiar with using commands like show ip route, show ip ospf neighbors, and show ip protocol
Understood the role of areas in OSPF and how to configure networks within specific areas.