401
Figure 93
Network diagram
Configuration procedure
1.
Configure IPv6 addresses for interfaces. (Details not shown.)
2.
Configure OSPFv3 basic functions:
# On Router A, enable OSPFv3 and configure the router ID as 1.1.1.1.
<RouterA> system-view
[RouterA] ospfv3 1
[RouterA-ospfv3-1] router-id 1.1.1.1
[RouterA-ospfv3-1] quit
[RouterA] interface gigabitethernet 2/0
[RouterA-GigabitEthernet2/0] ospfv3 1 area 1
[RouterA-GigabitEthernet2/0] quit
# On Router B, enable OSPFv3 and configure the router ID as 2.2.2.2.
<RouterB> system-view
[RouterB] ospfv3 1
[RouterB-ospfv3-1] router-id 2.2.2.2
[RouterB-ospfv3-1] quit
[RouterB] interface gigabitethernet 1/0
[RouterB-GigabitEthernet1/0] ospfv3 1 area 0
[RouterB-GigabitEthernet1/0] quit
[RouterB] interface gigabitethernet 2/0
[RouterB-GigabitEthernet2/0] ospfv3 1 area 1
[RouterB-GigabitEthernet2/0] quit
# On Router C, enable OSPFv3 and configure the router ID as 3.3.3.3.
<RouterC> system-view
[RouterC] ospfv3 1
[RouterC-ospfv3-1] router-id 3.3.3.3
[RouterC-ospfv3-1] quit
[RouterC] interface gigabitethernet 1/0
[RouterC-GigabitEthernet1/0] ospfv3 1 area 0
[RouterC-GigabitEthernet1/0] quit
3.
Configure OSPFv3 IPsec profiles:
# On Router A, create an IPsec transform set named
trans
, and set the encapsulation mode to
transport mode, the security protocol to ESP, the encryption algorithm to 3DES, and authentication
algorithm to MD5. Create an IPsec profile named
profile001
, specify the manual mode for it,