Page 306 / 757 Scroll up to view Page 301 - 305
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”:
Page 307 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
303
DGS-3627:admin# config double_vlan Drazen delete 1:4-1:8
Command: config double_vlan Drazen delete 1:4-1:8
Success.
DGS-3627:admin#
show double_vlan
Purpose
Used to display the Double VLAN settings on the Switch.
Syntax
show double_vlan {<vlan_name>}
Description
This command will display the current double VLAN parameters configured on the Switch.
Parameters
vlan_name
Enter the name of a previously created VLAN for which to display the settings.
Restrictions
None.
Example usage:
To display parameters for the Double VLAN “RG”:
DGS-3627:admin# show double_vlan RG
Command: show double_vlan RG
Global Double VLAN : Enabled
====================================================
SPVID
: 2
VLAN Name
: RG
TPID
: 0x9100
Uplink Ports :
Access Ports : 1:4-1:8
Unknow Ports :
----------------------------------------------------
Total Entries : 1
DGS-3627:admin#
enable pvid auto_assign
Purpose
Used to enable auto assignment of PVID.
Syntax
enable pvid auto_assign
Description
If “Auto-assign PVID” is enabled, PVID will be possibly changed by PVID or VLAN
configuration. When a user configures a port to VLAN
X
’s untagged membership, this
port’s PVID will be updated with VLAN X. In the form of VLAN list command, PVID is
updated with the last item of the VLAN list. When a user removes a port from the
untagged membership of the PVID’s VLAN, the port’s PVID will be assigned with
“default VLAN”. The default setting is enabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the auto-assign PVID:
Page 308 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
304
DGS-3627:admin# enable pvid auto_assign
Command: enable pvid auto_assign
Success.
DGS-3627:admin#
disable pvid auto_assign
Purpose
Used to disable auto assignment of PVID.
Syntax
disable pvid auto_assign
Description
If “auto-assign PVID” is disabled, PVID can only be changed by PVID configuration (user
changes explicitly). The VLAN configuration will not automatically change PVID. The default
setting is enabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the auto-assign PVID:
DGS-3627:admin# disable pvid auto_assign
Command: disable pvid auto_assign
Success.
DGS-3627:admin#
show pvid auto_assign
Purpose
Used to display the PVID auto-assign status.
Syntax
show pvid auto_assign
Description
The
show pvid auto_assign
command displays the PVID auto assignment state.
Parameters
None.
Restrictions
None.
Example usage:
To display the PVID auto assignment state:
DGS-3627:admin# show pvid auto_assign
Command: show pvid auto_assign
PVID Auto-assignment:
Enabled
DGS-3627:admin#
Page 309 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
305
40
IEEE 802.1QINQ COMMANDS
QinQ, also known as VLAN stacking, is a powerful, yet simple and cost-effective solution that allows Service Providers to
offer IP-based Services, including Metro-Ethernet in scalable implementations. QinQ can also be used to provide multiple
virtual connections and access to multiple services available over the Metro (ISPs, ASPs, storage services, etc.)
The IEEE 802.1QinQ commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command
Parameters
enable qinq
disable qinq
show qinq
config qinq ports
[<portlist> | all] {role [nni | uni] | missdrop [enable | disable] | [outer_ tpid |
tpid]<hex 0x1 - 0xffff> | use_inner_priority [enable | disable]}(1)
show qinq ports
{<portlist>}
delete vlan_translation ports
[<portlist> | all ] { cvid <vidlist>}
show vlan_translation
{[ports <portlist>}
create vlan_translation ports
[<portlist> | all ] cvid <vidlist> [add | replace] svid <vlanid 1-4094> {priority
<value 0-7>}
Each command is listed, in detail, in the following sections.
enable qinq
Purpose
Used to enable QinQ.
Syntax
enable qinq
Description
When QinQ is enabled, all network port roles will be NNI port and outer TPID will be set to
0x88A8; All existed static VLAN will run as S-VLAN; All dynamic learned L2 address will be
cleared; All dynamic registered VLAN entries will be cleared, and GVRP will be disabled.
If need to run GVRP on the switch, administrator should enable GVRP manually. In QinQ
mode, GVRP protocol will employ reserve address 01-80-C2-00-00-0D.
The default setting of QinQ is disabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable qinq:
Page 310 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
306
DGS-3627:admin#enable qinq
Command: enable qinq
Success.
DGS-3627:admin#
disable qinq
Purpose
Used to disable the QinQ.
Syntax
disable qinq
Description
When QinQ is disabled, all dynamic learned L2 address will be cleared, all dynamic
registered VLAN entries will be cleared, and GVRP will be disabled.
If need to run GVRP on the switch, administrator should enable GVRP manually.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable qinq:
DGS-3627:admin# disable qinq
Command: disable qinq
Success.
DGS-3627:admin#
show qinq
Purpose
Used to show global QinQ status.
Syntax
show qinq
Description
Use this command to display the global QinQ status.
Parameters
None.
Restrictions
None.
Example usage:
To show qinq:
DGS-3627:admin#
show qinq
Command: show qinq
QinQ Status: Enable
Success.
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top