Specifying the local and remote identity authentication methods
Restrictions and guidelines
The local and remote identity authentication methods must both be specified and they can be different. You can specify only one local identity authentication method and multiple remote identity authentication methods.
Procedure
Enter system view.
system-view
Enter IKEv2 profile view.
ikev2 profile profile-name
Specify the local and remote identity authentication methods.
authentication-method { local | remote } { dsa-signature | ecdsa-signature | pre-share | rsa-signature }
By default, no local or remote identity authentication method is configured.