D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
128
config double_vlan
Purpose Used to config the parameters for a previously created Double VLAN
on the Switch.
Syntax
config double_vlan <vlan_name> {[[add [access | uplink] |
delete] <portlist> | tpid <hex 0x0-0xffff>]}
Description This command is used to configure a Double VLAN (service provider
VLAN) on the Switch.
Parameters vlan <vlan_name 32> - The name of the Double VLAN to be
configured. The user is to enter an alphanumeric string of up to 32
characters to identify this VLAN.
add – Specify this parameter to add ports configured in the <portlist>
as one of the two following types of ports.
uplink – Add this parameter to configure these ports as
uplink ports. Uplink ports are for connecting Switch VLANs
to the Provider VLANs on a remote source. Only gigabit
ports can be configured as uplink ports.
access - Add this parameter to configure these ports as
access ports. Access ports are for connecting Switch
VLANs to customer VLANs.
portlist – Enter a list of ports to be added to this VLAN.
The port list is specified by listing the lowest switch number
and the beginning port number on that switch, separated
by a colon. Then the highest switch number, and the
highest port number of the range (also separated by a
colon) are specified. The beginning and end of the port list
range are separated by a dash. For example, 1:3 specifies
switch number 1, port 3. 2:4 specifies switch number 2,
port 4. 1:3-2:4 specifies all of the ports between switch 1,
port 3 and switch 2, port 4 in numerical order. Non-
contiguous portlist entries are separated by a comma. (ex:
1:1-1:3,1:7-1:9)
delete - Specify this parameter to delete ports configured in the
<portlist> from this VLAN.
portlist – Enter a list of ports to be deleted from this VLAN.
The port list is specified by listing the lowest switch number
and the beginning port number on that switch, separated
by a colon. Then the highest switch number, and the
highest port number of the range (also separated by a
colon) are specified. The beginning and end of the port list
range are separated by a dash. For example, 1:3 specifies
switch number 1, port 3. 2:4 specifies switch number 2,
port 4. 1:3-2:4 specifies all of the ports between switch 1,
port 3 and switch 2, port 4 in numerical order. Non-
contiguous portlist entries are separated by a comma. (ex:
1:1-1:3,1:7-1:9)
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-level users can issue this command.
Users must have the Switch enabled for Double VLANs.
Example usage:
To add ports 4 through 8 as access ports to the Double VLAN Trinity: