CCNA Lab Reprt
CCNA Lab Reprt
Session: 2022-2026
Semester: 5th
MUST MIRPUR
2
A basic networking device that broadcasts incoming data to all connected devices without
filtering. Works at the Physical layer (Layer 1) and can cause network congestion.
Operates at the Data Link layer (Layer 2) and forwards data based on MAC addresses, reducing
unnecessary traffic and improving network efficiency.
Works at the Network layer (Layer 3) and routes data between different networks using IP
addresses, enabling internet connectivity.
Bridge:
Connects two network segments and filters traffic, reducing collisions and improving network
performance. Operates at Layer 2.
Amplifies and regenerates weak network signals to extend the network range. Works at Layer 1.
Gateway:
Converts data between different network protocols, allowing communication between networks
with different architectures. Operates across multiple layers.
Demonstration in GNS3:
Modem:
Converts digital signals from a computer into analog signals for transmission over telephone lines
(DSL or cable internet) and vice versa.
Expands a wireless network by allowing Wi-Fi devices to connect to a wired network. Acts as a
bridge between wired and wireless networks.
An advanced network emulator that runs actual Cisco IOS images, enabling users to create
complex real-world network topologies and integrate them with physical devices.
Wireshark:
A network packet analysis tool used to capture and inspect live network traffic, filter packets, and
diagnose network issues. Essential for troubleshooting.
If both ends use T568A or both use T568B, it’s a straight-through cable.
2. Crossover Cable
One end T568A, the other end T568B
Used for same-type device connections (PC-to-PC, switch-to-switch, router-to-router)
Wiring (T568A on one end, T568B on the other)
Pin T568A Color T568BColor
1 White-Green White-Orange
2 Green Orange
3 White-Orange White-Green
4 Blue Blue
5 White-Blue White-Blue
6 Orange Green
7 White-Brown White-Brown
8 Brown Brown
This swaps Tx (Transmit) and Rx (Receive) pairs for direct communication between devices.
6
1 White-Orange Brown
2 Orange White-Brown
3 White-Green Blue
4 Blue White-Green
5 White-Blue Green
6 Green White-Blue
7 White-Brown Orange
8 Brown White-Orange
Typically used with a serial-to-RJ45 adapter and software like PuTTY to access router settings.
7
Basic Configuration:
Router>enable
Router# configure terminal
Set hostname:
Router(config)# hostname R1
Enable Password:
R1(config)#enable password khuiratta001
MOTD Banner”
R1(config)# banner motd c
Topology:
c)Administrative Shutdown/Enable:
R2(config-if)# shutdown
R2(config-if)# no shutdown
10
3. IP Addressing:
Router interface:
R2(config)# interface Gigabite0/0/0
R2(config-if)# ip address 172.168.20.4 255.255.0.0
R2(config-if)# no shutdown
4. Telnet Configuration:
R2(config)# line vty 0 4
R2(config-line)# password telnet
R2(config-line)# login
R2(config-line)# exit
Test telnet:
C:\> telnet 172.16.1.2 # From a connected PC
11
Topology:
Explanation:
The left side of the topology represents a Local Area Network (LAN), where multiple PCs in the
192.168.1.0 network are connected to a switch, which then connects to Router R1. Similarly, the
right side is another LAN with PCs in the 172.168.20.10 network, connected to a switch, which is
linked to Router R2.
When these Two LANs are connected via the serial link (Se0/1/0) between Router R1 and Router
R2, they together form a Wide Area Network (WAN).
This WAN connection enables communication between devices in different LANs, allowing data
exchange over a broader network infrastructure.
12
Topology:
Static Routing:
In this topology, static routing and Cisco Discovery Protocol (CDP) are used to establish
connectivity and verify network neighbors. Below are the steps to configure them on routers
ISR4331 R1 and ISR4331 R2.
On Router R1:
R1>enable
R1#config t
R1(config)#ip route 172.168.0.0 255.255.0.0 10.1.1.2
R1(config)#exit
R1#wr
This command defines a static route to the 172.168.0.0/16 network via the 10.1.1.2 interface.
On Router R2:
R2>enable
R2#config t
R2(config)#ip route 192.168.1.0 255.255.255.0 10.1.1.1
R2(config)#exit
R2#wr
This command defines a static route to the 192.168.1.0/24 network via the Serial0/1/0 interface.
13
For R1:
R1#show ip route
For R2:
R2#show ip route
•This will display the routing table and confirm that the static routes are present.
For R2:
R2#show cdp neighbors
14
Topology:
Topology:
For Router 2:
R2(config)#router ospf 1
R2(config-router)#network 10.0.0.0 0.255.255.255 area 0
R2(config-router)#network 172.168.0.0 0.0.255.255 area
R2(config-router)#exit
7. Save Configuration
R2# wr
18
Topology:
Router R1 Configuration:
R1(config)# router eigrp 1
R1(config-router)# network 192.168.1.0 0.0.0.255
R1(config-router)# network 10.0.0.0 0.255.255.255
R1(config-router)# exit
Router R2 Configuration
R2(config)# router eigrp 100
R2(config-router)# network 172.168.1.0 0.0.255.255
R2(config-router)# network 11.0.0.0 0.255.255.255
R2(config-router)# exit
Topology:
Configure R2:
Router>enable
Router#configure terminal
Router#hostnmae R2
Topology:
Save Configuration
R2#wr
PC1 Configuration
Click on PC1.
Go to Desktop → IP Configuration.
IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.10
DNS Server: 1192.168.10.12
The below picture shows that the access to web server is allowed from PC1:
24
The below picture shows that the access to web server is denied from PC2:
25
Topology:
3.Create VLANs:
SW.A (config)#vlan 2
SW.A (config-vlan)#Physics
SW.A (config-vlan)#exit
SW.A (config)#vlan 3
SW.A (config-vlan)#Civil
26
SW.A (config-vlan)#exit
SW.A (config)#vlan 4
SW.A (config-vlan)#Electrical
SW.A (config-vlan)#exit
VLAN 3:
SW.A (config)#interface range fastethernet 0/10-12
SW.A (config-if-range)#switchport mode access
SW.A (config-if range)#switchport access vlan 3
SW.A (config-if)#exit
VLAN 4:
SW.A (config)#interface range fastethernet 0/20-22
SW.A (config-if-range)#switchport mode access
SW.A (config-if range)#switchport access vlan 4
SW.A (config-if)#exit
27
I went into CLI of switch2 and I used the show spanning-tree command to show the following
properties and Mac address.
As our spanning tree is working as per VLAN. Now, I am going to config terminal mode to check
which type of commands are available:
So, these are available and I am choosing VLAN 1 and setting it as root primary:
28
The port with Switch2 is now blocked and Switch0 is the root bridge.
THE END