tunnel mode ipsec

Configures the mode of a virtual tunnel interface (VTI) as IPsec.
Syntax
tunnel mode ipsec{ipv4|ipv6}
no tunnel mode ipsec{ipv4|ipv6}
Command Default

The tunnel mode is not configured for a VTI.

Parameters
ipv4
Specifies the application of IPsec protection for IPv4 packets transmitted over the tunnel.
ipv6
Specifies the application of IPsec protection for IPv6 packets transmitted over the tunnel.
Modes

Tunnel interface configuration mode

Usage Guidelines

IPsec is supported only on ICX 7450 devices.

The no form of the command removes the IPsec mode configuration for the VTI.

Examples

The following example shows how to set the mode for tunnel 1 to IPsec for IPv4 traffic.

device# configure terminal
device(config) interface tunnel 1
device(config-tnif-1)# tunnel mode ipsec ipv4
History
Release version Command history
08.0.41 This command was introduced.
08.0.70 This command added support for IPv6 IPsec tunnels.