Ipsec Configuration Examples; Configuring A Manual Mode Ipsec Tunnel For Ipv4 Packets - HP FlexFabric 5700 Series Security Configuration Manual

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

IPsec configuration examples

Configuring a manual mode IPsec tunnel for IPv4 packets

Network requirements
As shown in
between the switches. Configure the tunnel as follows:
Specify the encapsulation mode as tunnel, the security protocol as ESP, the encryption algorithm as
AES-CBC- 1 92, and the authentication algorithm as HMAC-SHA1.
Manually set up IPsec SAs.
Figure 81 Network diagram
 
Configuration procedure
Configure Switch A:
1.
# Configure an IP address for VLAN-interface 1.
<SwitchA> system-view
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] ip address 2.2.2.1 255.255.255.0
[SwitchA-Vlan-interface1] quit
# Configure an ACL to identify data flows between Switch A and Switch B.
[SwitchA] acl number 3101
[SwitchA-acl-adv-3101] rule 0 permit ip source 2.2.2.1 0 destination 2.2.3.1 0
[SwitchA-acl-adv-3101] quit
# Create an IPsec transform set named tran1.
[SwitchA] ipsec transform-set tran1
# Specify the encapsulation mode as tunnel.
[SwitchA-ipsec-transform-set-tran1] encapsulation-mode tunnel
# Specify the security protocol as ESP.
[SwitchA-ipsec-transform-set-tran1] protocol esp
# Specify the ESP encryption and authentication algorithms.
[SwitchA-ipsec-transform-set-tran1] esp encryption-algorithm aes-cbc-192
[SwitchA-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[SwitchA-ipsec-transform-set-tran1] quit
# Create a manual IPsec policy entry, with the policy name map1 and sequence number 10.
[SwitchA] ipsec policy map1 10 manual
# Apply ACL 3101.
[SwitchA-ipsec-policy-manual-map1-10] security acl 3101
# Apply the IPsec transform set tran1.
[SwitchA-ipsec-policy-manual-map1-10] transform-set tran1
Figure
81, establish an IPsec tunnel between Switch A and Switch B to protect data flows
272

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents