HP FlexNetwork 10500 Series Security Configuration Manual page 361

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

Advertisement

# Specify the encryption and authentication algorithms.
[SwitchA-ipsec-transform-set-tran1] esp encryption-algorithm des-cbc
[SwitchA-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[SwitchA-ipsec-transform-set-tran1] quit
# Create an IKEv2 keychain named keychain1.
[SwitchA] ikev2 keychain keychain1
# Create an IKEv2 peer named peer1.
[SwitchA-ikev2-keychain-keychain1] peer peer1
# Specify the peer IP address 2.2.2.2/24.
[SwitchA-ikev2-keychain-keychain1-peer-peer1] address 2.2.2.2 24
# Specify the peer ID, which is the IP address 2.2.2.2.
[SwitchA-ikev2-keychain-keychain1-peer-peer1] identity address 2.2.2.2
# Specify the plaintext abcde as the pre-shared key to be used with the peer.
[SwitchA-ikev2-keychain-keychain1-peer-peer1] pre-shared-key plaintext abcde
[SwitchA-ikev2-keychain-keychain1-peer-peer1] quit
[SwitchA-ikev2-keychain-keychain1] quit
# Create an IKEv2 profile named profile1.
[SwitchA] ikev2 profile profile1
# Specify the local authentication method as pre-shared key.
[SwitchA-ikev2-profile-profile1] authentication-method local pre-share
# Specify the remote authentication method as pre-shared key.
[SwitchA-ikev2-profile-profile1] authentication-method remote pre-share
# Specify the IKEv2 keychain keychain1.
[SwitchA-ikev2-profile-profile1] keychain keychain1
# Specify the peer ID that the IKEv2 profile matches. The peer ID is the IP address 2.2.2.2/24.
[SwitchA-ikev2-profile-profile1] match remote identity address 2.2.2.2 255.255.255.0
[SwitchA-ikev2-profile-profile1] quit
# Create an IKE-based IPsec policy entry with the name map1 and the sequence number 10.
[SwitchA] ipsec policy map1 10 isakmp
# Specify the remote IP address 2.2.2.2 for the IPsec tunnel.
[SwitchA-ipsec-policy-isakmp-map1-10] remote-address 2.2.2.2
# Specify ACL 3101 to identify the traffic to be protected.
[SwitchA-ipsec-policy-isakmp-map1-10] security acl 3101
# Specify the IPsec transform set tran1 for the IPsec policy.
[SwitchA-ipsec-policy-isakmp-map1-10] transform-set tran1
# Specify the IKEv2 profile profile1 for the IPsec policy.
[SwitchA-ipsec-policy-isakmp-map1-10] ikev2-profile profile1
[SwitchA-ipsec-policy-isakmp-map1-10] quit
# Apply the IPsec policy map1 to VLAN-interface 1.
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] ipsec apply policy map1
# Specify an Ethernet interface module or a service module for forwarding the traffic on the
interface.
[SwitchA-Vlan-interface1] service slot 3
[SwitchA-Vlan-interface1] quit
2.
Configure Switch B:
# Assign an IP address to VLAN-interface 1.
347

Advertisement

Table of Contents
loading

Table of Contents