HP A6600 Configuration Manual page 285

Hide thumbs Also See for A6600:
Table of Contents

Advertisement

Configuration procedure
Configure Router A.
1.
# Define an ACL to identify data flows from subnet 10.1.1.0/24 to subnet 10.1.2.0/24.
<RouterA> system-view
[RouterA] acl number 3101
[RouterA-acl-adv-3101] rule permit ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0
0.0.0.255
[RouterA-acl-adv-3101] quit
# Configure a static route to Host B.
[RouterA] ip route-static 10.1.2.0 255.255.255.0 serial 2/1/1
# Create an IPsec proposal named tran1.
[RouterA] ipsec proposal tran1
# Specify the encapsulation mode as tunnel.
[RouterA-ipsec-proposal-tran1] encapsulation-mode tunnel
# Specify the security protocol as ESP.
[RouterA-ipsec-proposal-tran1] transform esp
# Specify the algorithms for the proposal.
[RouterA-ipsec-proposal-tran1] esp encryption-algorithm des
[RouterA-ipsec-proposal-tran1] esp authentication-algorithm sha1
[RouterA-ipsec-proposal-tran1] quit
# Configure the IKE peer.
[RouterA] ike peer peer
[RouterA-ike-peer-peer] pre-shared-key abcde
[RouterA-ike-peer-peer] remote-address 2.2.3.1
[RouterA-ike-peer-peer] quit
# Create an IPsec policy that uses IKE for IPsec SA negotiation.
[RouterA] ipsec policy map1 10 isakmp
# Apply the IPsec proposal.
[RouterA-ipsec-policy-isakmp-map1-10] proposal tran1
# Apply the ACL.
[RouterA-ipsec-policy-isakmp-map1-10] security acl 3101
# Apply the IKE peer.
[RouterA-ipsec-policy-isakmp-map1-10] ike-peer peer
[RouterA-ipsec-policy-isakmp-map1-10] quit
# Configure the IP address of the serial interface.
[RouterA] interface serial 2/1/1
[RouterA-Serial2/1/1] ip address 2.2.2.1 255.255.255.0
# Apply the IPsec policy group to the interface.
[RouterA-Serial2/1/1] ipsec policy map1
273

Advertisement

Table of Contents
loading

Table of Contents