protected

Configures VRF traffic protection for an Internet Key Exchange version 2 (IKEv2) profile.
Syntax
protected vrf
no protected vrf
Command Default
Parameters
vrf
Specifies the name of the VRF to be protected.
Modes

IKEv2 profile configuration mode

Usage Guidelines

When the tunnel VRF and the protected VRF do not match, an IKEv2 session is not initiated.

The no form of the command removes the specified VRF traffic protection configuration for the IKEv2 profile.

Examples

The following example shows how to configure an IKEv2 profile named test to protect traffic for a VRF named red.

device(config)# ikev2 profile test
device(config-ikev2-profile-test)# protected red
History
Release version Command history
08.0.50 This command was introduced.