crypto keyring isakmp-keyring  
  pre-shared-key address $peerAddress key $key
crypto isakmp policy 1
 encryption $ikev1EncryptionVar
 authentication pre-share
$ikev1IntegrityVar
 group $ikev1GroupVar
crypto isakmp identity dn
crypto isakmp profile isakmp-profile
keyring isakmp-keyring
self-identity address
match identity address $peerAddress $vpnSubnetMaskIkev1 
crypto ipsec profile ipsec-profile
set isakmp-profile isakmp-profile
crypto ipsec transform-set trans $transformSetVar
 mode tunnel
crypto ipsec profile ipsec-profile
 set transform-set trans
crypto isakmp keepalive 10 2 periodic