beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 776

background image

751

[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

[SecPathA] ipsec policy policy001 10 manual

[SecPathA-ipsec-policy-manual-policy001-10] proposal tran1

[SecPathA-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345

[SecPathA-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345

[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

# On SecPath 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.

[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

[SecPathB] ipsec policy policy001 10 manual

[SecPathB-ipsec-policy-manual-policy001-10] proposal tran1

[SecPathB-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345

[SecPathB-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345

[SecPathB-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg

[SecPathB-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg

[SecPathB-ipsec-policy-manual-policy001-10] quit

# On SecPath C, 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.

[SecPathC] ipsec proposal tran1

[SecPathC-ipsec-proposal-tran1] encapsulation-mode transport

[SecPathC-ipsec-proposal-tran1] transform esp

[SecPathC-ipsec-proposal-tran1] esp encryption-algorithm des

[SecPathC-ipsec-proposal-tran1] esp authentication-algorithm sha1

[SecPathC-ipsec-proposal-tran1] quit

[SecPathC] ipsec policy policy001 10 manual

[SecPathC-ipsec-policy-manual-policy001-10] proposal tran1

[SecPathC-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345

[SecPathC-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345

[SecPathC-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg

[SecPathC-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg