HP 6600 Security Configuration Manual page 318

Table of Contents

Advertisement

[RouterA] ipsec transform-set tran1
# Set the packet encapsulation mode to tunnel.
[RouterA-ipsec-transform-set-tran1] encapsulation-mode tunnel
# Use security protocol ESP.
[RouterA-ipsec-transform-set-tran1] transform esp
# Specify encryption and authentication algorithms.
[RouterA-ipsec-transform-set-tran1] esp encryption-algorithm des
[RouterA-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[RouterA-ipsec-transform-set-tran1] quit
# Create IKE peer peer.
[RouterA] ike peer peer
# Set the pre-shared key.
[RouterA-ike-peer-peer] pre-shared-key abcde
# Specify the IP address of the peer security gateway.
[RouterA-ike-peer-peer] remote-address 2.2.2.2
[RouterA-ike-peer-peer] quit
# Create an IKE proposal numbered 10.
[RouterA] ike proposal 10
# Set the authentication algorithm to MD5.
[RouterA-ike-proposal-10] authentication-algorithm md5
# Set the authentication method to pre-shared key.
[RouterA-ike-proposal-10] authentication-method pre-share
# Set the ISAKMP SA lifetime to 5000 seconds.
[RouterA-ike-proposal-10] sa duration 5000
[RouterA-ike-proposal-10] quit
# Create an IPsec policy that uses IKE negotiation.
[RouterA] ipsec policy map1 10 isakmp
# Reference IPsec transform set tran1.
[RouterA-ipsec-policy-isakmp-map1-10] transform-set tran1
# Reference ACL 3101 to identify the protected traffic.
[RouterA-ipsec-policy-isakmp-map1-10] security acl 3101
# Reference IKE peer peer.
[RouterA-ipsec-policy-isakmp-map1-10] ike-peer peer
[RouterA-ipsec-policy-isakmp-map1-10] quit
# Assign an IP address to interface GigabitEthernet 3/0/2.
[RouterA] interface gigabitethernet 3/0/2
[RouterA-GigabitEthernet3/0/2] ip address 10.1.1.1 255.255.255.0
[RouterA-GigabitEthernet3/0/2] quit
# Assign an IP address to interface GigabitEthernet 3/0/1.
[RouterA] interface gigabitethernet 3/0/1
[RouterA-GigabitEthernet3/0/1] ip address 1.1.1.1 255.255.255.0
# Apply the IPsec policy to interface GigabitEthernet 3/0/1.
[RouterA-GigabitEthernet3/0/1] ipsec policy map1
# Configure a static route to subnet 10.1.2.0/24.
304

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents