# Display routes to 2001::4/64 on Router A, and you can see that Router A communicates with
Router B through Router C.
<RouterA> display ipv6 routing-table 2001:4::0 64 verbose
Routing Table :
Summary Count : 1
Destination
NextHop
IpPrecedence :
RelayNextHop : ::
Neighbor
Interface
State
Tunnel ID
Age
Configuring OSPFv3 IPsec policies
Network requirements
As shown in
•
Configure OSPFv3 on the routers. The AS is divided into two areas.
•
Configure IPsec policies on the routers to authenticate and encrypt protocol packets.
Figure 102 Network diagram
Configuration procedure
Configure IPv6 addresses for interfaces. (Details not shown.)
1.
Configure OSPFv3 basic functions:
2.
# Configure Router A: enable OSPFv3 and configure the Router ID as 1.1.1.1.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ospfv3 1
[RouterA-ospfv3-1] router-id 1.1.1.1
[RouterA-ospfv3-1] quit
[RouterA] interface GigabitEthernet 2/2/1
[RouterA-GigabitEthernet2/2/1] ospfv3 1 area 1
[RouterA-GigabitEthernet2/2/1] quit
: 2001:4::
: 2001:2::2
: ::
: Gigabitethernet2/1/2
: Active Adv
: 0x0
: 4610sec
Figure
102,
332
PrefixLength : 64
Preference
: 10
QosLcId
:
Tag
: 0H
ProcessID
: 0
Protocol
: OSPFv3
Cost
: 2
Label
: NULL