Encapsulation Dot1Q - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

802.1Q E
C
NCAPSULATION
OMMANDS
1
ENCAPSULATION DOT
Q

encapsulation dot1q

Overview
Use this command to enable 802.1Q encapsulation on Ethernet interfaces or L2
tunnel interfaces—OpenVPN and L2TPv3 Ethernet pseudowire.
Use the no variant of this command to disable 802.1Q encapsulation for the VLAN
identified by the VLAN ID (VID).
encapsulation dot1q <vid>
Syntax
no encapsulation dot1q <vid>
Default
802.1Q encapsulation is disabled by default on any Ethernet interface or Layer 2
tunnel interface.
Mode
Interface Configuration
Usage
You should enter the Ethernet interface or tunnel interface configuration mode to
enable 802.1Q encapsulation and configure the VID first. Then you can use the VID
to configure the subinterface associated with the Ethernet interface or tunnel
interface. Subinterfaces are logical interfaces. The subinterface index must be the
same as the VID. For example, if you configure VID 1 for eth1, then the subinterface
for eth1 is eth1.1. If you configure VID 2 for tunnel20, then the subinterface for
tunnel20 is tunnel20.2.
Examples
To enable 802.1Q encapsulation on Ethernet interface eth1, use the commands:
awplus#configure terminal
awuplus(config)#interface eth1
awplus(config-if)#encapsulation dot1q 1
To enable 802.1Q encapsulation on tunnel interface tunnel20, use the commands:
awplus#configure terminal
awuplus(config)#interface tunnel20
awplus(config-if)#encapsulation dot1q 2
C613-50186-01 Rev B
Parameter
Description
<vid>
Enter a VLAN ID in the range from 1 through 4094. The VLAN ID
identifies the VLAN to which the frames belong. It also identifies
the index of the subinterface of the Ethernet interface or Layer 2
tunnel interface.
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
573

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents