Hi,
There are no restrictions on the IKE exchange mode when NAT traversal is configured.
Instead, it is important to note that the AH protocol cannot be used. Because AH performs an integrity check on data, it will perform a HASH computation for all IP packets within the IP address. NAT, on the other hand, will change the IP addresses, thereby breaking the AH HASH values. As such, AH packets cannot pass through the NAT gateway.
Refer to the following post, which details the principles and configuration of NAT traversal:
https://forum.huawei.com/enterprise/en/nat-traversal-dr-wow-no-36/thread/251509-867