Specifying a VPN instance for the IKEv2 profile

About specifying a VPN instance for an IKEv2 profile

After you specify a VPN instance for an IKEv2 profile, the IKEv2 profile can be used for IKEv2 negotiation only on the interfaces that belong to the VPN instance.

Procedure

  1. Enter system view.

    system-view

  2. Enter IKEv2 profile view.

    ikev2 profile profile-name

  3. Specify a VPN instance for the IKEv2 profile.

    match vrf { name vrf-name | any }

    By default, an IKEv2 profile belongs to the public network.