H3C Technologies H3C SecPath F1000-E User Manual
Page 230
218
[SecPathB-GigabitEthernet0/2] vrrp vrid 2 preempt-mode timer delay 0
[SecPathB-GigabitEthernet0/2] quit
3.
Configure IPsec and enable IPsec stateful failover:
# Create ACL 3101, and add a rule to permit traffic from subnet 10.1.1.0/24 to subnet
10.2.2.0/24.
[SecPathB] acl number 3101
[SecPathB-acl-adv-3101] rule permit ip source 10.1.1.0 0.0.0.255 destination 10.2.2.0
0.0.0.255
[SecPathB-acl-adv-3101] quit
# Configure a static route to Host B.
[SecPathB] ip route-static 10.2.2.0 255.255.255.0 192.168.0.2
# Create IPsec proposal tran1.
[SecPathB] ipsec proposal tran1
# Configure the proposal to use the tunnel encapsulation mode.
[SecPathB-ipsec-proposal-tran1] encapsulation-mode tunnel
# Configure the proposal to use the ESP security protocol.
[SecPathB-ipsec-proposal-tran1] transform esp
# Configure ESP to use the DES encryption algorithm and the SHA1 authentication algorithm.
[SecPathB-ipsec-proposal-tran1] esp encryption-algorithm des
[SecPathB-ipsec-proposal-tran1] esp authentication-algorithm sha1
[SecPathB-ipsec-proposal-tran1] quit
# Create and configure IKE peer branch.
[SecPathB] ike peer branch
[SecPathB-ike-peer-branch] pre-shared-key abcde
[SecPathB-ike-peer-branch] local-address 192.168.0.1
[SecPathB-ike-peer-branch] remote-address 192.168.0.2
# Create an IPsec policy that use IKE, naming it map1 and setting its sequence number to 10.
[SecPathB] ipsec policy map1 10 isakmp
# Reference IPsec proposal tran1.
[SecPathB-ipsec-policy-isakmp-map1-10] proposal tran1
# Reference ACL 3101.
[SecPathB-ipsec-policy-isakmp-map1-10] security acl 3101
# Reference IKE peer branch.
[SecPathB-ipsec-policy-isakmp-map1-10] ike-peer branch
[SecPathB-ipsec-policy-isakmp-map1-10] quit
# Apply IPsec policy group map1 to interface GigabitEthernet 0/2.
[SecPathB] interface GigabitEthernet 0/2
[SecPathB-GigabitEthernet0/2] ipsec policy map1
[SecPathB-GigabitEthernet0/2] quit
# Enable IPsec stateful failover.
[SecPathB] ipsec synchronization enable
- 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