Professional Documents
Culture Documents
LAB 1
OBJECTIVE
Familiarization with networking Equipment, Components and PACKET Tracer
Equipment:
1 Router, 1 Switch, Computer with Packet Tracer Installed
Procedure:
Router:
Normally 2 Ethernet Ports and Free Slots available for inserting cards as required
Page 2 of 28
How many ports and slots are available? What are their specifications? Which type of cards you have in
LAB?
Switch:
A switch has different number of ports depending on requirements and Model Number.
A Console port to access device
Sometimes we found USB console in modern switches
How many switches are in your LAB? And how many ports and their speed specified?
Packet Tracer:
Page 3 of 28
Console Cable
Straight Through Cable used to connect different devices
Cross Over Cable used to connect same devices
Serial Cable
Summary:
LAB 2
OBJECTIVE
Computer Communication and Networks
Technology Sahiwal
Page 4 of 28
Equipment:
2 Computers with windows OS installed
1 Crossover Cable
Some data to share
Procedure:
a.
b.
c.
d.
As we insert cable green lights will start to blink on both LAN adapters and link could be seen as UP
status. Share some data from PC1 access it from PC2.
Page 5 of 28
Summary:
Page 6 of 28
LAB 3
OBJECTIVE
Access a Router/Switch
Equipment:
1PC with terminal Emulator
A Router
A Console Cable
Procedure:
Launch terminal emulator select correct COM port number.
Select correct bits/s, data bits, parity, stop and flow control.
By default
Bits/s=9600
Data Bits=8
Parity= None
Stop Bits= 1
Flow Control= None
Insert DB-9 connector of console cable in PC COM port, and RJ-45 connector in Router/Switch console
port.
Power on Router/Switch and see the emulator will show the device start boot up.
To access a device from far away location we use AUX port have RJ-45 port.
We connect AUX port to modem and our emulator system with another modem.
Dial the number through emulator and device will be accessible.
How many COM ports you see? Which COM port do you select?
Summary:
Computer Communication and Networks
Technology Sahiwal
Page 7 of 28
LAB 4
OBJECTIVE
Basic Commands in CLI mode of Router IOS
Equipment:
Console cable
Router/Switch
PC with terminal Emulator
Procedure:
As we access the device in LAB 3 and device completed its boot startup
We see Router > its called user mode of Router.
Here we can use ping, trace route and somewhat show commands.
Type enable and enter we see Router # its called privilege mode.
Here we can use all show commands, erase flash memory.
Type configure terminal we see Router (Config) # its called configuration mode.
From here we start our any type of configuration.
Type interface type number, For example interface fast Ethernet 0/0
We see Router (Config-if) called interface mode.
From here we can configure our interface settings.
Give command show ip interface brief in privilege mode. How many physical and virtual interfaces
available?
Page 8 of 28
Summary:
LAB 5
Computer Communication and Networks
Technology Sahiwal
Page 9 of 28
OBJECTIVE
Connecting two networks via router and routing table
Equipment:
Console cable
Router, 2-Switch, 2 Pcs
PC with terminal Emulator
Procedure:
As we access the device in LAB 3 and device completed its boot startup
Type enable to enter in privilege mode. Here type show ip interface brief command to see how many
physical and logical interfaces on router.
You will see two fast Ethernet port.
Type configure terminal to enter in global configuration mode.
Enter one of physical interface name like interface fast Ethernet 0/0
Now you are in interface mode assign ip address using command ip address address subnet mask.
Type no shutdown command to enable interface.
Repeat same process to assign ip address to the other interface.
Now connect two switches and Pcs as shown in fig. Assign ip address to the pcs from respective network.
Try to ping both pcs.
You will see it will be successful although both are in different networks.
Come to router privilege mode enter command show ip route to see routing table of router.
What does it shows?
Give command show interface fastethernet 0/0 what information you got here?
Computer Communication and Networks
Technology Sahiwal
Page 10 of 28
Summary:
LAB 6
Computer Communication and Networks
Technology Sahiwal
Page 11 of 28
OBJECTIVE
Assigning IP Address to Interface and Access via Telnet Utility
Equipment:
Console cable
Router/Switch
PC with terminal Emulator
Ethernet Straight Through cable
Procedure:
Access router as described in LAB 3.
Enter in interface mode as described in LAB 4.
Type command ip address interface IP ADDRESS SUBNET MASK it assign IP address to that
specific interface in which we are.
Type no shutdown It makes port status as UP.
Type exit to come to configuration mode
Set privilege mode password using command enable password PASSWORD
Set virtual terminal lines using command line vty 0 4
Set password to virtual line using command Password PASSWORD
Press CTRL+Z Router will be in privilege mode.
Type write or copy running-configuration startup-configuration it will save data from RAM to
NVRAM.
Connect patch cable to the interface that we have configured and insert the other end to LAN adapter of
PC.
Assign IP address to TCP/IPv4 from same network as assigned in Router/Switch.
Check connectivity of Router/Switch using ping utility.
Go to the command prompt type telnet IP ADDRESS of Router/Switch
Page 12 of 28
Summary:
Page 13 of 28
LAB 7
OBJECTIVE
Configure VLANs in a Switch, assigning ports to VLAN and PORT Security
Equipment:
Console cable
PC with terminal emulator
Switch
Procedure:
Get access to the switch and enter in privilege mode.
Type Show vlan
We see default vlans configured on switch and all ports are the member of VLAN 1.
Enter in configuration mode and type vlan 2 we will be in Switch (Config-vlan) mode
Assign a name to that vlan using command name NAME
Type vlan 3-6 in configuration mode
Type do show vlan we see configured vlans are 2-6
Enter in any interface using command interface type name
Type the following commands to make that interface member of some specific vlan
switchport mode access
switchport access vlan vlan number
Press CTRL+Z and type show vlan write down the output here
Go to interface mode of any interface that is connected and active with a PC. And write commands as
follows.
switchport port-security
Computer Communication and Networks
Technology Sahiwal
Page 14 of 28
Disconnect PC and connect another to that port and see what happens? What is the output of command
shoe port-security interface interface name what is the difference?
Summary:
LAB 8
Computer Communication and Networks
Technology Sahiwal
Page 15 of 28
OBJECTIVE
Configure DHCP Server on a Router
Equipment:
Router
Switch
3-5 PC
Some straight cables
Console cable
Procedure:
Connect all the equipment as seen in Fig.
Make PCs to obtain ip address automatically from DHCP server
Access the Router enter in configuration mode
Assign ip address to port that is connected to switch.
Type the following commands to set the DHCP server in configuration mode.
ip dhcp pool POOL NAME
network NET ID of network SUBNET MASK
default-router ip address of routers port
Press CTRL+Z and type write
Check what ip addresses PCs got?
Page 16 of 28
Summary:
LAB 9
Computer Communication and Networks
Technology Sahiwal
Page 17 of 28
OBJECTIVE
Configuring a Trunk b/w two Switch, Assign VLAN numbers to trunk port and Configure and verify VTP
Equipment:
Two switches
Crossover and straight through cables and console cable
4 pcs
Procedure:
Connect both switches with cross cable on fast Ethernet 0/0 of both switches
Power on both switches
Create 4 vlans
Switch 1 Configuration
Config t
Interface fast Ethernet 0/0
Switchport mode trunk
Switchport trunk allowed vlan 1,2,3,4
exit
Vtp mode server
Vtp domain name CISCO
Switch 2 configuration
Config t
Interface fast Ethernet 0/0
Switchport mode trunk
Switchport trunk allowed vlan 1,2,3,4
exit
Vtp mode client
Vtp domain name CISCO
Make two ports (fa0/2 and fa0/3) of both switches the member of vlan 2 and vlan 3 respectively
Connect PCs to all 4 ports and try to communicate b/w different vlans.
What happens?
Give command show vtp status in privilege mode and write the output here.
Summary:
LAB 10
OBJECTIVE
Computer Communication and Networks
Technology Sahiwal
Page 18 of 28
Equipment:
3 routers
Crossover cables
Console cable
Terminal emulator
Procedure:
Connect routers as shown
Assign ip addresses to all ports of router
Here we configure a static route on router A to reach at a network Router C and create a default route on
router B to reach at a network router C.
Router A
A (config) # ip route destination network SUBNET MASJ NEXT HOP ADDRESS
Router B
B (config) # ip route 0.0.0.0 0.0.0.0 NEXT HOP ADDRESS
Give command of show ip route on router B and C and write details.
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Summary:
LAB 11
OBJECTIVE
Computer Communication and Networks
Technology Sahiwal
Page 19 of 28
Equipment:
3 Routers having minimum 3 interfaces
Crossover cables
3 Pcs
Console and terminal emulator
Procedure:
Connect the equipment as shown in diagram.
Assign IP Addresses to each interface
Try to ping from one network to any other and give details
Give command show ip route in privilege mode of each router and write here what you observe
Page 20 of 28
EIGRP is also a distance vector routing protocol and its startup implementation commands are same as
RIP V2 will be done by your instructor.
Give details of show ip route after EIGRP implementation
Summary:
LAB 12
OBJECTIVE
Configure Link State Routing Protocol
Computer Communication and Networks
Technology Sahiwal
Page 21 of 28
Equipment:
Two Pcs
3 Routers
Two switches
Procedure:
Connect the equipment as shown in diagram
Assign hostname and ip addresses to the respective interfaces as given in fig.
Give following commands in global configuration mode of all routers
Router(config)# router ospf autonomous system number
Same command for all directly connected networks
Router(Config-router)# network network-id wildcard-mask area area #
Give command show ip route
Summary:
LAB 13
OBJECTIVE
Configure and verify static/dynamic NAT
Page 22 of 28
Equipment:
Two ISR routers
1 Switch
5 Pcs
Straight through and Crossover cables
Procedure:
Connect the equipment as shown in fig
Page 23 of 28
Dynamic NAT is accomplished by your instructor and write here what is the basic difference you found in
Static and Dynamic NAT?
Summary:
LAB 14
OBJECTIVE
Configure Inter VLAN Routing
Equipment:
Computer Communication and Networks
Technology Sahiwal
Page 24 of 28
Procedure:
Configure 2 VLANs RED WHITE on a switch A
Make it vtp server and vtp domain name cisco.com
Make first 5 ports member of VLAN RED and next five ports member of VLAN WHITE
Connect 2 Pcs to RED vlan and 2 pcs to WHITE vlan
Try to communicate (ping) b/w pcs of different vlans
What is the output?
Give command ip routing on both switches now try to communicate b/w those pcs
What is output?
It is due to third layer device now router on a stick will be performed by your instructor and you will
write here the difference of both?
Summary:
Computer Communication and Networks
Technology Sahiwal
Page 25 of 28
LAB 15
OBJECTIVE
Install and Configure Secure Device Manager
Equipment:
Router
Straight through cable
Computer Communication and Networks
Technology Sahiwal
Page 26 of 28
Procedure:
Install SDM software on PC
Page 27 of 28
Page 28 of 28
Summary: