
355
[RouterC-Ethernet1/2] ospfv3 1 area 2
[RouterC-Ethernet1/2] quit
# Configure Router D: enable OSPFv3 and specify the router ID as 4.4.4.4.
<RouterD> system-view
[RouterD] ospfv3 1
[RouterD-ospfv3-1] router-id 4.4.4.4
[RouterD-ospfv3-1] quit
[RouterD] interface ethernet 1/2
[RouterD-Ethernet1/2] ospfv3 1 area 2
[RouterD-Ethernet1/2] quit
# Display OSPFv3 neighbors on Router B.
[RouterB] display ospfv3 peer
OSPFv3 Process 1 with Router ID 2.2.2.2
Area: 0.0.0.0
-------------------------------------------------------------------------
Router ID Pri State Dead-Time Interface Inst ID
3.3.3.3 1 Full/Backup 00:00:40 Eth1/1 0
Area: 0.0.0.1
-------------------------------------------------------------------------
Router ID Pri State Dead-Time Interface Inst ID
1.1.1.1 1 Full/DR 00:00:40 Eth1/2 0
# Display OSPFv3 neighbors on Router C.
[RouterC] display ospfv3 peer
OSPFv3 Process 1 with Router ID 3.3.3.3
Area: 0.0.0.0
-------------------------------------------------------------------------
Router ID Pri State Dead-Time Interface Inst ID
2.2.2.2 1 Full/DR 00:00:40 Eth1/1 0
Area: 0.0.0.2
-------------------------------------------------------------------------
Router ID Pri State Dead-Time Interface Inst ID
4.4.4.4 1 Full/Backup 00:00:40 Eth1/2 0
# Display OSPFv3 neighbors on Router D.
[RouterD] display ospfv3 routing
OSPFv3 Process 1 with Router ID 4.4.4.4
-------------------------------------------------------------------------
E1 - Type 1 external route, IA - Inter area route, I - Intra area route
E2 - Type 2 external route, * - Selected route
*Destination: 2001::/64
Type : IA Cost : 2