D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
120
15
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 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] <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>}
Each command is listed, in detail, in the following sections.
create vlan
Purpose Used to create a VLAN on the Switch.
Syntax create vlan <vlan_name 32> {tag <vlanid 2-4094> | type 1q_vlan |
advertisement}
Description This command allows the creation of a VLAN on the Switch.
Parameters
<vlan_name 32> The name of the VLAN to be created.
tag <vlanid 2-4094> The VLAN ID of the VLAN to be created. Allowed values
= 2-4094
type – This parameter uses the type field of the packet header to determine