ipsec profile (interface view)
Function
The ipsec profile command applies an IPSec profile to a tunnel interface.
The undo ipsec profile command unbinds the IPSec profile from a tunnel interface.
By default, no IPSec profile is applied to a tunnel interface.
Usage Guidelines
Prerequisites
An IPSec profile has been created using the ipsec profile (system view) command.
A tunnel interface has been created using the interface tunnel command, and the encapsulation mode of the tunnel interface has been set to GRE or IPSec using the tunnel-protocol command.
Precautions
A tunnel interface can be bound to only one IPSec profile. Before binding the tunnel interface to another IPSec profile, run the undo ipsec profile command to unbind the IPSec profile from the tunnel interface.
An IPSec profile is applied only to one tunnel interface. Before applying the IPSec profile to another interface, unbind the IPSec profile from the tunnel interface.