Ike Configuration Examples; Main Mode Ike With Pre-Shared Key Authentication Configuration Example - HPE FlexNetwork 10500 Series Security Configuration Manual

Hide thumbs Also See for FlexNetwork 10500 Series:
Table of Contents

Advertisement

IKE configuration examples

Main mode IKE with pre-shared key authentication
configuration example
Network requirements
As shown in
secure the communication in between.
Configure Switch A and Switch B to use the default IKE proposal for the IKE negotiation to set up the
IPsec SAs. Configure the two switches to use the pre-shared key authentication method for the IKE
negotiation phase 1.
Figure 99 Network diagram
Vlan-int1
1.1.1.1/16
Switch A
Configuration procedure
1.
Configure Switch A:
# Configure an IP address for VLAN-interface 1.
<SwitchA> system-view
[SwitchA] interface vlan-interface 1
[SwitchA-vlan-interface1] ip address 1.1.1.1 255.255.255.0
[SwitchA-vlan-interface1] quit
# Configure ACL 3101 to identify traffic between Switch A and Switch B.
[SwitchA] acl advanced 3101
[SwitchA-acl-ipv4-adv-3101] rule 0 permit ip source 1.1.1.1 0 destination 2.2.2.2 0
[SwitchA-acl-ipv4-adv-3101] quit
# Create an IPsec transform set named tran1.
[SwitchA] ipsec transform-set tran1
# Set the packet encapsulation mode to tunnel.
[SwitchA-ipsec-transform-set-tran1] encapsulation-mode tunnel
# Use the ESP protocol for the IPsec transform set.
[SwitchA-ipsec-transform-set-tran1] protocol esp
# Specify the encryption and authentication algorithms.
[SwitchA-ipsec-transform-set-tran1] esp encryption-algorithm aes-cbc-128
[SwitchA-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[SwitchA-ipsec-transform-set-tran1] quit
# Create an IKE keychain named keychain1.
[SwitchA] ike keychain keychain1
# Specify 123456TESTplat&! in plain text as the pre-shared key to be used with the remote
peer at 2.2.2.2.
[SwitchA-ike-keychain-keychain1] pre-shared-key address 2.2.2.2 255.255.255.0 key
simple 123456TESTplat&!
[SwitchA-ike-keychain-keychain1] quit
Figure
99, configure an IKE-based IPsec tunnel between Switch A and Switch B to
Internet
Vlan-int1
2.2.2.2/16
Switch B
369

Advertisement

Table of Contents
loading

Table of Contents