Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 424

408
Configure IPsec profiles on the switches to authenticate and encrypt protocol packets.
Figure 96 Network diagram
Configuration procedure
1.
Configure IPv6 addresses for interfaces. (Details not shown.)
2.
Configure OSPFv3 basic functions:
# On Switch A, enable OSPFv3 and specify the router ID as 1.1.1.1.
[SwitchA] ospfv3 1
[SwitchA-ospfv3-1] router-id 1.1.1.1
[SwitchA-ospfv3-1] quit
[SwitchA] interface vlan-interface 200
[SwitchA-Vlan-interface200] ospfv3 1 area 1
[SwitchA-Vlan-interface200] quit
# On Switch B, enable OSPFv3 and specify the router ID as 2.2.2.2.
[SwitchB] ospfv3 1
[SwitchB-ospfv3-1] router-id 2.2.2.2
[SwitchB-ospfv3-1] quit
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ospfv3 1 area 0
[SwitchB-Vlan-interface100] quit
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] ospfv3 1 area 1
[SwitchB-Vlan-interface200] quit
# On Switch C, enable OSPFv3 and specify the router ID as 3.3.3.3.
[SwitchC] ospfv3 1
[SwitchC-ospfv3-1] router-id 3.3.3.3
[SwitchC-ospfv3-1] quit
[SwitchC] interface vlan-interface 100
[SwitchC-Vlan-interface100] ospfv3 1 area 0
[SwitchC-Vlan-interface100] quit
3.
Configure OSPFv3 IPsec profiles:
{
On Switch A:
OSPFv3
Area 0
OSPFv3
Area 1
Switch A
Vlan-int100
2001::2/64
Vlan-int100
2001::1/64
Vlan-int200
2001:1::2/64
Switch C
Switch B
Vlan-int200
2001:1::1/64