xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
302
To create a Double VLAN on the Switch
DGS-3627:admin#
create double_vlan RG spvid 2 tpid 0x9100
Command: create double_vlan RG spvid 2 tpid 0x9100
Success.
DGS-3627:admin#
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 beginning and end of
the port list range are separated by a dash. Non-contiguous portlist entries are
separated by a comma. (ex: 1-3,7-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 beginning and end
of the port list range are separated by a dash. Non-contiguous portlist entries are
separated by a comma. (ex: 1-3,7-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 and Operator-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 “RG”:
DGS-3627:admin# config double_vlan RG add access 1:4-1:8
Command: config double_vlan RG add access 1:4-1:8
Success.
DGS-3627:admin#
Example usage:
To delete ports 4 through 8 on the Double VLAN “RG”: