SlideShare a Scribd company logo
1 of 27
© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
ITE PC v4.0
Chapter 1 1
Link-State Routing
Protocols
Routing Protocols and
Concepts – Chapter 10
ITE PC v4.0
Chapter 1 2© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Objectives
 Describe the basic features & concepts of link-state
routing protocols.
 List the benefits and requirements of link-state routing
protocols.
ITE PC v4.0
Chapter 1 3© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Introduction
ITE PC v4.0
Chapter 1 4© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
 Link state routing protocols
-Also known as shortest path first algorithms
-These protocols built around Dijkstra’s
SPF
ITE PC v4.0
Chapter 1 5© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
Dikjstra’s algorithm also known as the shortest path first
(SPF) algorithm
ITE PC v4.0
Chapter 1 6© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
 The shortest path to a destination is not necessarily the
path with the least number of hops
ITE PC v4.0
Chapter 1 7© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
Link-State Routing Process
 How routers using Link State Routing Protocols reach
convergence
-Each routers learns about its own directly connected
networks
-Link state routers exchange hello packet to “meet”
other directly
connected link state routers.
-Each router builds its own Link State Packet (LSP)
which includes information about neighbors such as
neighbor ID, link type, & bandwidth.
-After the LSP is created the router floods it to all
neighbors who then store the information and then
forward it until all routers have the same information.
-Once all the routers have received all the LSPs, the
routers then construct a topological map of the network
which is used to determine the best routes to a
destination
ITE PC v4.0
Chapter 1 8© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
 Directly Connected Networks
 Link
This is an interface on a
router
 Link state
This is the information
about the state of the links
ITE PC v4.0
Chapter 1 9© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
Sending Hello Packets to Neighbors
 Link state routing protocols use a hello protocol
Purpose of a hello protocol:
-To discover neighbors (that use the same
link state routing protocol) on its link
ITE PC v4.0
Chapter 1 10© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
Sending Hello Packets to
Neighbors
 Connected interfaces that are using
the same link state routing protocols
will exchange hello packets.
 Once routers learn it has neighbors
they form an adjacency
-2 adjacent neighbors will
exchange hello packets
-These packets will serve as a
keep alive function
ITE PC v4.0
Chapter 1 11© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
Building the Link State Packet
 Each router builds its own
Link State Packet (LSP)
Contents of LSP:
-State of each directly
connected link
-Includes information
about neighbors such as
neighbor ID, link type, &
bandwidth.
ITE PC v4.0
Chapter 1 12© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
Flooding LSPs to Neighbors
 Once LSP are created they are forwarded out to
neighbors.
-After receiving the LSP the neighbor continues to
forward it throughout routing area.
ITE PC v4.0
Chapter 1 13© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
 LSPs are sent out under the following conditions
-Initial router start up or routing process
-When there is a change in topology
ITE PC v4.0
Chapter 1 14© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
Constructing a link state data base
 Routers use a database to construct a topology map of
the network
ITE PC v4.0
Chapter 1 15© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
ITE PC v4.0
Chapter 1 16© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
Shortest Path First (SPF) Tree
 Building a portion of the SPF tree
Process begins by examining R2’s LSP information
-R1 ignores 1st LSP
Reason: R1 already knows it’s connected to R2
ITE PC v4.0
Chapter 1 17© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
 Building a portion of the SPF tree
-R1 uses 2nd LSP
Reason: R1 can create a link from R2 to R5.
This information is added to R1’s SPF tree
ITE PC v4.0
Chapter 1 18© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
 Building a portion of the SPF tree
-R1 uses 3rd LSP
Reason: R1 learns that R2 is connected to
10.5.0.0/16.
This link is added to R1’s SPF tree.
ITE PC v4.0
Chapter 1 19© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
 Determining the shortest path
The shortest path to a destination determined by adding the
costs & finding the lowest cost
ITE PC v4.0
Chapter 1 20© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing
 Once the SPF algorithm has determined the shortest
path routes, these routes are placed in the routing
table.
ITE PC v4.0
Chapter 1 21© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing Protocols
Routing
protocol
Builds
Topological
map
Router can
independently
determine the
shortest path to
every network.
Convergence
A periodic/
event driven
routing updates
Use
of
LSP
Distance
vector
No No Slow Generally No No
Link State Yes Yes Fast Generally Yes Yes
Advantages of a Link-State Routing Protocol
ITE PC v4.0
Chapter 1 22© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing Protocols
Requirements for using a link state routing protocol
 Memory requirements
Typically link state routing protocols use more
memory
 Processing Requirements
More CPU processing is required of link state
routing protocols
 Bandwidth Requirements
Initial startup of link state routing protocols can
consume lots of bandwidth
ITE PC v4.0
Chapter 1 23© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Link-State Routing Protocols
 2 link state routing protocols used for routing IP
-Open Shortest Path First (OSPF)
-Intermediate System-Intermediate System (IS-IS)
ITE PC v4.0
Chapter 1 24© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Summary
 Link State Routing protocols are also known as
Shortest Path First protocols
 Summarizing the link state process
-Routers 1ST learn of directly connected networks
-Routers then say “hello” to neighbors
-Routers then build link state packets
-Routers then flood LSPs to all neighbors
-Routers use LSP database to build a network topology
map & calculate the best path to each destination
ITE PC v4.0
Chapter 1 25© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Summary
 Link
An interface on the router
 Link State
Information about an interface such as
-IP address
-Subnet mask
-Type of network
-Cost associated with link
-Neighboring routers on the link
ITE PC v4.0
Chapter 1 26© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public
Summary
 Link State Packets
After initial flooding, additional LSP are sent out
when a change in topology occurs
 Examples of link state routing protocols
-Open shortest path first
-IS-IS
ITE PC v4.0
Chapter 1 27© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

More Related Content

What's hot

CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5
Irsandi Hasan
 
Exploration routing chapter_9
Exploration routing chapter_9Exploration routing chapter_9
Exploration routing chapter_9
Joshua Torres
 
Exploration routing chapter_6
Exploration routing chapter_6Exploration routing chapter_6
Exploration routing chapter_6
Joshua Torres
 
CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3
Irsandi Hasan
 
Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11
Sachii Dosti
 
Exploration routing chapter_4
Exploration routing chapter_4Exploration routing chapter_4
Exploration routing chapter_4
Joshua Torres
 
Exploration routing chapter_3
Exploration routing chapter_3Exploration routing chapter_3
Exploration routing chapter_3
Joshua Torres
 
Exploration routing chapter_8
Exploration routing chapter_8Exploration routing chapter_8
Exploration routing chapter_8
Joshua Torres
 

What's hot (20)

CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5
 
Exploration routing chapter_9
Exploration routing chapter_9Exploration routing chapter_9
Exploration routing chapter_9
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 
Exploration routing chapter_6
Exploration routing chapter_6Exploration routing chapter_6
Exploration routing chapter_6
 
CCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static RoutingCCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static Routing
 
CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter3
 
CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3CCNA Exploration 2 - Chapter 3
CCNA Exploration 2 - Chapter 3
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1
 
CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9
 
CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7
 
Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11
 
CCNA 1 Routing and Switching v5.0 Chapter 4
CCNA 1 Routing and Switching v5.0 Chapter 4CCNA 1 Routing and Switching v5.0 Chapter 4
CCNA 1 Routing and Switching v5.0 Chapter 4
 
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFCCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPF
 
Exploration routing chapter_4
Exploration routing chapter_4Exploration routing chapter_4
Exploration routing chapter_4
 
CCNA Exploration 4 - Chapter 8
CCNA Exploration 4 - Chapter 8CCNA Exploration 4 - Chapter 8
CCNA Exploration 4 - Chapter 8
 
Exploration routing chapter_3
Exploration routing chapter_3Exploration routing chapter_3
Exploration routing chapter_3
 
CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6
 
Exploration routing chapter_8
Exploration routing chapter_8Exploration routing chapter_8
Exploration routing chapter_8
 
CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 8
 
CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2
 

Similar to CCNA Exploration 2 - Chapter 10

Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1
Joshua Torres
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
Prof. Erwin Globio
 
CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1
Irsandi Hasan
 
Exploration routing chapter_2
Exploration routing chapter_2Exploration routing chapter_2
Exploration routing chapter_2
Joshua Torres
 
Exploration_Routing_Chapter_1 ppt for learning Networking
Exploration_Routing_Chapter_1 ppt for learning NetworkingExploration_Routing_Chapter_1 ppt for learning Networking
Exploration_Routing_Chapter_1 ppt for learning Networking
brainxMagic
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1
CAVC
 
Exploration routing chapter_5
Exploration routing chapter_5Exploration routing chapter_5
Exploration routing chapter_5
Joshua Torres
 
Exploration network chapter5
Exploration network chapter5Exploration network chapter5
Exploration network chapter5
r82093403
 
Chapter_2_CCNA2
Chapter_2_CCNA2Chapter_2_CCNA2
Chapter_2_CCNA2
sunabozu
 
Exploration routing chapter_3
Exploration routing chapter_3Exploration routing chapter_3
Exploration routing chapter_3
Shankar Murthy
 

Similar to CCNA Exploration 2 - Chapter 10 (20)

Link state protocols.ppt
Link state protocols.pptLink state protocols.ppt
Link state protocols.ppt
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Distance Vector Routing Protocols.ppt
Distance Vector Routing Protocols.pptDistance Vector Routing Protocols.ppt
Distance Vector Routing Protocols.ppt
 
Exploration routing chapter_1
Exploration routing chapter_1Exploration routing chapter_1
Exploration routing chapter_1
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1CCNA Exploration 2 - Chapter 1
CCNA Exploration 2 - Chapter 1
 
Week3 part 2
Week3  part 2Week3  part 2
Week3 part 2
 
1
11
1
 
Exploration routing chapter_2
Exploration routing chapter_2Exploration routing chapter_2
Exploration routing chapter_2
 
Exploration_Routing_Chapter_1 ppt for learning Networking
Exploration_Routing_Chapter_1 ppt for learning NetworkingExploration_Routing_Chapter_1 ppt for learning Networking
Exploration_Routing_Chapter_1 ppt for learning Networking
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1
 
OSI Network Layer
OSI Network LayerOSI Network Layer
OSI Network Layer
 
ccna lec 1.pdf
ccna lec 1.pdfccna lec 1.pdf
ccna lec 1.pdf
 
MyNFChapter5
MyNFChapter5MyNFChapter5
MyNFChapter5
 
Exploration routing chapter 4
Exploration routing chapter 4Exploration routing chapter 4
Exploration routing chapter 4
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
 
Exploration routing chapter_5
Exploration routing chapter_5Exploration routing chapter_5
Exploration routing chapter_5
 
Exploration network chapter5
Exploration network chapter5Exploration network chapter5
Exploration network chapter5
 
Chapter_2_CCNA2
Chapter_2_CCNA2Chapter_2_CCNA2
Chapter_2_CCNA2
 
Exploration routing chapter_3
Exploration routing chapter_3Exploration routing chapter_3
Exploration routing chapter_3
 

More from Irsandi Hasan

More from Irsandi Hasan (20)

CCNA v6.0 ITN - Chapter 11
CCNA v6.0 ITN - Chapter 11CCNA v6.0 ITN - Chapter 11
CCNA v6.0 ITN - Chapter 11
 
CCNA v6.0 ITN - Chapter 10
CCNA v6.0 ITN - Chapter 10CCNA v6.0 ITN - Chapter 10
CCNA v6.0 ITN - Chapter 10
 
CCNA v6.0 ITN - Chapter 09
CCNA v6.0 ITN - Chapter 09CCNA v6.0 ITN - Chapter 09
CCNA v6.0 ITN - Chapter 09
 
CCNA v6.0 ITN - Chapter 08
CCNA v6.0 ITN - Chapter 08CCNA v6.0 ITN - Chapter 08
CCNA v6.0 ITN - Chapter 08
 
CCNA v6.0 ITN - Chapter 07
CCNA v6.0 ITN - Chapter 07CCNA v6.0 ITN - Chapter 07
CCNA v6.0 ITN - Chapter 07
 
CCNA v6.0 ITN - Chapter 06
CCNA v6.0 ITN - Chapter 06CCNA v6.0 ITN - Chapter 06
CCNA v6.0 ITN - Chapter 06
 
CCNA v6.0 ITN - Chapter 05
CCNA v6.0 ITN - Chapter 05CCNA v6.0 ITN - Chapter 05
CCNA v6.0 ITN - Chapter 05
 
CCNA v6.0 ITN - Chapter 04
CCNA v6.0 ITN - Chapter 04CCNA v6.0 ITN - Chapter 04
CCNA v6.0 ITN - Chapter 04
 
CCNA v6.0 ITN - Chapter 03
CCNA v6.0 ITN - Chapter 03CCNA v6.0 ITN - Chapter 03
CCNA v6.0 ITN - Chapter 03
 
CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02
 
CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01
 
VMware vShield - Overview
VMware vShield - OverviewVMware vShield - Overview
VMware vShield - Overview
 
CCNA RS_NB - Chapter 11
CCNA RS_NB - Chapter 11CCNA RS_NB - Chapter 11
CCNA RS_NB - Chapter 11
 
CCNA RS_NB - Chapter 10
CCNA RS_NB - Chapter 10CCNA RS_NB - Chapter 10
CCNA RS_NB - Chapter 10
 
CCNA RS_NB - Chapter 9
CCNA RS_NB - Chapter 9CCNA RS_NB - Chapter 9
CCNA RS_NB - Chapter 9
 
CCNA RS_NB - Chapter 8
CCNA RS_NB - Chapter 8CCNA RS_NB - Chapter 8
CCNA RS_NB - Chapter 8
 
CCNA RS_NB - Chapter 7
CCNA RS_NB - Chapter 7CCNA RS_NB - Chapter 7
CCNA RS_NB - Chapter 7
 
CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6
 
CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5
 
CCNA RS_NB - Chapter 4
CCNA RS_NB - Chapter 4CCNA RS_NB - Chapter 4
CCNA RS_NB - Chapter 4
 

CCNA Exploration 2 - Chapter 10

  • 1. © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public ITE PC v4.0 Chapter 1 1 Link-State Routing Protocols Routing Protocols and Concepts – Chapter 10
  • 2. ITE PC v4.0 Chapter 1 2© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Objectives  Describe the basic features & concepts of link-state routing protocols.  List the benefits and requirements of link-state routing protocols.
  • 3. ITE PC v4.0 Chapter 1 3© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Introduction
  • 4. ITE PC v4.0 Chapter 1 4© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing  Link state routing protocols -Also known as shortest path first algorithms -These protocols built around Dijkstra’s SPF
  • 5. ITE PC v4.0 Chapter 1 5© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Dikjstra’s algorithm also known as the shortest path first (SPF) algorithm
  • 6. ITE PC v4.0 Chapter 1 6© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing  The shortest path to a destination is not necessarily the path with the least number of hops
  • 7. ITE PC v4.0 Chapter 1 7© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Link-State Routing Process  How routers using Link State Routing Protocols reach convergence -Each routers learns about its own directly connected networks -Link state routers exchange hello packet to “meet” other directly connected link state routers. -Each router builds its own Link State Packet (LSP) which includes information about neighbors such as neighbor ID, link type, & bandwidth. -After the LSP is created the router floods it to all neighbors who then store the information and then forward it until all routers have the same information. -Once all the routers have received all the LSPs, the routers then construct a topological map of the network which is used to determine the best routes to a destination
  • 8. ITE PC v4.0 Chapter 1 8© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing  Directly Connected Networks  Link This is an interface on a router  Link state This is the information about the state of the links
  • 9. ITE PC v4.0 Chapter 1 9© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Sending Hello Packets to Neighbors  Link state routing protocols use a hello protocol Purpose of a hello protocol: -To discover neighbors (that use the same link state routing protocol) on its link
  • 10. ITE PC v4.0 Chapter 1 10© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Sending Hello Packets to Neighbors  Connected interfaces that are using the same link state routing protocols will exchange hello packets.  Once routers learn it has neighbors they form an adjacency -2 adjacent neighbors will exchange hello packets -These packets will serve as a keep alive function
  • 11. ITE PC v4.0 Chapter 1 11© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Building the Link State Packet  Each router builds its own Link State Packet (LSP) Contents of LSP: -State of each directly connected link -Includes information about neighbors such as neighbor ID, link type, & bandwidth.
  • 12. ITE PC v4.0 Chapter 1 12© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Flooding LSPs to Neighbors  Once LSP are created they are forwarded out to neighbors. -After receiving the LSP the neighbor continues to forward it throughout routing area.
  • 13. ITE PC v4.0 Chapter 1 13© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing  LSPs are sent out under the following conditions -Initial router start up or routing process -When there is a change in topology
  • 14. ITE PC v4.0 Chapter 1 14© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Constructing a link state data base  Routers use a database to construct a topology map of the network
  • 15. ITE PC v4.0 Chapter 1 15© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing
  • 16. ITE PC v4.0 Chapter 1 16© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Shortest Path First (SPF) Tree  Building a portion of the SPF tree Process begins by examining R2’s LSP information -R1 ignores 1st LSP Reason: R1 already knows it’s connected to R2
  • 17. ITE PC v4.0 Chapter 1 17© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing  Building a portion of the SPF tree -R1 uses 2nd LSP Reason: R1 can create a link from R2 to R5. This information is added to R1’s SPF tree
  • 18. ITE PC v4.0 Chapter 1 18© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing  Building a portion of the SPF tree -R1 uses 3rd LSP Reason: R1 learns that R2 is connected to 10.5.0.0/16. This link is added to R1’s SPF tree.
  • 19. ITE PC v4.0 Chapter 1 19© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing  Determining the shortest path The shortest path to a destination determined by adding the costs & finding the lowest cost
  • 20. ITE PC v4.0 Chapter 1 20© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing  Once the SPF algorithm has determined the shortest path routes, these routes are placed in the routing table.
  • 21. ITE PC v4.0 Chapter 1 21© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Protocols Routing protocol Builds Topological map Router can independently determine the shortest path to every network. Convergence A periodic/ event driven routing updates Use of LSP Distance vector No No Slow Generally No No Link State Yes Yes Fast Generally Yes Yes Advantages of a Link-State Routing Protocol
  • 22. ITE PC v4.0 Chapter 1 22© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Protocols Requirements for using a link state routing protocol  Memory requirements Typically link state routing protocols use more memory  Processing Requirements More CPU processing is required of link state routing protocols  Bandwidth Requirements Initial startup of link state routing protocols can consume lots of bandwidth
  • 23. ITE PC v4.0 Chapter 1 23© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Link-State Routing Protocols  2 link state routing protocols used for routing IP -Open Shortest Path First (OSPF) -Intermediate System-Intermediate System (IS-IS)
  • 24. ITE PC v4.0 Chapter 1 24© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Summary  Link State Routing protocols are also known as Shortest Path First protocols  Summarizing the link state process -Routers 1ST learn of directly connected networks -Routers then say “hello” to neighbors -Routers then build link state packets -Routers then flood LSPs to all neighbors -Routers use LSP database to build a network topology map & calculate the best path to each destination
  • 25. ITE PC v4.0 Chapter 1 25© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Summary  Link An interface on the router  Link State Information about an interface such as -IP address -Subnet mask -Type of network -Cost associated with link -Neighboring routers on the link
  • 26. ITE PC v4.0 Chapter 1 26© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public Summary  Link State Packets After initial flooding, additional LSP are sent out when a change in topology occurs  Examples of link state routing protocols -Open shortest path first -IS-IS
  • 27. ITE PC v4.0 Chapter 1 27© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public