VLAN Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
16.15
switchport vlan-stacking (double tagging)
Use this command to enable VLAN stacking on a port and set it to be a customer-edge-port
or provider-port. This is sometimes referred to as VLAN double-tagging, nested VLANs, or
QinQ.
Use
no
parameter with this command to disable VLAN stacking on an interface.
Syntax
switchport vlan-stacking {customer-edge-port|provider-port}
no switchport vlan-stacking
Default
By default, ports are not VLAN stacking ports.
Mode
Interface mode
Usage
Use VLAN stacking to separate traffic from different customers to that they can be managed
over a provider network
Traffic with an extra VLAN header added by VLAN stacking cannot be routed.
Example
Parameter
Description
customer-edge-port
Set the port to be a customer edge port. This port must already be in
access mode.
provider-port
Set the port to be a provider port. This port must already be in trunk
mode.
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
switchport vlan-stacking customer-edge-port