01 Ospf Config
01 Ospf Config
Configuration
• Result at R2:
R2# show ip route | include 10.10.1
O 10.10.1.0/24 [110/2] via 10.1.1.5, 00:03:05, GigabitEthernet0/0/0
Multiaccess OSPF Networks
Verify DR/BDR Adjacencies
To verify the OSPFv2 adjacencies, use the show ip ospf neighbor command. The state of neighbors
in multiaccess networks can be as follows:
• FULL/DROTHER - This is a DR or BDR router that is fully adjacent with a non-DR or BDR router. These two
neighbors can exchange Hello packets, updates, queries, replies, and acknowledgments.
• FULL/DR - The router is fully adjacent with the indicated DR neighbor. These two neighbors can exchange
Hello packets, updates, queries, replies, and acknowledgments.
• FULL/BDR - The router is fully adjacent with the indicated BDR neighbor. These two neighbors can
exchange Hello packets, updates, queries, replies, and acknowledgments.
• 2-WAY/DROTHER - The non-DR or BDR router has a neighbor relationship with another non-DR or BDR
router. These two neighbors exchange Hello packets.
The normal state for an OSPF router is usually FULL. If a router is stuck in another state, it is an
indication that there are problems in forming adjacencies. The only exception to this is the 2-WAY
state, which is normal in a multiaccess broadcast network.
Multiaccess OSPF Networks
Default DR/BDR Election Process
The OSPF DR and BDR election is based on the following criteria, in sequential order:
1. The routers in the network elect the router with the highest interface priority as the DR. The
router with the second highest interface priority is becomes the BDR.
• The priority can be configured to be any number between 0 – 255.
• If the interface priority value is set to 0, that interface cannot be elected as DR nor
BDR.
• The default priority of multiaccess broadcast interfaces is 1.
2. If the interface priorities are equal, then the router with the highest router ID is elected the
DR. The router with the second highest router ID is the BDR.
• The election process takes place when the first router with an OSPF-enabled interface is
active on the network. If all of the routers on the network have not finished booting, it is
possible that a router with a lower router ID becomes the DR.
• The addition of a new router does not initiate a new election process.
Multiaccess OSPF Networks
Configure OSPF Priority
The example shows the commands being used to change the R1 G0/0/0 interface priority from 1
to 255 and then reset the OSPF process.