R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

395
[RouterB] ripng 1
[RouterB-ripng-1] quit
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ripng 1 enable
[RouterB-GigabitEthernet2/1/1] quit
[RouterB] interface gigabitethernet 2/1/2
[RouterB-GigabitEthernet2/1/2] ripng 1 enable
[RouterB-GigabitEthernet2/1/2] quit
# Configure Router C.
<RouterC> system-view
[RouterC] ripng 1
[RouterC-ripng-1] quit
[RouterC] interface gigabitethernet 2/1/1
[RouterC-GigabitEthernet2/1/1] ripng 1 enable
[RouterC-GigabitEthernet2/1/1] quit
3. Configure RIPng IPsec profiles:
{ On Router A:
# Create an IPsec transform set named protrf1.
[RouterA] ipsec transform-set protrf1
# Specify the ESP encryption and authentication algorithms.
[RouterA-ipsec-transform-set-protrf1] esp encryption-algorithm 3des-cbc
[RouterA-ipsec-transform-set-protrf1] esp authentication-algorithm md5
# Specify the encapsulation mode as transport.
[RouterA-ipsec-transform-set-protrf1] encapsulation-mode transport
[RouterA-ipsec-transform-set-protrf1] quit
# Create a manual IPsec profile named profile001.
[RouterA] ipsec profile profile001 manual
# Reference IPsec transform set protrf1.
[RouterA-ipsec-profile-profile001-manual] transform-set protrf1
# Configure the inbound and outbound SPIs for ESP.
[RouterA-ipsec-profile-profile001-manual] sa spi inbound esp 256
[RouterA-ipsec-profile-profile001-manual] sa spi outbound esp 256
# Configure the inbound and outbound SA keys for ESP.
[RouterA-ipsec-profile-profile001-manual] sa string-key inbound esp simple abc
[RouterA-ipsec-profile-profile001-manual] sa string-key outbound esp simple abc
[RouterA-ipsec-profile-profile001-manual] quit
{ On Router B:
# Create an IPsec transform set named protrf1.
[RouterB] ipsec transform-set protrf1
# Specify the ESP encryption and authentication algorithms.
[RouterB-ipsec-transform-set-protrf1] esp encryption-algorithm 3des-cbc
[RouterB-ipsec-transform-set-protrf1] esp authentication-algorithm md5
# Specify the encapsulation mode as transport.
[RouterB-ipsec-transform-set-protrf1] encapsulation-mode transport
[RouterB-ipsec-transform-set-protrf1] quit