365
Figure 87
Network diagram
Configuration procedure
1.
Configure IPv6 addresses for interfaces. (Details not shown.)
2.
Configure RIPng basic functions:
# Configure Router A.
<RouterA> system-view
[RouterA] ripng 1
[RouterA-ripng-1] quit
[RouterA] interface gigabitethernet 1/0
[RouterA-GigabitEthernet1/0] ripng 1 enable
[RouterA-GigabitEthernet1/0] quit
# Configure Router B.
<RouterB> system-view
[RouterB] ripng 1
[RouterB-ripng-1] quit
[RouterB] interface gigabitethernet 1/0
[RouterB-GigabitEthernet1/0] ripng 1 enable
[RouterB-GigabitEthernet1/0] quit
[RouterB] interface gigabitethernet 2/0
[RouterB-GigabitEthernet2/0] ripng 1 enable
[RouterB-GigabitEthernet2/0] quit
# Configure Router C.
<RouterC> system-view
[RouterC] ripng 1
[RouterC-ripng-1] quit
[RouterC] interface gigabitethernet 1/0
[RouterC-GigabitEthernet1/0] ripng 1 enable
[RouterC-GigabitEthernet1/0] quit
3.
Configure RIPng IPsec profiles:
# On Router A, create an IPsec transform set named
protrf1
, 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,
reference IPsec transform set
protrf1
, and set the SPIs of the inbound and outbound SAs to
256
and
the keys for the inbound and outbound SAs using ESP to
abc
.
[RouterA] ipsec transform-set protrf1
[RouterA-ipsec-transform-set-protrf1] esp encryption-algorithm 3des-cbc
[RouterA-ipsec-transform-set-protrf1] esp authentication-algorithm md5
[RouterA-ipsec-transform-set-protrf1] encapsulation-mode transport
[RouterA-ipsec-transform-set-protrf1] quit
[RouterA] ipsec profile profile001 manual
[RouterA-ipsec-profile-profile001-manual] transform-set protrf1