A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
119
16
VLAN COMMANDS
Along with normal VLAN configurations, this Switch now incorporate Q-in-Q VLANs. Also known as Double VLANs, Q-in-Q
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 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]} (1)
config gvrp [<portlist> | all] {state [enable | disable] | ingress_checking [enable | disable] |
acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1–4094>} (1)
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>} (1)
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.