
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
367
49
Q-
IN
-Q
C
OMMANDS
The Q-in-Q 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] | tpid <hex 0x1 -
0xffff>]} (1)
show qinq port
{<portlist>}
create vlan_translation ports
[<portlist> | all ] cvid <vidlist> [add| replace] svid <vlanid 1-4094> {priority <value
0-7>}
delete vlan_translation ports
[<portlist> | all] {cvid <vidlist>}
show vlan_translation
{ports <portlist> | cvid <vidlist>] }
Each command is listed, in detail, in the following sections.
enable qinq
Purpose
Used to enable Q-in-Q mode.
Syntax
enable qinq
Description
This command is used to enable the Q-in-Q mode.
When enable Q-in-Q, all network port roles will be NNI port and their outer TPID will be
set to 88a8. All existed static VLAN will run as SP-VLAN. All dynamically learned L2
address will be cleared. All dynamically registered VLAN entries will be cleared, GVRP
will be disabled.
If you need to run GVRP on the switch, you shall enable GVRP manually. In Q-in-Q
mode, SP-VLAN GVRP Address (01-80-C2-00-00-0D) will be used by GVRP protocol.
The default setting of Q-in-Q is disabled
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable Q-in-Q:
D G S – 3 4 2 6 : 5 # e n a b l e q i n q
C o m m a n d : e n a b l e q i n q
S u c c e s s .
D G S – 3 4 2 6 : 5 #