
456
C
HAPTER
19: O
PEN
S
HORTEST
P
ATH
F
IRST
(OSPF) R
OUTING
How OSPF Routing
Works
This section summarizes how the OSPF algorithm works for a router that
meets these characteristics:
■
Lies within an autonomous system area (an interior router)
■
Is attached to a multiaccess network
■
Is configured to be the designated router for its network
Starting Up
When the router starts, the interfaces that are configured to run OSPF
begin in the
down
state. When the lower-level IP protocols indicate that
an interface is available, the interface moves to the
waiting
state. It
remains in this state until the designated router and backup designated
router are chosen.
Finding Neighbors
The router sends out hello packets to locate its network neighbors. These
packets also list the routers from which the sending router has
received
hello packets. When a router detects its own address in another router’s
hello packet, the two routers establish two-way communications as
neighbors.
Establishing Adjacencies
If neighboring OSPF routers succeed in exchanging and synchronizing
their link state databases, they appear as
adjacent
in all router and
network link advertisements.
Electing the Backup Designated Router
OSPF selects a backup designated router for the network segment. This
router takes over as the designated router if the current designated router
fails.
The OSPF algorithm first eliminates all routers that have an assigned
priority of
0
. OSPF then selects the backup designated router from among
the routers on the segment that have
not
declared themselves to be the
designated router (based on their configuration settings). If some routers
have already declared themselves to be the backup designated router,
OSPF limits the selection to one of them.
OSPF selects the candidate router with the highest priority. If candidate
routers have the same priority, OSPF selects the router that has the
highest router ID.
Summary of Contents for 4007
Page 36: ...36 ABOUT THIS GUIDE ...
Page 37: ...I UNDERSTANDING YOUR SWITCH 4007 SYSTEM Chapter 1 Configuration Overview ...
Page 38: ......
Page 50: ...50 CHAPTER 1 CONFIGURATION OVERVIEW ...
Page 52: ......
Page 70: ...70 CHAPTER 3 INSTALLING MANAGEMENT MODULES ...
Page 110: ...110 CHAPTER 4 CONFIGURING AND USING EME OPTIONS ...
Page 130: ...130 CHAPTER 5 MANAGING THE CHASSIS POWER AND TEMPERATURE ...
Page 222: ...222 CHAPTER 11 IP MULTICAST FILTERING WITH IGMP ...
Page 240: ...240 CHAPTER 13 RESILIENT LINKS ...
Page 304: ...304 CHAPTER 14 VIRTUAL LANS VLANS ...
Page 350: ...350 CHAPTER 15 PACKET FILTERING ...
Page 506: ...506 CHAPTER 19 OPEN SHORTEST PATH FIRST OSPF ROUTING ...
Page 534: ...534 CHAPTER 20 IPX ROUTING ...
Page 612: ...612 CHAPTER 22 QOS AND RSVP ...
Page 656: ...656 CHAPTER 23 DEVICE MONITORING ...
Page 657: ...IV REFERENCE Appendix A Technical Support Index ...
Page 658: ......
Page 664: ......