The ipsec sm4 version command sets the SM4 version to be used for SA negotiation in an ike peer.
The undo ipsec sm4 version command restores the SM4 version to default configuration.
By default, SM4 version will be the global SM4 version configured by the ipsec global sm4 version command.
This command is supported only on the NetEngine 8000 F1A.
During the actual use, the SM4 algorithm on some devices follows the draft standard GM/T XXXX-2013, while the SM4 algorithm on router follows the standard GM/T 0022-2014, which will lead to a communication failure. To solve this problem, you can configure the SM4 algorithm on router to follow the draft standard GM/T XXXX-2013.