443
AdvRouter : 2.2.2.2 Area : 0.0.0.2
Preference : 10
Total: 4
Intra area: 1 Inter area: 2 ASE: 1 NSSA: 0
The output shows an AS external route imported from the NSSA area exists on Switch D.
OSPFv3 DR election configuration example
Network requirements
As shown in Figure 102:
• Configure router priority 100 for Switch A, the highest priority on the network, so it will become
the DR.
• Configure router priority 2 for Switch C, the second highest priority on the network, so it will
become the BDR.
• Configure router priority 0 for Switch B, so it cannot become a DR or BDR.
• Switch D uses the default router priority 1.
Figure 102 Network diagram
Configuration procedure
1. Configure IPv6 addresses for interfaces. (Details not shown.)
2. Configure basic OSPFv3:
# On Switch A, enable OSPFv3 and specify the router ID as 1.1.1.1.
<SwitchA> system-view
[SwitchA] ospfv3
[SwitchA-ospfv3-1] router-id 1.1.1.1
[SwitchA-ospfv3-1] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ospfv3 1 area 0
[SwitchA-Vlan-interface100] quit
# On Switch B, enable OSPFv3 and specify the router ID as 2.2.2.2.
<SwitchB> system-view
[SwitchB] ospfv3
[SwitchB-ospfv3-1] router-id 2.2.2.2
[SwitchB-ospfv3-1] quit
Switch A
Switch C
Switch B
Switch D
Vlan-int100
2001::1/64
Vlan-int200
2001::2/64
Vlan-int100
2001::3/64
Vlan-int200
2001::4/64