![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg82.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
126
disable double_vlan
Purpose Used to disable the Q-in-Q VLAN feature on the Switch.
Syntax
disable double_vlan
Description This command, along with the enable double_vlan command, enables and disables the
Q-in-Q Tag VLAN. When Q-in-Q VLANs are enabled, the system configurations for
VLANs will return to the default setting, except stacking information, IP address, log, user
accounts and banner setting, in order to enable the Q-in-Q VLAN mode. In the Q-in-Q
(Double VLAN) VLAN mode, normal VLANs and GVRP functions are disabled. The
Q-in-Q VLAN default setting is disabled.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the Q-in-Q VLAN feature on the Switch
DGS–3426:5#disable double_vlan
Command: disable double_vlan
Current Double VLAN mode : Enabled
Disable Double VLAN need to reset system config. Are you sure ?(y/n)y
Success.
DGS–3426:5#
create double_vlan
Purpose Used to create a Q-in-Q VLAN on the Switch.
Syntax
create double_vlan <vlan_name 32> spvid <vlanid 1–4094> {tpid <hex 0x0–0xffff>}
Description This command is used to create a Q-in-Q VLAN (service provider VLAN) on the Switch.
Parameters vlan <vlan_name 32> – The name of the Q-in-Q VLAN to be created. The user is to enter
an alphanumeric string of up to 32 characters to identify this VLAN.
spvid <vlanid 1–4094> – The VLAN ID of the service provider VLAN. The user is to
identify this VLAN with a number between 1 and 4094.
tpid <hex 0x0–0xffff>– The tag protocol ID. This ID, identified here in hex form, will help
identify packets to devices as Q-in-Q VLAN tagged packets. The default setting is
0x8100.
Restrictions Only Administrator and Operator-level users can issue this command.
Users must have the Switch enabled for Q-in-Q VLANs.
Example usage:
To create a Q-in-Q VLAN on the Switch called “Tiberius”:
DGS–3426:5#create double_vlan Tiberius spvid 6 tpid 0x9100
Command: create double_vlan Tiverius spvid 6 tpid 0x9100
Success.
DGS–3426:5#