HP VPN Firewall Appliances Network Management Configuration Guide

766
[RouterA-ipsec-policy-manual-policy001-10] transform-set tran1
[RouterA-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345
[RouterA-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345
[RouterA-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg
[RouterA-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg
[RouterA-ipsec-policy-manual-policy001-10] quit
# On Router B, 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. Create an IPsec policy named policy001, specify the manual mode for it, reference IPsec
proposal tran1, set the SPIs of the inbound and outbound SAs to 12345, and the keys for the
inbound and outbound SAs using ESP to abcdefg.
[RouterB] ipsec transform-set tran1
[RouterB-ipsec-transform-set-tran1] encapsulation-mode transport
[RouterB-ipsec-transform-set-tran1] transform esp
[RouterB-ipsec-transform-set-tran1] esp encryption-algorithm des
[RouterB-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[RouterB-ipsec-transform-set-tran1] quit
[RouterB] ipsec policy policy001 10 manual
[RouterB-ipsec-policy-manual-policy001-10] transform-set tran1
[RouterB-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345
[RouterB-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345
[RouterB-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg
[RouterB-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg
[RouterB-ipsec-policy-manual-policy001-10] quit
# On Firewall, 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. Create an IPsec policy named policy001, specify the manual mode for it, reference IPsec
proposal tran1, set the SPIs of the inbound and outbound SAs to 12345, and the keys for the
inbound and outbound SAs using ESP to abcdefg.
[Firewall] ipsec transform-set tran1
[Firewall-ipsec-transform-set-tran1] encapsulation-mode transport
[Firewall-ipsec-transform-set-tran1] transform esp
[Firewall-ipsec-transform-set-tran1] esp encryption-algorithm des
[Firewall-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[Firewall-ipsec-transform-set-tran1] quit
[Firewall] ipsec policy policy001 10 manual
[Firewall-ipsec-policy-manual-policy001-10] transform-set tran1
[Firewall-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345
[Firewall-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345
[Firewall-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg
[Firewall-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg
[Firewall-ipsec-policy-manual-policy001-10] quit
4. Apply the IPsec policies in the RIPng process:
# Configure Router A.
[RouterA] ripng 1
[RouterA-ripng-1] enable ipsec-policy policy001
[RouterA-ripng-1] quit
# Configure Router B.