392
Intra area: 1 Inter area: 2 ASE: 1 NSSA: 0
The output shows an AS external route imported from the NSSA area exists on Router D.
OSPFv3 DR election configuration example
Network requirements
•
Configure router priority 100 for Router A, the highest priority on the network, so it will become the
DR.
•
Configure router priority 2 for Router C, the second highest priority on the network, so it will become
the BDR.
•
Configure router priority 0 for Router B, so it cannot become a DR or BDR.
•
Router D uses the default router priority 1.
Figure 90
Network diagram
Configuration procedure
1.
Configure IPv6 addresses for interfaces. (Details not shown.)
2.
Configure basic OSPFv3:
# Configure Router A: enable OSPFv3, and specify the router ID as 1.1.1.1.
<RouterA> system-view
[RouterA] ospfv3
[RouterA-ospfv3-1] router-id 1.1.1.1
[RouterA-ospfv3-1] quit
[RouterA] interface gigabitethernet 1/0
[RouterA-GigabitEthernet1/0] ospfv3 1 area 0
[RouterA-GigabitEthernet1/0] quit
# Configure Router B: enable OSPFv3, and specify the router ID as 2.2.2.2.
<RouterB> system-view
[RouterB] ospfv3
[RouterB-ospfv3-1] router-id 2.2.2.2
[RouterB-ospfv3-1] quit
[RouterB] interface gigabitethernet 1/0
[RouterB-GigabitEthernet1/0] ospfv3 1 area 0
[RouterB-GigabitEthernet1/0] quit
Router A
Router C
Router B
Router D
GE1/0
2001::1/64
GE1/0
2001::2/64
GE1/0
2001::3/64
GE1/0
2001::4/64