xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
367
49
Q-IN-Q COMMANDS
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:
DGS–3426:5#enable qinq
Command: enable qinq
Success.
DGS–3426:5#