Applying An Ipsec Policy Group To An Interface; Configuring The Ipsec Session Idle Timeout - HP 10500 Series Configuration Manual

Security configuration guide
Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

NOTE:
You cannot change the creation mode of an IPsec policy from manual to through IKE, or vice versa. To
create an IPsec policy that uses IKE, delete the manual IPsec policy, and then use IKE to configure an IPsec
policy.

Applying an IPsec policy group to an interface

An IPsec policy group is a collection of IPsec policies with the same name but different sequence numbers.
In an IPsec policy group, an IPsec policy with a smaller sequence number has a higher priority.
You can apply an IPsec policy group to a logical or physical interface to protect certain data flows. To
cancel the IPsec protection, remove the application of the IPsec policy group.
For each packet to be sent out an IPsec protected interface, the system looks through the IPsec policies in
the IPsec policy group in ascending order of sequence numbers. If an IPsec policy matches the packet,
the system uses the IPsec policy to protect the packet. If no match is found, the system sends the packet out
without IPsec protection.
IPsec policies can be applied only to VLAN interfaces and Layer 3 Ethernet interfaces on the switch. An
interface can reference only one IPsec policy group. A manual IPsec policy can be applied to only one
interface.
To apply an IPsec policy group to an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Apply an IPsec policy group to the interface.

Configuring the IPsec session idle timeout

An IPsec session is created when the first packet matching an IPsec policy arrives. Also created is an IPsec
session entry, which records the quintuplet (source IP address, destination IP address, protocol number,
source port, and destination port) and the matched IPsec tunnel.
An IPsec session is automatically deleted after the idle timeout expires.
Subsequent data flows search the session entries according to the quintuplet to find a matched item. If
found, the data flows are processed according to the tunnel information; otherwise, they are processed
according to the original IPsec process: search the policy group or policy at the interface, and then the
matched tunnel.
The session processing mechanism of IPsec saves intermediate matching procedures, improving the IPsec
forwarding efficiency.
To set the IPsec session idle timeout:
Step
1.
Enter system view.
2.
Set the IPsec session idle
timeout.
Command
system-view
interface interface-type interface-number
ipsec policy policy-name
Command
system-view
ipsec session idle-time seconds
309
Remark
N/A
Optional.
300 seconds by default.

Advertisement

Table of Contents
loading

Table of Contents