This paper extends theory of Athena approach according to IKEv2 protocol. In the structure of message terms,some cryptographic primitives are added to handle DH key agreement,and the in-term relation is modified to deal with complex message structure.