       
crypto ikev2 proposal default
$ikev2EncryptionVar
$ikev2IntegrityVar
group $ikev2GroupVar

default crypto ikev2 policy

crypto ikev2 policy default
match fvrf any


crypto ikev2 keyring key

$ikev2TunnelString
pre-shared-key $key


crypto ikev2 profile prof
$spokesIdentity
authentication remote pre-share
authentication local pre-share
keyring local key

crypto ikev2 dpd 10 2 periodic

crypto ipsec transform-set test_trans $transformSetVar 
mode tunnel

crypto ipsec profile DMVPN_hub
set transform-set test_trans 
set ikev2-profile prof
