
C613-50186-01 Rev B
Command Reference for AR2050V
2760
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
GRE T
UNNELING
C
OMMANDS
TUNNEL
MODE
(GRE)
tunnel mode (GRE)
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 GRE as the encapsulation mode, use the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel2
awplus(config-if)#
tunnel mode gre
To remove a configured GRE tunnel for
tunnel2
, use the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel2
awplus(config-if)#
no tunnel mode
Related
commands
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 tap
OpenVPN TAP mode
openvpn tun
OpenVPN TUN mode