HP 12500 Series Configuration Manual page 203

Routing
Table of Contents

Advertisement

Figure 66 Network diagram
GE3/0/2
10.4.4.1/24
Headquarter
Configuration procedure
Assign IPv4 addresses to the interfaces on the switches according to
1.
A and Switch B can reach each other. (Details not shown.)
Configure Switch A:
2.
# Configure ACL 3101 to identify traffic from subnet 10.4.4.0/24 to subnet 10.5.5.0/24.
<SwitchA> system-view
[SwitchA] acl number 3101
[SwitchA-acl-adv-3101] rule permit ip source 10.4.4.0 0.0.0.255 destination 10.5.5
0 0.0.0.255
[SwitchA-acl-adv-3101] quit
# Create IPsec proposal tran1.
[SwitchA] ipsec proposal tran1
# Set the packet encapsulation mode to tunnel.
[SwitchA-ipsec-proposal-tran1] encapsulation-mode tunnel
# Use ESP as the security protocol.
[SwitchA-ipsec-proposal-tran1] transform esp
# Use AES 128 as the encryption algorithm and SHA1-HMAC-96 as the authentication algorithm.
[SwitchA-ipsec-proposal-tran1] esp encryption-algorithm aes 128
[SwitchA-ipsec-proposal-tran1] esp authentication-algorithm sha1
[SwitchA-ipsec-proposal-tran1] quit
# Create IKE peer peer.
[SwitchA] ike peer peer
# Set the pre-shared key.
[SwitchA-ike-peer-peer] pre-shared-key Ab12<><>
# Specify the IP address of the peer security gateway.
[SwitchA-ike-peer-peer] remote-address 2.2.2.2
[SwitchA-ike-peer-peer] quit
# Create an IPsec policy that uses IKE.
[SwitchA] ipsec policy map1 10 isakmp
# Reference IPsec proposal tran1.
[SwitchA-ipsec-policy-isakmp-map1-10] proposal tran1
# Reference ACL 3101 to identify the protected traffic.
Switch A
GE3/0/1
1.1.1.1/16
Internet
Host A
10.4.4.4/24
Switch B
GE3/0/1
2.2.2.2/16
GE3/0/2
10.5.5.1/24
Host B
10.5.5.5/24
193
Branch
Figure
66. Make sure Switch

Advertisement

Table of Contents
loading

Table of Contents