R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

334
Configuring OSPFv3 DR election
Network requirements
As shown in Figure 98, the priority of Router A is 100, the highest priority on the network, so it
becomes the DR.
The priority of Router C is 2, the second highest priority on the network, so it becomes the BDR.
The priority of Router B is 0, so it cannot become a DR.
Router D has the default priority 1.
Figure 98 Network diagram
Configuration procedure
1. Configure IPv6 addresses for interfaces. (Details not shown.)
2. Configure OSPFv3 basic functions:
# Configure Router A.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ospfv3
[RouterA-ospfv3-1] router-id 1.1.1.1
[RouterA-ospfv3-1] quit
[RouterA] interface GigabitEthernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ospfv3 1 area 0
[RouterA-GigabitEthernet2/1/1] quit
# Configure Router B.
<RouterB> system-view
[RouterB] ipv6
[RouterB] ospfv3
[RouterB-ospfv3-1] router-id 2.2.2.2
[RouterB-ospfv3-1] quit
[RouterB] interface GigabitEthernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ospfv3 1 area 0
[RouterB-GigabitEthernet2/1/1] quit
# Configure Router C.
<RouterC> system-view
Router A
Router C
Router B
Router D
GE2/1/1
2001::1/64
GE2/1/1
2001::2/64
GE2/1/1
2001::3/64
GE2/1/1
2001::4/64