Upload
sumairirshad6997
View
225
Download
0
Embed Size (px)
Citation preview
8/8/2019 Networking Labs Presentations(SumairIrshad)
1/15
Networking LabsNetworking LabsPresentationsPresentations
Sumair IrshadSumair Irshad
B06101140B06101140
8/8/2019 Networking Labs Presentations(SumairIrshad)
2/15
8/8/2019 Networking Labs Presentations(SumairIrshad)
3/15
IntroductionIntroductionRo uter :Ro uter :
A A R outerR outer is an electro nic device that interco nnects tw o o r mo re Co mputeris an electro nic device that interco nnects tw o o r mo re Co mputernetw o rks, and selectively interchanges Packets of Data between themnetw o rks, and selectively interchanges Packets of Data between them ..
R espo nsibilities :R espo nsibilities :1.1. Carrying netw o rk pro to co ls and f unctio ns.Carrying netw o rk pro to co ls and f unctio ns.2.2. Co nnecting high speed tra ff ic between devices.Co nnecting high speed tra ff ic between devices.3.3. A dding security and sto p unauth o rized netw o rk use. A dding security and sto p unauth o rized netw o rk use.
4.4. Pro viding scalability
for case
of netw
ork gr
o wth andPr
o viding scalability
for case
of netw
ork gr
o wth andredundancy.redundancy.
5.5. Supplying netw o rk reliability fo r co nnecting to netw o rk Supplying netw o rk reliability fo r co nnecting to netw o rk reso urces.reso urces.
8/8/2019 Networking Labs Presentations(SumairIrshad)
4/15
Commands PerformedCommands Performed To enter in a privilege mode : To enter in a privilege mode :Ro uter>enable o r enRo uter>enable o r enRo uter#Ro uter#
To enter in a Global configuration mode: To enter in a Global configuration mode:Ro uter# c o nf igure terminal o r co nf ig tRo uter# c o nf igure terminal o r co nf ig tRo uter(co nf ig)#Ro uter(co nf ig)#
To change the host name of a router: To change the host name of a router:Ro uter(co nf ig)# h o stname nameRo uter(co nf ig)# h o stname name
To Set password to a router: To Set password to a router:Ro uter (co nf ig)# line co nso le 0Ro uter (co nf ig)# line co nso le 0Ro uter (co nf ig Ro uter (co nf ig--line)# lo ginline)# lo ginRo uter(co nf ig Ro uter(co nf ig--line)# passw o rd Ciscoline)# passw o rd Cisco
8/8/2019 Networking Labs Presentations(SumairIrshad)
5/15
Continued.Continued.Show content of startup configuration(NV RAM) :Show content of startup configuration(NV RAM) :Ro uter# sh o w startupRo uter# sh o w startup--co nf ig co nf ig
To assign ip address to the router: To assign ip address to the router:Ro uter(co nf ig)# inter f ace f astEthernet 0/1Ro uter(co nf ig)# inter f ace f astEthernet 0/1Ro uter(co nf ig)# ipaddress [ . . . .] [subnetmask]Ro uter(co nf ig)# ipaddress [ . . . .] [subnetmask]Ro uter(co nf ig)# n o shutdo wnRo uter(co nf ig)# n o shutdo wn
Verify the connectivity of the router with the switch: Verify the connectivity of the router with the switch:Ro uter# ping [switch ip address]Ro uter# ping [switch ip address]
Verify the connectivity of the router with the pc: Verify the connectivity of the router with the pc:Ro uter# ping [pc ip address]Ro uter# ping [pc ip address]
Verifying command: Verifying command:Ro uter# sh o w ip interf ace brief Ro uter# sh o w ip interf ace brief Ro uter# sh o w interf aces ethernet 0Ro uter# sh o w interf aces ethernet 0
8/8/2019 Networking Labs Presentations(SumairIrshad)
6/15
8/8/2019 Networking Labs Presentations(SumairIrshad)
7/15
Virtual L A N Basics Virtual L A N BasicsA VL AN is a limited bro adcast do main, meaning that A VL AN is a limited bro adcast do main, meaning thatall members of a VL AN receive every bro adcast packetall members of a VL AN receive every bro adcast packetsent by members of the same VL AN but n o t packetssent by members of the same VL AN but n o t packetssent by members of a diff erent VL AN . This f eaturesent by members of a diff erent VL AN . This f eatureo ptimizes bandwidth utilizatio n and tra ff ic f ire walling.o ptimizes bandwidth utilizatio n and tra ff ic f ire walling.A ll the members of a VL AN are gro uped lo gically into A ll the members of a VL AN are gro uped lo gically into the same br o adcast do main independent of theirthe same br o adcast do main independent of theirphysical lo catio n.physical lo catio n.
A dds, mo ves, and changes are achieved via sof tware A dds, mo ves, and changes are achieved via sof tware within a VL AN , reducing netw o rk management time within a VL AN , reducing netw o rk management timeand expense.and expense.N o ro uting is required amo ng members of a VL AN .N o ro uting is required amo ng members of a VL AN .
8/8/2019 Networking Labs Presentations(SumairIrshad)
8/15
Commands PerformedCommands PerformedCreatingCreating VL A NS VL A NS ::Switch(co nf ig)# vlan 2Switch(co nf ig)# vlan 2
A ssigning name to a vlan: A ssigning name to a vlan:Switch (co nf ig Switch (co nf ig--vlan)# name [vlan name] vlan)# name [vlan name]
Deleting a vlan:Deleting a vlan:Switch(co nf ig)# n o vlan 2Switch(co nf ig)# n o vlan 2
To add ports to a vlan: To add ports to a vlan:Switch(co nf ig)# inter f ace f astEthernet 0/0Switch(co nf ig)# inter f ace f astEthernet 0/0Switch(co nf ig Switch(co nf ig--if )# switchp o rt mo de accessif )# switchp o rt mo de accessSwitch(co nf ig Switch(co nf ig--if )# switchp o rt access vlan 2if )# switchp o rt access vlan 2
To add multiple ports to a vlan: To add multiple ports to a vlan:Switch(co nf ig)# inter f ace f astEthernet 0/0Switch(co nf ig)# inter f ace f astEthernet 0/0- -22
8/8/2019 Networking Labs Presentations(SumairIrshad)
9/15
VTP commands VTP commands To make port a trunk port: To make port a trunk port:Switch(co nf ig Switch(co nf ig--if )# switchp o rt mo de trunk if )# switchp o rt mo de trunk
To set the vtp domain cisco on the switch: To set the vtp domain cisco on the switch:Switch(co nf ig)# vtp d o main CISCOSwitch(co nf ig)# vtp d o main CISCO
To change operating mode of a switch: To change operating mode of a switch:Switch(co nf ig)# vtp m o de server|transparent|clientSwitch(co nf ig)# vtp m o de server|transparent|client
Verifying Commands: Verifying Commands:Switch# sh o w interf ace trunk Switch# sh o w interf ace trunk Switch# sh o w vtp statusSwitch# sh o w vtp statusSwitch# sh o w vlanSwitch# sh o w vlan
8/8/2019 Networking Labs Presentations(SumairIrshad)
10/15
Inter Vlan R outingInter Vlan R outing
8/8/2019 Networking Labs Presentations(SumairIrshad)
11/15
InterInter --Vlan Ro uting Vlan Ro uting
InterInter--VL AN ro uting as a pro cess of fo rwarding VL AN ro uting as a pro cess of fo rwarding netw o rk traff ic f ro m o ne VL AN to ano thernetw o rk traff ic f ro m o ne VL AN to ano ther
VL AN using a ro uter. VL AN using a ro uter.
8/8/2019 Networking Labs Presentations(SumairIrshad)
12/15
Commands PerformedCommands Performed
To make a sub interface from a interface: To make a sub interface from a interface:Ro uter(co nf ig)# inter f ace f astEthernet 0/0Ro uter(co nf ig)# inter f ace f astEthernet 0/0Ro uter(co nf ig Ro uter(co nf ig--if )# inter f ace f astEthernet 0/0.10if )# inter f ace f astEthernet 0/0.10Ro
uter(co
nf ig
Router(c
on
f ig--sub i
f )# encapsulati
on.1Q 2sub i
f )# encapsulati
on.1Q 2Ro uter(co nf ig Ro uter(co nf ig--sub if )# ip address 10.0.0.100 255.0.0.0sub if )# ip address 10.0.0.100 255.0.0.0
Ro uter(co nf ig Ro uter(co nf ig--sub if )# n o shutdo wnsub if )# n o shutdo wn
Verifying Commands: Verifying Commands:Ro uter# sh o w ip interf ace brief Ro uter# sh o w ip interf ace brief Ro uter# sh o w ip ro uteRo uter# sh o w ip ro ute
8/8/2019 Networking Labs Presentations(SumairIrshad)
13/15
ROU T ING INF ORMA T IO N P RO T OCO L( RI P )ROU T ING INF ORMA T IO N P RO T OCO L( RI P )
8/8/2019 Networking Labs Presentations(SumairIrshad)
14/15
ROU T ING INF ORMA T IO N P RO T OCO L( RI P )ROU T ING INF ORMA T IO N P RO T OCO L( RI P )
Ro uting info rmatio n pro to co l ( R IP) is a true distanceRo uting info rmatio n pro to co l ( R IP) is a true distance--vecto r vecto rro uting pro to co l. R IP sends the c o mplete ro uting table o ut to allro uting pro to co l. R IP sends the c o mplete ro uting table o ut to allactive interf aces every 30 seco nds. R ip o nly uses ho p co unt t o active interf aces every 30 seco nds. R ip o nly uses ho p co unt t o determine th best way t o a remo te netw o rk, but it has adetermine th best way t o a remo te netw o rk, but it has amaximum allo wable ho p co unt of 15 by def ault, meaning that 16maximum allo wable ho p co unt of 15 by def ault, meaning that 16is deemed unreachable.is deemed unreachable.R ip w o rks well in a small netw o rks, but its ineff icient o n largeR ip w o rks well in a small netw o rks, but its ineff icient o n largenetw o rks with slo w W AN links o r o n netw o rks with a largenetw o rks with slo w W AN links o r o n netw o rks with a largenumber of ro uters installed.number of ro uters installed.R ip versio n 1 uses o nly classf ull ro uting, which means that allR ip versio n 1 uses o nly classf ull ro uting, which means that alldevices in the netw o rk must use the same subnet mask. This isdevices in the netw o rk must use the same subnet mask. This isbecause R IP versio n 1 do esnt send updates with subnetmask because R IP versio n 1 do esnt send updates with subnetmask info rmatio n. R ip versio n 2 pro vides so mething called pref ixinfo rmatio n. R ip versio n 2 pro vides so mething called pref ixro uting and d o es send subnet mask in fo rmatio n with the r o utero uting and d o es send subnet mask in fo rmatio n with the r o uteupdates. This is called classless ro uting.updates. This is called classless ro uting.
8/8/2019 Networking Labs Presentations(SumairIrshad)
15/15
Commands PerformedCommands Performed
To co nf igure the static ro ute o n the r o uter: To co nf igure the static ro ute o n the r o uter:Ro uter(co nf ig)# ip r o ute 20.0.0.0 255.0.0.0 15.0.0.2Ro uter(co nf ig)# ip r o ute 20.0.0.0 255.0.0.0 15.0.0.2
To
enable the rip pro
to
co
lo
n ro
uter: To
enable the rip pro
to
co
lo
n ro
uter:Ro uter(co nf ig)# r o uter ripRo uter(co nf ig)# r o uter ripRo uter(co nf ig Ro uter(co nf ig--ro uter)# versi o n 2ro uter)# versi o n 2Ro uter(co nf ig Ro uter(co nf ig--ro uter)# netw o rk 10.0.0.0ro uter)# netw o rk 10.0.0.0Ro uter(co nf ig Ro uter(co nf ig--ro uter)# netw o rk 15.0.0.0ro uter)# netw o rk 15.0.0.0
Verifying Commands: Verifying Commands:Ro uter# sh o w ip ro uteRo uter# sh o w ip ro uteRo uter# debug ip r o uteRo uter# debug ip r o uteRo uter# sh o w ip pro to co lsRo uter# sh o w ip pro to co ls