*Destination: 2001:2::/64
Type
NextHop
AdvRouter
Preference : 10
*Destination: 1234::/64
Type
NextHop
AdvRouter
Preference : 10
Total: 4
Intra area: 1
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
•
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 103 Network diagram
Switch A
Vlan-int100
2001::1/64
Vlan-int100
2001::3/64
Switch C
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
: I
: ::
: 4.4.4.4
: E2
: FE80::20C:29FF:FEB9:F2EF
: 2.2.2.2
Inter area: 2
Figure
103:
ASE: 1
Switch B
Vlan-int200
2001::2/64
Vlan-int200
2001::4/64
Switch D
456
Cost
: 1
Interface: Vlan400
Area
: 0.0.0.2
Cost
: 1
Interface: Vlan400
Area
: 0.0.0.2
NSSA: 0