HP A6600 Configuration Manual page 286

Hide thumbs Also See for A6600:
Table of Contents

Advertisement

Configure Router B.
2.
# Define an ACL to identify data flows 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
# Configure a static route to Host A.
[RouterB] ip route-static 10.1.1.0 255.255.255.0 serial 2/1/2
# Create an IPsec proposal named tran1.
[RouterB] ipsec proposal tran1
# Specify the encapsulation mode as tunnel.
[RouterB-ipsec-proposal-tran1] encapsulation-mode tunnel
# Specify the security protocol as ESP.
[RouterB-ipsec-proposal-tran1] transform esp
# Specify the algorithms for the proposal.
[RouterB-ipsec-proposal-tran1] esp encryption-algorithm des
[RouterB-ipsec-proposal-tran1] esp authentication-algorithm sha1
[RouterB-ipsec-proposal-tran1] quit
# Configure the IKE peer.
[RouterB] ike peer peer
[RouterB-ike-peer-peer] pre-shared-key abcde
[RouterB-ike-peer-peer] remote-address 2.2.2.1
[RouterB-ike-peer-peer] quit
# Create an IPsec policy that uses IKE for IPsec SA negotiation.
[RouterB] ipsec policy use1 10 isakmp
# Apply the ACL.
[RouterB-ipsec-policy-isakmp-use1-10] security acl 3101
# Apply the IPsec proposal.
[RouterB-ipsec-policy-isakmp-use1-10] proposal tran1
# Apply the IKE peer.
[RouterB-ipsec-policy-isakmp-use1-10] ike-peer peer
[RouterB-ipsec-policy-isakmp-use1-10] quit
# Configure the IP address of the serial interface.
[RouterB] interface serial 2/1/2
[RouterB-Serial2/1/2] ip address 2.2.3.1 255.255.255.0
# Apply the IPsec policy group to the interface.
[RouterB-Serial2/1/2] ipsec policy use1
After the configuration, IKE negotiation is triggered to set up SAs when there is traffic between subnet
10.1.1.0/24 and subnet 10.1.2.0/24. If IKE negotiation is successful and SAs are set up, the traffic
between the two subnets is IPsec protected.
274

Advertisement

Table of Contents
loading

Table of Contents