358
Figure 87
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 ethernet 1/1
[RouterA-Ethernet1/1] ospfv3 1 area 0
[RouterA-Ethernet1/1] 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 ethernet 1/1
[RouterB-Ethernet1/1] ospfv3 1 area 0
[RouterB-Ethernet1/1] quit
# Configure Router C: enable OSPFv3, and specify the router ID as 3.3.3.3.
<RouterC> system-view
[RouterC] ospfv3
[RouterC-ospfv3-1] router-id 3.3.3.3
[RouterC-ospfv3-1] quit
[RouterC] interface ethernet 1/1
[RouterC-Ethernet1/1] ospfv3 1 area 0
[RouterC-Ethernet1/1] quit
# Configure Router D: enable OSPFv3, and specify the router ID as 4.4.4.4.
<RouterD> system-view
[RouterD] ospfv3
[RouterD-ospfv3-1] router-id 4.4.4.4
[RouterD-ospfv3-1] quit
Router A
Router C
Router B
Router D
Eth1/1
2001::1/64
Eth1/1
2001::2/64
Eth1/1
2001::3/64
Eth1/1
2001::4/64