SlideShare a Scribd company logo
Chapter 8: Single-Area 
OSPF 
Routing & Switching 
© 2008 Cisco Systems, Inc. All Presentation_ID rights reserved. Cisco Confidential 1
Chapter 8 
8.1 Characteristics of OSPF 
8.2 Configuring Single-area OSPFv2 
8.3 Configure Single-area OSPFv3 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2
Chapter 8: Objectives 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
Open Shortest Path First 
Evolution of OSPF 
Interior Gateway Protocols 
1988 
1989 
updated in 
2008 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
Open Shortest Path First 
Features of OSPF 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
Open Shortest Path First 
Components of OSPF 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
Open Shortest Path First 
Components of OSPF (cont.) 
OSPF Routers Exchange Packets - These packets are 
used to discover neighboring routers and also to 
exchange routing information to maintain accurate 
information about the network. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
Open Shortest Path First 
Link-State Operation 
If a neighbor is present, 
the OSPF-enabled 
router attempts to 
establish a neighbor 
adjacency with that 
neighbor 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8
Open Shortest Path First 
Link-State Operation (cont.) 
 LSAs contain the state 
and cost of each directly 
connected link. 
 Routers flood their LSAs 
to adjacent neighbors. 
 Adjacent neighbors 
receiving the LSA 
immediately flood the LSA 
to other directly connected 
neighbors, until all routers 
in the area have all LSAs. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
Open Shortest Path First 
Link-State Operation 
 Build the topology table 
based on the received 
LSAs. 
 This database eventually 
holds all the information 
about the topology of the 
network. 
 Execute the SPF 
Algorithm. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
Open Shortest Path First 
Link-State Operation (cont.) 
From the SPF tree, 
the best paths are 
inserted into the 
routing table. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
Open Shortest Path First 
Single-area and Multiarea OSPF 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
Open Shortest Path First 
Single-area and Multiarea OSPF (cont.) 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13
OSPF Messages 
Encapsulating OSPF Messages 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 14
OSPF Messages 
Types of OSPF Packets 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 15
OSPF Messages 
Hello Packet 
OSPF Type 1 packet = Hello packet: 
 Discover OSPF neighbors and establish 
neighbor adjacencies. 
 Advertise parameters on which two routers 
must agree to become neighbors. 
 Elect the Designated Router (DR) and 
Backup Designated Router (BDR) on 
multiaccess networks like Ethernet and 
Frame Relay. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 16
OSPF Messages 
Hello Packet (cont.) 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 17
OSPF Messages 
Hello Packet Intervals 
OSPF Hello packets are transmitted: 
 To 224.0.0.5 in IPv4 and FF02::5 in IPv6 (all OSPF 
routers) 
 Every 10 seconds (default on multiaccess and point-to-point 
networks) 
 Every 30 seconds (default on non-broadcast 
multiaccess [NBMA] networks) 
 Dead interval is the period that the router waits to 
receive a Hello packet before declaring the neighbor 
down 
 Router floods the LSDB with information about down 
neighbors out all OSPF enabled interfaces 
 Cisco’s default is 4 times the Hello interval 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 18
OSPF Messages 
Link-State Updates 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 19
OSPF Operation 
OSPF Operational States 
When an OSPF router is 
initially connected to a 
network, it attempts to: 
 Create adjacencies 
with neighbors 
 Exchange routing 
information 
 Calculate the best 
routes 
 Reach convergence 
 OSPF progresses 
through several states 
while attempting to 
reach convergence. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 20
OSPF Operation 
Establish Neighbor Adjacencies 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 21
OSPF Operation 
Establish Neighbor Adjacencies (cont.) 
DR and BDR election only occurs on multi-access networks such as Ethernet LANs. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 22
OSPF Operation 
OSPF DR and BDR 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 23
OSPF Operation 
Synchronizing OSPF Database 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 24
OSPF Operation 
Synchronizing OSPF Database (cont.) 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 25
OSPF Router ID 
OSPF Network Topology 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 26
OSPF Router ID 
Router IDs 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 27
Configure Single-area OSPFv2 
The network Command 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 28
Configure Single-Area OSPFv2 
Passive Interface 
 By default, OSPF messages are forwarded out all OSPF-enabled 
interfaces. However, these messages really only need to be sent 
out interfaces connecting to other OSPF-enabled routers. 
 Sending out unneeded messages on a LAN affects the network in 
three ways: 
 Inefficient Use of Bandwidth 
 Inefficient Use of Resources 
 Increased Security Risk 
 The Passive Interface feature helps limiting the scope of routing 
updates advertisements. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 29
Configure Single-area OSPFv2 
Configuring Passive Interfaces 
Use the passive-interface router 
configuration mode command to prevent the 
transmission of routing messages through a 
router interface, but still allow that network to 
be advertised to other routers. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 30
OSPF Cost 
OSPF Metric = Cost 
Cost = reference bandwidth / interface bandwidth 
(default reference bandwidth is 10^8) 
Cost = 100,000,000 bps / interface bandwidth in bps 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 31
OSPF Cost 
OSPF Accumulates Costs 
Cost of an OSPF route is the accumulated value from one router to the 
destination network. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 32
OSPF Cost 
Adjusting the Reference Bandwidth 
 Use the command - auto-cost reference-bandwidth 
 Must be configured on every router in the OSPF domain 
 Notice that the value is expressed in Mb/s: 
 Gigabit Ethernet - auto-cost reference-bandwidth 1000 
 10 Gigabit Ethernet - auto-cost reference-bandwidth 10000 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 33
OSPF Cost 
Default Interface Bandwidths 
On Cisco routers, the default bandwidth on most serial interfaces is set to 
1.544 Mb/s. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 34
OSPF Cost 
Adjusting the Interface Bandwidths 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 35
OSPF Cost 
Manually Setting the OSPF Cost 
Both the bandwidth interface command and the ip ospf cost interface 
command achieve the same result, which is to provide an accurate 
value for use by OSPF in determining the best route. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 36
Verify OSPF 
Verify OSPF Neighbors 
Verify that the router has formed an adjacency with 
its neighboring routers. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 37
Verify OSPF 
Verify OSPF Protocol Settings 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 38
Verify OSPF 
Verify OSPF Process Information 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 39
Verify OSPF 
Verify OSPF Interface Settings 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 40
OSPFv2 vs. OSPFv3 
OSPFv3 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 41
OSPFv2 vs. OSPFv3 
Similarities Between OSPFv2 to OSPFv3 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 42
OSPFv2 vs. OSPFv3 
Differences Between OSPFv2 to OSPFv3 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 43
OSPFv2 vs. OSPFv3 
Link-Local Addresses 
FF02::5 address is the all OSPF router address 
FF02::6 is the DR/BDR multicast address 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 44
Configuring OSFPv3 
OSPFv3 Network Topology 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 45
Configuring OSFPv3 
OSPFv3 Network Topology (cont.) 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 46
Configuring OSFPv3 
Link-Local 
Addresses 
 Link-local addresses are automatically created when an IPv6 global unicast 
address is assigned to the interface (required). 
 Global unicast addresses are not required. 
 Cisco routers create the link-local address using FE80::/10 prefix and the 
EUI-64 process unless the router is configured manually, 
 EUI-64 involves using the 48-bit Ethernet MAC address, inserting FFFE in 
the middle and flipping the seventh bit. For serial interfaces, Cisco uses the 
MAC address of an Ethernet interface. 
 Notice in the figure that all three interfaces are using the same link-local 
address. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 47
Configuring OSFPv3 
Assigning Link-Local Addresses 
Manually 
configuring the link-local 
address 
provides the ability 
to create an 
address that is 
recognizable and 
easier to remember. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 48
Configuring OSFPv3 
Configuring the OSPFv3 Router ID 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 49
Configuring OSFPv3 
Configuring the OSPFv3 Router ID (cont.) 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 50
Configuring OSFPv3 
Modifying an OSPFv3 Router ID 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 51
OSPF Configuring OSFPv3 
Enabling OSPFv3 on Interfaces 
Instead of using the network router configuration mode 
command to specify matching interface addresses, 
OSPFv3 is configured directly on the interface. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 52
Verify OSPFv3 
Verify OSPFv3 Neighbors/Protocol Settings 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 53
Verify OSPFv3 
Verify OSPFv3 Interfaces 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 54
Verify OSPFv3 
Verify IPv6 Routing Table 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 55
Chapter 8: Summary 
OSPF: 
 For IPv4 is OSPFv2 
 For IPv6 is OSPFv3 
 Classless, link-state routing protocol with a default administrative 
distance of 110, and is denoted in the routing table with a route 
source code of O 
 OSPFv2 is enabled with the router ospf process-id global 
configuration mode command. The process-id value is locally 
significant, which means that it does not need to match other OSPF 
routers to establish adjacencies with those neighbors. 
 Network command uses the wildcard-mask value which is the 
inverse of the subnet mask, and the area-id value 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 56
Chapter 8: Summary (cont.) 
OSPF: 
 By default, OSPF Hello packets are sent every 10 seconds on 
multiaccess and point-to-point segments and every 30 seconds on 
NBMA segments (Frame Relay, X.25, ATM), and are used by OSPF 
to establish neighbor adjacencies. The Dead interval is four times the 
Hello interval, by default. 
 For routers to become adjacent, their Hello interval, Dead interval, 
network types, and subnet masks must match. Use the show ip ospf 
neighborscommand to verify OSPF adjacencies. 
 In a multiaccess network, OSPF elects a DR to act as collection and 
distribution point for LSAs sent and received. A BDR is elected to 
assume the role of the DR should the DR fail. All other routers are 
known as DROTHERs. All routers send their LSAs to the DR, which 
then floods the LSA to all other routers in the multiaccess network. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 57
Chapter 8: Summary (cont.) 
OSPF: 
 In multiaccess networks, the router with the highest router ID is the 
DR, and the router with the second highest router ID is the BDR. This 
can be superseded by the ip ospf priority command on that 
interface. The router with the highest priority value is the DR, and 
next-highest the BDR. 
 The show ip protocols command is used to verify important OSPF 
configuration information, including the OSPF process ID, the router 
ID, and the networks the router is advertising. 
 OSPFv3 is enabled on an interface and not under router 
configuration mode. OSPFv3 needs link-local addresses to be 
configured. IPv6 Unicast routing must be enabled for OSPFv3. A 32- 
bit router-ID is required before an interface can be enabled for 
OSPFv3. 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 58
Chapter 8: Summary (cont.) 
OSPF: 
 The show ip protocols command is used to verify important 
OSPFv2 configuration information, including the OSPF process ID, 
the router ID, and the networks the router is advertising. 
 OSPFv3 
• Enabled on an interface and not under router configuration 
mode 
• Needs link-local addresses to be configured. IPv6 
• Unicast routing must be enabled for OSPFv3 
• 32-bit router-ID is required before an interface can be enabled 
for OSPFv3 
• show ipv6 protocols command is a quick way to verify 
configuration information (OSPF process ID, the router ID, and 
the interfaces enabled for OSPFv3) 
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 59
Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 60

More Related Content

What's hot

CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA 2 Routing and Switching v5.0 Chapter 1CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA 2 Routing and Switching v5.0 Chapter 1
Nil Menon
 
CCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing ConceptsCCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing Concepts
Vuz Dở Hơi
 
CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3
Nil Menon
 
CCNA 2 Routing and Switching v5.0 Chapter 9
CCNA 2 Routing and Switching v5.0 Chapter 9CCNA 2 Routing and Switching v5.0 Chapter 9
CCNA 2 Routing and Switching v5.0 Chapter 9
Nil Menon
 
CCNA 1 Routing and Switching v5.0 Chapter 5
CCNA 1 Routing and Switching v5.0 Chapter 5CCNA 1 Routing and Switching v5.0 Chapter 5
CCNA 1 Routing and Switching v5.0 Chapter 5
Nil Menon
 
CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3
Nil Menon
 
CCNA v6.0 ITN - Chapter 04
CCNA v6.0 ITN - Chapter 04CCNA v6.0 ITN - Chapter 04
CCNA v6.0 ITN - Chapter 04
Irsandi Hasan
 
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationCCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
Vuz Dở Hơi
 
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8
Nil Menon
 
CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2
Nil Menon
 
CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 11CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 11
Nil Menon
 
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6
Nil Menon
 
CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02
Irsandi Hasan
 
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksCCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networks
Vuz Dở Hơi
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 Vlans
Vuz Dở Hơi
 
CCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static RoutingCCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static Routing
Vuz Dở Hơi
 
CCNA RS_ITN - Chapter 1
CCNA RS_ITN - Chapter 1CCNA RS_ITN - Chapter 1
CCNA RS_ITN - Chapter 1
Irsandi Hasan
 
CCNAv5 - S4: Chapter 5: Network Address Translation for ipv4
CCNAv5 - S4: Chapter 5: Network Address Translation for ipv4CCNAv5 - S4: Chapter 5: Network Address Translation for ipv4
CCNAv5 - S4: Chapter 5: Network Address Translation for ipv4
Vuz Dở Hơi
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1
Chaing Ravuth
 
CCNA v6.0 ITN - Chapter 05
CCNA v6.0 ITN - Chapter 05CCNA v6.0 ITN - Chapter 05
CCNA v6.0 ITN - Chapter 05
Irsandi Hasan
 

What's hot (20)

CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA 2 Routing and Switching v5.0 Chapter 1CCNA 2 Routing and Switching v5.0 Chapter 1
CCNA 2 Routing and Switching v5.0 Chapter 1
 
CCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing ConceptsCCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing Concepts
 
CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3CCNA 2 Routing and Switching v5.0 Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 3
 
CCNA 2 Routing and Switching v5.0 Chapter 9
CCNA 2 Routing and Switching v5.0 Chapter 9CCNA 2 Routing and Switching v5.0 Chapter 9
CCNA 2 Routing and Switching v5.0 Chapter 9
 
CCNA 1 Routing and Switching v5.0 Chapter 5
CCNA 1 Routing and Switching v5.0 Chapter 5CCNA 1 Routing and Switching v5.0 Chapter 5
CCNA 1 Routing and Switching v5.0 Chapter 5
 
CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3
 
CCNA v6.0 ITN - Chapter 04
CCNA v6.0 ITN - Chapter 04CCNA v6.0 ITN - Chapter 04
CCNA v6.0 ITN - Chapter 04
 
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationCCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
 
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8
 
CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2
 
CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 11CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 11
 
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA 1 Routing and Switching v5.0 Chapter 6
 
CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02CCNA v6.0 ITN - Chapter 02
CCNA v6.0 ITN - Chapter 02
 
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksCCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networks
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 Vlans
 
CCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static RoutingCCNAv5 - S2: Chapter 6 Static Routing
CCNAv5 - S2: Chapter 6 Static Routing
 
CCNA RS_ITN - Chapter 1
CCNA RS_ITN - Chapter 1CCNA RS_ITN - Chapter 1
CCNA RS_ITN - Chapter 1
 
CCNAv5 - S4: Chapter 5: Network Address Translation for ipv4
CCNAv5 - S4: Chapter 5: Network Address Translation for ipv4CCNAv5 - S4: Chapter 5: Network Address Translation for ipv4
CCNAv5 - S4: Chapter 5: Network Address Translation for ipv4
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1
 
CCNA v6.0 ITN - Chapter 05
CCNA v6.0 ITN - Chapter 05CCNA v6.0 ITN - Chapter 05
CCNA v6.0 ITN - Chapter 05
 

Similar to CCNA 2 Routing and Switching v5.0 Chapter 8

RS_InstructorPPT_Chapter8.pptx
RS_InstructorPPT_Chapter8.pptxRS_InstructorPPT_Chapter8.pptx
RS_InstructorPPT_Chapter8.pptx
jagali
 
CCNAv5 - S2: Chapter 8 single area ospf
CCNAv5 - S2: Chapter 8 single area ospfCCNAv5 - S2: Chapter 8 single area ospf
CCNAv5 - S2: Chapter 8 single area ospf
Vuz Dở Hơi
 
Chapter 08 - Single-Area OSPF
Chapter 08 - Single-Area OSPFChapter 08 - Single-Area OSPF
Chapter 08 - Single-Area OSPF
Yaser Rahmati
 
Chapter 19 : single-area ospf
Chapter 19 : single-area ospfChapter 19 : single-area ospf
Chapter 19 : single-area ospf
teknetir
 
Chapter5 adjust and troubleshoot single area ospf
Chapter5 adjust and troubleshoot single area ospfChapter5 adjust and troubleshoot single area ospf
Chapter5 adjust and troubleshoot single area ospf
Vuz Dở Hơi
 
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFCCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPF
Vuz Dở Hơi
 
CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11Irsandi Hasan
 
Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Sachii Dosti
 
CCNA Discovery 3 - Chapter 6
CCNA Discovery 3 - Chapter 6CCNA Discovery 3 - Chapter 6
CCNA Discovery 3 - Chapter 6Irsandi Hasan
 
Exploration routing chapter_11
Exploration routing chapter_11Exploration routing chapter_11
Exploration routing chapter_11Joshua Torres
 
Week9(1)
Week9(1)Week9(1)
Week9(1)
trayyoo
 
CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6
Irsandi Hasan
 
CCNA RS_ITN - Chapter 6
CCNA RS_ITN - Chapter 6CCNA RS_ITN - Chapter 6
CCNA RS_ITN - Chapter 6
Irsandi Hasan
 
Ospf
OspfOspf
Itn instructor ppt_chapter6_network_layer
Itn instructor ppt_chapter6_network_layerItn instructor ppt_chapter6_network_layer
Itn instructor ppt_chapter6_network_layer
Universitas Teknokrat Indonesia
 
Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6
Hamza Malik
 
CCNA3 Verson6 Chapter8
CCNA3 Verson6 Chapter8CCNA3 Verson6 Chapter8
CCNA3 Verson6 Chapter8
Chaing Ravuth
 
Chapter 04 - Routing Concepts
Chapter 04 - Routing ConceptsChapter 04 - Routing Concepts
Chapter 04 - Routing Concepts
Yaser Rahmati
 
KPUCC-Rs instructor ppt_chapter4_final
KPUCC-Rs instructor ppt_chapter4_finalKPUCC-Rs instructor ppt_chapter4_final
KPUCC-Rs instructor ppt_chapter4_final
Fisal Anwari
 

Similar to CCNA 2 Routing and Switching v5.0 Chapter 8 (20)

RS_InstructorPPT_Chapter8.pptx
RS_InstructorPPT_Chapter8.pptxRS_InstructorPPT_Chapter8.pptx
RS_InstructorPPT_Chapter8.pptx
 
CCNAv5 - S2: Chapter 8 single area ospf
CCNAv5 - S2: Chapter 8 single area ospfCCNAv5 - S2: Chapter 8 single area ospf
CCNAv5 - S2: Chapter 8 single area ospf
 
Chapter 08 - Single-Area OSPF
Chapter 08 - Single-Area OSPFChapter 08 - Single-Area OSPF
Chapter 08 - Single-Area OSPF
 
Chapter 19 : single-area ospf
Chapter 19 : single-area ospfChapter 19 : single-area ospf
Chapter 19 : single-area ospf
 
Chapter5 adjust and troubleshoot single area ospf
Chapter5 adjust and troubleshoot single area ospfChapter5 adjust and troubleshoot single area ospf
Chapter5 adjust and troubleshoot single area ospf
 
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFCCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPF
 
CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11
 
Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11Exploration routing chapter 10 & 11
Exploration routing chapter 10 & 11
 
CCNA Discovery 3 - Chapter 6
CCNA Discovery 3 - Chapter 6CCNA Discovery 3 - Chapter 6
CCNA Discovery 3 - Chapter 6
 
Exploration routing chapter_11
Exploration routing chapter_11Exploration routing chapter_11
Exploration routing chapter_11
 
Week9(1)
Week9(1)Week9(1)
Week9(1)
 
CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6CCNA RS_NB - Chapter 6
CCNA RS_NB - Chapter 6
 
CCNA RS_ITN - Chapter 6
CCNA RS_ITN - Chapter 6CCNA RS_ITN - Chapter 6
CCNA RS_ITN - Chapter 6
 
Ospf
OspfOspf
Ospf
 
Itn instructor ppt_chapter6_network_layer
Itn instructor ppt_chapter6_network_layerItn instructor ppt_chapter6_network_layer
Itn instructor ppt_chapter6_network_layer
 
Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6Ccna v5-S1-Chapter 6
Ccna v5-S1-Chapter 6
 
CCNA3 Verson6 Chapter8
CCNA3 Verson6 Chapter8CCNA3 Verson6 Chapter8
CCNA3 Verson6 Chapter8
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
Chapter 04 - Routing Concepts
Chapter 04 - Routing ConceptsChapter 04 - Routing Concepts
Chapter 04 - Routing Concepts
 
KPUCC-Rs instructor ppt_chapter4_final
KPUCC-Rs instructor ppt_chapter4_finalKPUCC-Rs instructor ppt_chapter4_final
KPUCC-Rs instructor ppt_chapter4_final
 

Recently uploaded

The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

CCNA 2 Routing and Switching v5.0 Chapter 8

  • 1. Chapter 8: Single-Area OSPF Routing & Switching © 2008 Cisco Systems, Inc. All Presentation_ID rights reserved. Cisco Confidential 1
  • 2. Chapter 8 8.1 Characteristics of OSPF 8.2 Configuring Single-area OSPFv2 8.3 Configure Single-area OSPFv3 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 2
  • 3. Chapter 8: Objectives Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
  • 4. Open Shortest Path First Evolution of OSPF Interior Gateway Protocols 1988 1989 updated in 2008 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 4
  • 5. Open Shortest Path First Features of OSPF Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
  • 6. Open Shortest Path First Components of OSPF Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
  • 7. Open Shortest Path First Components of OSPF (cont.) OSPF Routers Exchange Packets - These packets are used to discover neighboring routers and also to exchange routing information to maintain accurate information about the network. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
  • 8. Open Shortest Path First Link-State Operation If a neighbor is present, the OSPF-enabled router attempts to establish a neighbor adjacency with that neighbor Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 8
  • 9. Open Shortest Path First Link-State Operation (cont.)  LSAs contain the state and cost of each directly connected link.  Routers flood their LSAs to adjacent neighbors.  Adjacent neighbors receiving the LSA immediately flood the LSA to other directly connected neighbors, until all routers in the area have all LSAs. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 9
  • 10. Open Shortest Path First Link-State Operation  Build the topology table based on the received LSAs.  This database eventually holds all the information about the topology of the network.  Execute the SPF Algorithm. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 10
  • 11. Open Shortest Path First Link-State Operation (cont.) From the SPF tree, the best paths are inserted into the routing table. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 11
  • 12. Open Shortest Path First Single-area and Multiarea OSPF Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 12
  • 13. Open Shortest Path First Single-area and Multiarea OSPF (cont.) Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 13
  • 14. OSPF Messages Encapsulating OSPF Messages Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 14
  • 15. OSPF Messages Types of OSPF Packets Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 15
  • 16. OSPF Messages Hello Packet OSPF Type 1 packet = Hello packet:  Discover OSPF neighbors and establish neighbor adjacencies.  Advertise parameters on which two routers must agree to become neighbors.  Elect the Designated Router (DR) and Backup Designated Router (BDR) on multiaccess networks like Ethernet and Frame Relay. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 16
  • 17. OSPF Messages Hello Packet (cont.) Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 17
  • 18. OSPF Messages Hello Packet Intervals OSPF Hello packets are transmitted:  To 224.0.0.5 in IPv4 and FF02::5 in IPv6 (all OSPF routers)  Every 10 seconds (default on multiaccess and point-to-point networks)  Every 30 seconds (default on non-broadcast multiaccess [NBMA] networks)  Dead interval is the period that the router waits to receive a Hello packet before declaring the neighbor down  Router floods the LSDB with information about down neighbors out all OSPF enabled interfaces  Cisco’s default is 4 times the Hello interval Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 18
  • 19. OSPF Messages Link-State Updates Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 19
  • 20. OSPF Operation OSPF Operational States When an OSPF router is initially connected to a network, it attempts to:  Create adjacencies with neighbors  Exchange routing information  Calculate the best routes  Reach convergence  OSPF progresses through several states while attempting to reach convergence. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 20
  • 21. OSPF Operation Establish Neighbor Adjacencies Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 21
  • 22. OSPF Operation Establish Neighbor Adjacencies (cont.) DR and BDR election only occurs on multi-access networks such as Ethernet LANs. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 22
  • 23. OSPF Operation OSPF DR and BDR Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 23
  • 24. OSPF Operation Synchronizing OSPF Database Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 24
  • 25. OSPF Operation Synchronizing OSPF Database (cont.) Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 25
  • 26. OSPF Router ID OSPF Network Topology Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 26
  • 27. OSPF Router ID Router IDs Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 27
  • 28. Configure Single-area OSPFv2 The network Command Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 28
  • 29. Configure Single-Area OSPFv2 Passive Interface  By default, OSPF messages are forwarded out all OSPF-enabled interfaces. However, these messages really only need to be sent out interfaces connecting to other OSPF-enabled routers.  Sending out unneeded messages on a LAN affects the network in three ways:  Inefficient Use of Bandwidth  Inefficient Use of Resources  Increased Security Risk  The Passive Interface feature helps limiting the scope of routing updates advertisements. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 29
  • 30. Configure Single-area OSPFv2 Configuring Passive Interfaces Use the passive-interface router configuration mode command to prevent the transmission of routing messages through a router interface, but still allow that network to be advertised to other routers. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 30
  • 31. OSPF Cost OSPF Metric = Cost Cost = reference bandwidth / interface bandwidth (default reference bandwidth is 10^8) Cost = 100,000,000 bps / interface bandwidth in bps Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 31
  • 32. OSPF Cost OSPF Accumulates Costs Cost of an OSPF route is the accumulated value from one router to the destination network. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 32
  • 33. OSPF Cost Adjusting the Reference Bandwidth  Use the command - auto-cost reference-bandwidth  Must be configured on every router in the OSPF domain  Notice that the value is expressed in Mb/s:  Gigabit Ethernet - auto-cost reference-bandwidth 1000  10 Gigabit Ethernet - auto-cost reference-bandwidth 10000 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 33
  • 34. OSPF Cost Default Interface Bandwidths On Cisco routers, the default bandwidth on most serial interfaces is set to 1.544 Mb/s. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 34
  • 35. OSPF Cost Adjusting the Interface Bandwidths Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 35
  • 36. OSPF Cost Manually Setting the OSPF Cost Both the bandwidth interface command and the ip ospf cost interface command achieve the same result, which is to provide an accurate value for use by OSPF in determining the best route. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 36
  • 37. Verify OSPF Verify OSPF Neighbors Verify that the router has formed an adjacency with its neighboring routers. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 37
  • 38. Verify OSPF Verify OSPF Protocol Settings Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 38
  • 39. Verify OSPF Verify OSPF Process Information Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 39
  • 40. Verify OSPF Verify OSPF Interface Settings Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 40
  • 41. OSPFv2 vs. OSPFv3 OSPFv3 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 41
  • 42. OSPFv2 vs. OSPFv3 Similarities Between OSPFv2 to OSPFv3 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 42
  • 43. OSPFv2 vs. OSPFv3 Differences Between OSPFv2 to OSPFv3 Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 43
  • 44. OSPFv2 vs. OSPFv3 Link-Local Addresses FF02::5 address is the all OSPF router address FF02::6 is the DR/BDR multicast address Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 44
  • 45. Configuring OSFPv3 OSPFv3 Network Topology Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 45
  • 46. Configuring OSFPv3 OSPFv3 Network Topology (cont.) Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 46
  • 47. Configuring OSFPv3 Link-Local Addresses  Link-local addresses are automatically created when an IPv6 global unicast address is assigned to the interface (required).  Global unicast addresses are not required.  Cisco routers create the link-local address using FE80::/10 prefix and the EUI-64 process unless the router is configured manually,  EUI-64 involves using the 48-bit Ethernet MAC address, inserting FFFE in the middle and flipping the seventh bit. For serial interfaces, Cisco uses the MAC address of an Ethernet interface.  Notice in the figure that all three interfaces are using the same link-local address. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 47
  • 48. Configuring OSFPv3 Assigning Link-Local Addresses Manually configuring the link-local address provides the ability to create an address that is recognizable and easier to remember. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 48
  • 49. Configuring OSFPv3 Configuring the OSPFv3 Router ID Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 49
  • 50. Configuring OSFPv3 Configuring the OSPFv3 Router ID (cont.) Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 50
  • 51. Configuring OSFPv3 Modifying an OSPFv3 Router ID Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 51
  • 52. OSPF Configuring OSFPv3 Enabling OSPFv3 on Interfaces Instead of using the network router configuration mode command to specify matching interface addresses, OSPFv3 is configured directly on the interface. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 52
  • 53. Verify OSPFv3 Verify OSPFv3 Neighbors/Protocol Settings Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 53
  • 54. Verify OSPFv3 Verify OSPFv3 Interfaces Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 54
  • 55. Verify OSPFv3 Verify IPv6 Routing Table Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 55
  • 56. Chapter 8: Summary OSPF:  For IPv4 is OSPFv2  For IPv6 is OSPFv3  Classless, link-state routing protocol with a default administrative distance of 110, and is denoted in the routing table with a route source code of O  OSPFv2 is enabled with the router ospf process-id global configuration mode command. The process-id value is locally significant, which means that it does not need to match other OSPF routers to establish adjacencies with those neighbors.  Network command uses the wildcard-mask value which is the inverse of the subnet mask, and the area-id value Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 56
  • 57. Chapter 8: Summary (cont.) OSPF:  By default, OSPF Hello packets are sent every 10 seconds on multiaccess and point-to-point segments and every 30 seconds on NBMA segments (Frame Relay, X.25, ATM), and are used by OSPF to establish neighbor adjacencies. The Dead interval is four times the Hello interval, by default.  For routers to become adjacent, their Hello interval, Dead interval, network types, and subnet masks must match. Use the show ip ospf neighborscommand to verify OSPF adjacencies.  In a multiaccess network, OSPF elects a DR to act as collection and distribution point for LSAs sent and received. A BDR is elected to assume the role of the DR should the DR fail. All other routers are known as DROTHERs. All routers send their LSAs to the DR, which then floods the LSA to all other routers in the multiaccess network. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 57
  • 58. Chapter 8: Summary (cont.) OSPF:  In multiaccess networks, the router with the highest router ID is the DR, and the router with the second highest router ID is the BDR. This can be superseded by the ip ospf priority command on that interface. The router with the highest priority value is the DR, and next-highest the BDR.  The show ip protocols command is used to verify important OSPF configuration information, including the OSPF process ID, the router ID, and the networks the router is advertising.  OSPFv3 is enabled on an interface and not under router configuration mode. OSPFv3 needs link-local addresses to be configured. IPv6 Unicast routing must be enabled for OSPFv3. A 32- bit router-ID is required before an interface can be enabled for OSPFv3. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 58
  • 59. Chapter 8: Summary (cont.) OSPF:  The show ip protocols command is used to verify important OSPFv2 configuration information, including the OSPF process ID, the router ID, and the networks the router is advertising.  OSPFv3 • Enabled on an interface and not under router configuration mode • Needs link-local addresses to be configured. IPv6 • Unicast routing must be enabled for OSPFv3 • 32-bit router-ID is required before an interface can be enabled for OSPFv3 • show ipv6 protocols command is a quick way to verify configuration information (OSPF process ID, the router ID, and the interfaces enabled for OSPFv3) Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 59
  • 60. Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 60