
Step 3—Configuring Encryption
Cisco 7100 Series VPN Configuration Guide
3-14
Creating Policies
To create an IKE policy, complete the followingsteps starting in global configuration mode:
Step Command Purpose
1
hq-sanjose(config)# crypto isakmp policy 1
Enter config-isakmp command mode and identify
the policy to create. (Each policy is uniquely
identified by thepriority numberyou assign.) This
example configures policy 1.
2
hq-sanjose(config-isakmp)# encryption des
Specify the encryption algorithm—56-bit Data
Encryption Standard (DES [des]) or 168-bit
Triple DES (3des). This example configures the
DES algorithm, which is the default.
3
hq-sanjose(config-isakmp)# hash sha
Specify the hash algorithm—Message Digest 5
(MD5 [md5]) or Secure Hash Algorithm (SHA
[sha]). This example configures SHA, which is
the default.
4
hq-sanjose(config-isakmp)# authentication
pre-share
Specify the authentication method—preshared
keys (pre-share), RSA
1
encrypted nonces
(rsa-encr), or RSA signatures (rsa-slg). This
example configures preshared keys. The default is
RSA signatures.
1 RSA = Rivest, Shamir, and Adelman.
5
hq-sanjose(config-isakmp)# group 1
Specify the Diffie-Hellman group
identifier—768-bit Diffie-Hellman (1) or 1024-bit
Diffie-Hellman (2). This example configures
768-bit Diffie-Hellman, which is the default.
6
hq-sanjose(config-isakmp)# lifetime 86400
Specify the security association’s lifetime—in
seconds. This example configures 86400 seconds
(one day).
7
hq-sanjose(config-isakmp)# exit
hq-sanjose(config)#
Exit back to global configuration mode.
Comentarios a estos manuales