301
NextHop : directly-connected Interface: Vlan400
Configuring OSPFv3 DR election
Network requirements
As shown in
:
•
The priority of Switch A is 100, the highest priority on the network, so it will be the DR.
•
The priority of Switch C is 2, the second highest priority on the network, so it will be the BDR.
•
The priority of Switch B is 0, so it cannot become the DR.
•
Router D has the default priority 1.
Figure 108
Network diagram
Configuration procedure
1.
Configure IPv6 addresses for interfaces. (Details not shown)
2.
Configure OSPFv3 basic functions.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] ipv6
[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
# Configure Switch B.
<SwitchB> system-view
[SwitchB] ipv6
[SwitchB] ospfv3
[SwitchB-ospfv3-1] router-id 2.2.2.2
[SwitchB-ospfv3-1] quit
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] ospfv3 1 area 0
[SwitchB-Vlan-interface200] quit