xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
137
disable double_vlan
Purpose
Used to disable the Double VLAN feature on the Switch.
Syntax
disable double_vlan
Description
This command, along with the
enable double_vlan
command,
enables and disables the Double Tag VLAN. When Double VLANs
are enabled, the system configurations for VLANs will return to the
default setting, except IP address, log, user accounts, and banner
setting, in order to enable the Double VLAN mode. In the Double
VLAN mode, normal VLANs and GVRP functions are disabled. The
Double VLAN default setting is disabled.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this
command.
Example usage:
To disable the Double VLAN feature on the Switch
DGS-3627: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-3627:5#
create double_vlan
Purpose
Used to create a Double 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 Double VLAN (service provider
VLAN) on the Switch.
Parameters
vlan <vlan_name 32>
−
The name of the Double 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 Double 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 Double VLANs.
Example usage:
To create a Double VLAN on the Switch