C613-50170-01 Rev B
Command Reference for x510 Series
603
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
VLAN C
OMMANDS
SWITCHPORT
VLAN
-
STACKING
(
DOUBLE
TAGGING
)
switchport vlan-stacking (double tagging)
Overview
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 Q in Q.
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 Configuration
Usage
Use VLAN stacking to separate traffic from different customers to that they can be
managed over a provider network.
Note that you must also set an MRU of 1504 or higher on the customer edge port,
using the
command.
Traffic with an extra VLAN header added by VLAN stacking cannot be routed.
Example
To apply vlan-stacking to the selected port, configure it to be a customer edge
port, and increase the MRU, use the following commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
switchport vlan-stacking customer-edge-port
awplus(config-if)#
mru 10240
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.