
C613-50186-01 Rev B
Command Reference for AR2050V
2783
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
O
PEN
VPN C
OMMANDS
TUNNEL
OPENVPN
TAGGING
tunnel openvpn tagging
Overview
This command configures an OpenVPN tunnel to add an 802.1Q tag (a VLAN ID) to
traffic received over the tunnel. VLAN ID (VID) is a VLAN identifier that is used to
determine which VLAN the traffic belongs to. The VID is determined from
information received from the RADIUS server during the authentication process. If
no VID information is received from the RADIUS server, the value specified in this
command is used.
Use the
no
variant of this command to remove the VID over the tunnel.
Note that you can add an 802.1Q tag in the TAP mode only.
Syntax
tunnel openvpn tagging
<1-4094>
no tunnel openvpn tagging
Mode
Interface Configuration
Examples
To add a 802.1Q tag to packets received over tunnel
tunnel5
, use the
commands:
awplus#
configure terminal
awplus(config)#
interface tunnel5
awplus(config-if)#
tunnel openvpn tagging 1
To remove the 802.1Q tag over tunnel
tunnel5
, use the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel5
awplus(config-if)#
no tunnel openvpn tagging
Parameter
Description
<1-4094>
VLAN ID from 1 through 4094