![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/c/f9/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4-bg12b.png)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
295
39
IEEE 802.1Q VLAN COMMANDS
Along with normal VLAN configurations, this Switch now incorporate Double VLANs. Better known as Q-IN-Q VLANs,
Double VLANs allow network providers to expand their VLAN configurations to place VLANs within a larger inclusive
VLAN, which adds a new layer to the VLAN configuration. This basically lets large ISP's create L2 Virtual Private
Networks and also create transparent LANs for their customers, which will connect two or more customer LAN points
without over complicating configurations on the client's side. Not only will over-complication be avoided, but now the
administrator has over 4000 VLANs in which over 4000 VLANs can be placed, therefore greatly expanding the VLAN
network.
Implementation of this feature adds a VLAN frame to an existing VLAN frame for the ISP VLAN recognition and
classification. To ensure devices notice this added VLAN frame, an Ethernet encapsulation, here known as a tpid, is also
added to the frame. The device recognizes this tpid and therefore checks the VLAN tagged packet to see if a provider
VLAN tag has been added. If so, the packet is then routed through this provider VLAN, which contains smaller VLANs
with similar configurations to ensure speedy and guaranteed routing destination of the packet.
The IEEE 802.1Q VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameters
create vlan <vlan_name 32> {tag <vlanid 2-4094> | type 1q_vlan | advertisement}
delete vlan <vlan_name 32>
config vlan <vlan_name 32> {[add [tagged | untagged | forbidden] | delete] <portlist> |
advertisement [enable | disable]}
config vlan <vlan_name 32> delete <portlist>
config gvrp [<portlist> | all] {state [enable | disable] | ingress_checking [enable | disable] |
acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1-4094>}
enable gvrp
disable gvrp
show vlan {[<vlan_name 32> | vlanid <vidlist>] | ports <portlist>}
show gvrp {<portlist>}
enable double_vlan
disable double_vlan
create double_vlan <vlan_name 32> spvid <vlanid 1-4094> {tpid <hex 0x0-0xffff>}
config double_vlan <vlan_name> {[[add [access | uplink] | delete] <portlist> | tpid <hex 0x0-0xffff>]}
delete double_vlan <vlan_name>
show double_vlan {<vlan_name>}
enable pvid auto_assign
disable pvid auto_assign
show pvid auto_assign
Each command is listed, in detail, in the following sections.