Create an IPsec Security Association
Use the following procedure to create an IPsec security association. A security association (SA) is a group of algorithms and parameters used to encrypt and authenticate the flow of IP traffic in a particular direction. An SA contains the information IPsec needs to process an IP packet.
About this task
You cannot delete or modify a security association if the security association links to a policy. To modify a parameter in the security association or to delete the security association, you must first unlink the security association from a policy.
You can only unlink a security association from a policy if the policy does not link to an interface. If a policy links to an interface, you must first unlink the policy from the interface, and then unlink the policy from the security association.
Procedure
Security Association field descriptions
Use the data in the following table to use the Security Association tab.
Name |
Description |
---|---|
Name |
Specifies the name of the security association. |
Spi |
Specifies the security parameters index (SPI) value, which is a unique value. SPI is a tag IPsec adds to the IP header. The tag enables the system that receives the IP packet to determine under which security association to process the received packet. For IPsec to function, each peer must have the same SPI value configured for a particular policy. The default value is 0. |
HashAlgorithm |
Specifies the authorization algorithm, which includes one of the following values:
The default authentication algorithm name is MD5. |
EncryptAlgorithm |
Specifies the encryption algorithm value as one of the following:
The default encryption algorithm is AES128CBC. You can only access the encryption algorithm parameters if you configure the encapsulation protocol to ESP. |
AuthMethod |
Specifies the encapsulation protocol:
If you configure the encapsulation protocol as ah, you cannot configure the encryption algorithms and other encryption related attributes. You can only access the encryption algorithm parameters if you configure the encapsulation protocol to es. The default value is es. |
Mode |
Specifies the mode value as one of the following:
The default is transport mode. |
KeyMode |
Specifies the key-mode as one of the following:
The default is manual. |
EncryptKeyName |
Specifies the encryption key. |
EncryptKeyLength |
Specifies the numbers of bits used in the encryption key. The key length values are as follows:
|
HashKeyName |
Specifies the authentication key. |
HashKeyLength |
Specifies the numbers of bits used in the hash key. The key length values are as follows:
|
LifetimeSeconds |
Specifies the lifetime value in seconds. The lifetime determines the traffic that can pass between IPsec peers using a security association before that security association expires. The default lifetime value in seconds is 28800. |
LifetimeKbytes |
Specifies the lifetime value in kilobytes. The lifetime determines the traffic that can pass between IPsec peers using a security association before that security association expires. The default lifetime value in bytes is 4294967295. |