D-Link DGS-3600 User Manual

Page of 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: