Table Of Contents
Triple DES Encryption for IPSec
Triple DES Encryption for IPSec
Feature Summary
IPSec supports the Triple DES encryption algorithm (168-bit) in addition to 56-bit encryption. Triple DES (3DES) is a strong form of encryption that allows sensitive information to be transmitted over untrusted networks. It enables customers, particularly in the finance industry, to utilize network layer encryption.
Platforms
This feature is supported only on the following platforms:
•
1720
•
2600 Series
•
3600 Series
•
4000 Series
•
4500 Series
•
AS5300 Series
•
7200 Series
•
7500 Series
Prerequisites
This feature is available only in software images with the Triple DES encryption feature set for IPSec.
Supported MIBs and RFCs
None.
Configuration Tasks
Configuring the router for Triple DES encryption has two parts:
•
Internet key exchange policy configuration
•
Crypto map policy configuration
To configure an IKE policy, use the following commands starting in global configuration mode:
To configure an IPSec crypto map policy, use the following commands starting in global configuration mode:
Configuration Example
This IPSec configuration example has two parts:
•
Configuring IKE policy
•
Configuring IPSec policy, including the access list, transform set, crypto map, and interface definition
This example creates an IKE policy, with 3des as the encryption algorithm.
crypto isakmp policy 15encryption 3deshash md5authentication rsa-siggroup 2lifetime 5000The following is an example of a minimal IPSec configuration where the security associations will be established via IKE. In this example, IKE must be enabled.
An IPSec access list defines which traffic to protect:
access-list 101 permit ip 10.0.0.0 0.0.0.255 10.2.2.0 0.0.0.255A transform set defines how the traffic will be protected:
crypto ipsec transform-set myset esp-3des esp-md5-hmacA crypto map joins together the IPSec access list and transform set and specifies where the protected traffic is sent (the remote IPSec peer):
crypto map toRemoteSite 10 ipsec-isakmpmatch address 101set transform-set mysetset peer 10.2.2.5The crypto map is applied to an interface:
interface Serial0ip address 10.0.0.2crypto map toRemoteSiteCommand Reference
This section documents changes to the crypto ipsec transform-set and crypto isakmp policy commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0 Security Configuration Guide in the "Internet Key Exchange Security Protocol Commands" chapter and the "IPSec Network Security Commands" chapter.
crypto ipsec transform-set
To define a transform set—an acceptable combination of security protocols and algorithms—use the crypto ipsec transform-set global configuration command. This command is documented in the Cisco IOS Release 12.0 Security Command Reference.
crypto ipsec transform-set transform-set-name transform1 [transform2 [transform3]]
no crypto ipsec transform-set transform-set-nameSyntax Description
Command Mode
Global configuration. This command invokes the crypto transform configuration mode.
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 T. The esp-3des option first appeared in Cisco IOS Release 12.0(1) XA.
Acceptable combinations of transforms are shown in .
Examples of acceptable transform combinations are:
•
ah-md5-hmac
•
esp-des
•
esp-3des and esp-md5-hmac
•
ah-sha-hmac and esp-des and esp-sha-hmac
•
ah-rfc1828 and esp-rfc1829
The parser will prevent you from entering invalid combinations; for example, once you specify an AH transform it will not allow you to specify another AH transform for the current transform set.
Example
This example defines two transform sets. The first transform set will be used with an IPSec peer that supports the newer ESP and AH protocols. The second transform set will be used with an IPSec peer that only supports the older transforms.
crypto ipsec transform-set newer esp-3des esp-sha-hmaccrypto ipsec transform-set older ah-rfc-1828 esp-rfc1829Related Commands
initialization-vector size
mode
set transform-set
show crypto ipsec transform-setencryption (IKE policy)
To specify the encryption algorithm within an IKE policy, use the encryption (IKE policy) ISAKMP policy configuration command. IKE policies define a set of parameters to be used during IKE negotiation. Use the no form of this command to reset the encryption algorithm to the default value.
encryption {des | 3des}
no encryptionSyntax Description
des
Specifies 56-bit DES-CBC as the encryption algorithm.
3des
Specifies 168-bit DES (3DES) as the encryption algorithm.
Default
The 56-bit DES-CBC encryption algorithm.
Command Mode
ISAKMP policy configuration (config-isakmp)
Usage Guidelines
This command first appeared in Cisco IOS Release 11.3 T. The 3des option first appeared in Cisco IOS Release 12.0(1) XA.
Use this command to specify the encryption algorithm to be used in an IKE policy.
Example
This example configures an IKE policy with the 3DES encryption algorithm (all other parameters are set to the defaults):
router(config)#crypto isakmp policyrouter(config-isakmp)#encryption 3desrouter(config-isakmp)#Related Commands
authentication (IKE policy)
crypto isakmp policy
group (IKE policy)
hash (IKE policy)
lifetime (IKE policy)
show crypto isakmp policy
