
C613-50186-01 Rev B
Command Reference for AR2050V
2732
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
SEC
C
OMMANDS
TUNNEL
MODE
(IP
SEC
)
tunnel mode (IPsec)
Overview
Use this command to configure the encapsulation tunneling mode to use.
Use the
no
variant of this command to remove an established tunnel.
Syntax
tunnel mode {gre [ipv6]|ipsec {ipv4|ipv6}|l2tp v3
[ipv6]|openvpn {tap|tun}}
no tunnel mode
Default
Virtual tunnel interfaces have no mode set.
Mode
Interface Configuration
Usage
A tunnel will not become operational until it is configured with this command.
Examples
To configure IPSec in IPv4 tunnel mode, use the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel6
awplus(config-if)#
tunnel mode ipsec ipv4
To remove configured IPSec tunnels for
tunnel6
, use the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel6
awplus(config-if)#
no tunnel mode
Parameter
Description
gre
GRE IPv4 or IPv6 as the payload over IPv4 tunneling. IPv4 is the
delivery protocol.
gre ipv6
GRE IPv4 or IPv6 as the payload over IPv6 tunneling. IPv6 is the
delivery protocol.
ipsec ipv4
IPv4 IPsec tunnel
ipsec ipv6
IPv6 IPsec tunnel
l2tp v3
Layer 2 Tunneling Protocol version 3. By default, IPv4 is the deliver
protocol.
l2tp v3 ipv6
Set IPv6 as the deliver protocol for L2TPv3
openvpn
OpenVPN tunneling mode
openvpn tap
OpenVPN TAP mode
openvpn tun
OpenVPN TUN mode