HP 6600 Security Configuration Manual page 319

Table of Contents

Advertisement

[RouterA] ip route-static 10.1.2.0 255.255.255.0 2.2.2.2
3.
Configure Router B:
# Configure ACL 3101 to identify traffic from subnet 10.1.2.0/24 to subnet 10.1.1.0/24.
<RouterB> system-view
[RouterB] acl number 3101
[RouterB-acl-adv-3101] rule permit ip source 10.1.2.0 0.0.0.255 destination 10.1.1.0
0.0.0.255
[RouterB-acl-adv-3101] quit
# Create IPsec transform set tran1.
[RouterB] ipsec transform-set tran1
# Set the packet encapsulation mode to tunnel.
[RouterB-ipsec-transform-set-tran1] encapsulation-mode tunnel
# Use security protocol ESP.
[RouterB-ipsec-transform-set-tran1] transform esp
# Specify encryption and authentication algorithms.
[RouterB-ipsec-transform-set-tran1] esp encryption-algorithm des
[RouterB-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[RouterB-ipsec-transform-set-tran1] quit
# Create IKE peer peer.
[RouterB] ike peer peer
# Set the pre-shared key.
[RouterB-ike-peer-peer] pre-shared-key abcde
# Specify the IP address of the peer security gateway.
[RouterB-ike-peer-peer] remote-address 1.1.1.1
[RouterB-ike-peer-peer] quit
# Create an IPsec policy that uses IKE negotiation.
[RouterB] ipsec policy use1 10 isakmp
# Reference ACL 3101 to identify the protected traffic.
[RouterB-ipsec-policy-isakmp-use1-10] security acl 3101
# Reference IPsec transform set tran1.
[RouterB-ipsec-policy-isakmp-use1-10] transform-set tran1
# Reference IKE peer peer.
[RouterB-ipsec-policy-isakmp-use1-10] ike-peer peer
[RouterB-ipsec-policy-isakmp-use1-10] quit
# Assign an IP address to interface GigabitEthernet 3/0/2.
[RouterB] interface gigabitethernet 3/0/2
[RouterB-GigabitEthernet3/0/2] ip address 10.1.2.1 255.255.255.0
[RouterB-GigabitEthernet3/0/2] quit
# Assign an IP address to interface GigabitEthernet 3/0/1.
[RouterB] interface gigabitethernet 3/0/1
[RouterB-GigabitEthernet3/0/1] ip address 2.2.2.2 255.255.255.0
# Apply the IPsec policy to interface GigabitEthernet 3/0/1.
[RouterB-GigabitEthernet3/0/1] ipsec policy use1
# Configure a static route to subnet 10.1.1.0/24.
[RouterB] ip route-static 10.1.1.0 255.255.255.0 1.1.1.1
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents