R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
760
[FirewallB-ospfv3-1] quit
[FirewallB] interface GigabitEthernet 0/2
[FirewallB-GigabitEthernet0/2] ospfv3 1 area 1
[FirewallB-GigabitEthernet0/2] quit
[FirewallB] interface GigabitEthernet 0/1
[FirewallB-GigabitEthernet0/1] ospfv3 1 area 0
[FirewallB-GigabitEthernet0/1] quit
# Configure Firewall C: enable OSPFv3 and configure the router ID as 3.3.3.3.
<FirewallC> system-view
[FirewallC] ipv6
[FirewallC] ospfv3 1
[FirewallC-ospfv3-1] router-id 3.3.3.3
[FirewallC-ospfv3-1] quit
[FirewallC] interface GigabitEthernet 0/1
[FirewallC-GigabitEthernet0/1] ospfv3 1 area 0
[FirewallC-GigabitEthernet0/1] quit
3. Configure OSPFv3 IPsec policies.
# On Firewall A, 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.
[FirewallA] ipsec proposal tran1
[FirewallA-ipsec-proposal-tran1] encapsulation-mode transport
[FirewallA-ipsec-proposal-tran1] transform esp
[FirewallA-ipsec-proposal-tran1] esp encryption-algorithm des
[FirewallA-ipsec-proposal-tran1] esp authentication-algorithm sha1
[FirewallA-ipsec-proposal-tran1] quit
[FirewallA] ipsec policy policy001 10 manual
[FirewallA-ipsec-policy-manual-policy001-10] proposal tran1
[FirewallA-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345
[FirewallA-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345
[FirewallA-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg
[FirewallA-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg
[FirewallA-ipsec-policy-manual-policy001-10] quit
# On Firewall 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; create an IPsec proposal named tran2, 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 policy002, specify the manual mode for it, reference
IPsec proposal tran2, set the SPIs of the inbound and outbound SAs to 54321, and the keys for the
inbound and outbound SAs using ESP to gfedcba.
[FirewallB] ipsec proposal tran1
[FirewallB-ipsec-proposal-tran1] encapsulation-mode transport
[FirewallB-ipsec-proposal-tran1] transform esp
[FirewallB-ipsec-proposal-tran1] esp encryption-algorithm des