Case 1 without VRF
crypto isakmp policy 10 encr aes authentication pre-share group 2 crypto isakmp key MyKey address 0.0.0.0 ! ! crypto ipsec transform-set TRANS esp-aes mode transport ! crypto ipsec profile PROF_DMVPN set transform-set TRANS interface Tunnel0 <...> tunnel source e0/0 tunnel mode gre multipoint tunnel protection ipsec profile PROF_DMVPN
Case 2 with VRF
crypto keyring CCIE vrf VRF1 pre-shared-key address 0.0.0.0 0.0.0.0 key MyKey ! ! ! ! crypto isakmp policy 10 encr aes authentication pre-share group 2 ! ! crypto ipsec transform-set TRANS esp-aes mode transport ! crypto ipsec profile PROF_DMVPN set transform-set TRANS interface Tunnel0 <..> tunnel source e0/0 tunnel mode gre multipoint tunnel vrf VRF1 tunnel protection ipsec profile PROF_DMVPN