Configuring secpath b – H3C Technologies H3C SecPath F1000-E User Manual
Page 220
208
[SecPathA-GigabitEthernet0/1] 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.
[SecPathA] ipsec proposal tran1
[SecPathA-ipsec-proposal-tran1] encapsulation-mode transport
[SecPathA-ipsec-proposal-tran1] transform esp
[SecPathA-ipsec-proposal-tran1] esp encryption-algorithm des
[SecPathA-ipsec-proposal-tran1] esp authentication-algorithm sha1
[SecPathA-ipsec-proposal-tran1] quit
# Create an IPsec policy named policy001, specify the manual mode for it, set the SPIs of the inbound
and outbound SAs to 123456, and the keys for the inbound and outbound SAs using ESP to abcdefg.
[SecPathA] ipsec policy policy001 10 manual
[SecPathA-ipsec-policy-manual-policy001-10] proposal tran1
[SecPathA-ipsec-policy-manual-policy001-10] sa spi outbound esp 123456
[SecPathA-ipsec-policy-manual-policy001-10] sa spi inbound esp 123456
[SecPathA-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg
[SecPathA-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg
[SecPathA-ipsec-policy-manual-policy001-10] quit
# Apply IPsec policy policy001 to the RIPng process.
[SecPathA] ripng 1
[SecPathA-ripng-1] enable ipsec-policy policy001
[SecPathA-ripng-1] quit
Configuring SecPath B
# Assign an IPv6 address to each interface. (Details not shown.)
# Create a RIPng process and enable it on GigabitEthernet 0/1 and GigabitEthernet 0/2.
[SecPathB] ripng 1
[SecPathB-ripng-1] quit
[SecPathB] interface GigabitEthernet 0/1
[SecPathB-GigabitEthernet0/1] ripng 1 enable
[SecPathB-GigabitEthernet0/1] quit
[SecPathB] interface GigabitEthernet 0/2
[SecPathB-GigabitEthernet0/2] ripng 1 enable
[SecPathB-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.
[SecPathB] ipsec proposal tran1
[SecPathB-ipsec-proposal-tran1] encapsulation-mode transport
[SecPathB-ipsec-proposal-tran1] transform esp
[SecPathB-ipsec-proposal-tran1] esp encryption-algorithm des
[SecPathB-ipsec-proposal-tran1] esp authentication-algorithm sha1
[SecPathB-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.
[SecPathB] ipsec policy policy001 10 manual
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS