109
[RouterD-ospf-1] return
# Display neighbor information of Router A.
[RouterA] display ospf peer verbose
OSPF Process 1 with Router ID 1.1.1.1
Neighbors
Area 0.0.0.0 interface 192.168.1.1(GigabitEthernet1/0)'s neighbors
Router ID: 2.2.2.2 Address: 192.168.1.2 GR State: Normal
State: 2-Way Mode: None Priority: 1
DR: 192.168.1.4 BDR: 192.168.1.3 MTU: 0
Options is 0x02 (-|-|-|-|-|-|E|-)
Dead timer due in 38 sec
Neighbor is up for 00:01:31
Authentication Sequence: [ 0 ]
Router ID: 3.3.3.3 Address: 192.168.1.3 GR State: Normal
State: Full Mode: Nbr is Master Priority: 1
DR: 192.168.1.4 BDR: 192.168.1.3 MTU: 0
Options is 0x02 (-|-|-|-|-|-|E|-)
Dead timer due in 31 sec
Neighbor is up for 00:01:28
Authentication Sequence: [ 0 ]
Router ID: 4.4.4.4 Address: 192.168.1.4 GR State: Normal
State: Full Mode: Nbr is Master Priority: 1
DR: 192.168.1.4 BDR: 192.168.1.3 MTU: 0
Options is 0x02 (-|-|-|-|-|-|E|-)
Dead timer due in 31 sec
Neighbor is up for 00:01:28
Authentication Sequence: [ 0 ]
The output shows that Router D is the DR and Router C is the BDR.
3.
Configure router priorities on interfaces:
# Configure Router A.
[RouterA] interface gigabitethernet 1/0
[RouterA-GigabitEthernet1/0] ospf dr-priority 100
[RouterA-GigabitEthernet1/0] quit
# Configure Router B.
[RouterB] interface gigabitethernet 1/0
[RouterB-GigabitEthernet1/0] ospf dr-priority 0
[RouterB-GigabitEthernet1/0] quit
# Configure Router C.
[RouterC] interface gigabitethernet 1/0
[RouterC-GigabitEthernet1/0] ospf dr-priority 2
[RouterC-GigabitEthernet1/0] quit
# Display information about neighbors of Router D.