H3C Technologies H3C SecPath F1000-E User Manual
Page 162

34
[DeviceA-ripng-1] quit
2.
Configure Device B
# Assign an IPv6 address to each interface. (Omitted)
# Create a RIPng process and enable it on GigabitEthernet 0/1 and GigabitEthernet 0/2.
[DeviceB] ripng 1
[DeviceB-ripng-1] quit
[DeviceB] interface gigabitethernet 0/1
[DeviceB-GigabitEthernet0/1] ripng 1 enable
[DeviceB-GigabitEthernet0/1] quit
[DeviceB] interface gigabitethernet 0/2
[DeviceB-GigabitEthernet0/2] ripng 1 enable
[DeviceB-GigabitEthernet0/2] quit
# Create an IPsec proposal named tran1, and set the encapsulation mode to transport mode, the security
protocol to ESP, the encryption algorithm to DES, and authentication algorithm to SHA1-HMAC-96.
[DeviceB] ipsec proposal tran1
[DeviceB-ipsec-proposal-tran1] encapsulation-mode transport
[DeviceB-ipsec-proposal-tran1] transform esp
[DeviceB-ipsec-proposal-tran1] esp encryption-algorithm des
[DeviceB-ipsec-proposal-tran1] esp authentication-algorithm sha1
[DeviceB-ipsec-proposal-tran1] quit
# Create an IPsec policy named policy001, specify the manual mode for it, configure the SPIs of the
inbound and outbound SAs as 123456, and the keys for the inbound and outbound SAs using ESP as
abcdefg.
[DeviceB] ipsec policy policy001 10 manual
[DeviceB-ipsec-policy-manual-policy001-10] proposal tran1
[DeviceB-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345
[DeviceB-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345
[DeviceB-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg
[DeviceB-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg
[DeviceB-ipsec-policy-manual-policy001-10] quit
# Apply IPsec policy policy001 to the RIPng process.
[DeviceB] ripng 1
[DeviceB-ripng-1] ipsec-policy policy001
[DeviceB-ripng-1] quit
3.
Configure Device C
# Assign an IPv6 address to each interface. (Omitted)
# Create a RIPng process and enable it on GigabitEthernet 0/1.
[DeviceC] ripng 1
[DeviceC-ripng-1] quit
[DeviceC] interface gigabitethernet 0/1
[DeviceC-GigabitEthernet0/1] ripng 1 enable
[DeviceC-GigabitEthernet0/1] quit