DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
286
34
Q-IN-Q COMMANDS
The Link Aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameter
enable qinq
disable qinq
show qinq
{ports [<portlist> | inner_tpid]}
config qinq ports
[<portlist> | all] [role [nni | uni] | outer_tpid <hex 0x1 - 0xffff> | add_inner_tag <hex
0x1-0xffff> | missdrop [enable | disable]]
config qinq inner_tpid
<hex 0x1-0xffff>
create vlan_translation
ports <portlist> [add | replace] cvid <vidlist> svid <vlanid 1-4094> {priority
<priority 0-7>}
show vlan_translation
{cvid <vidlist>}
delete vlan_translation
ports [<portlist> | all] {cvid [<vidlist> | all]}
Each command is listed in detail, as follows:
enable qinq
Purpose
To enable the Q-in-Q mode.
Syntax
enable qinq
Description
The
enable qinq
command creates a used to enable the Q-in-Q
mode.
When Q-in-Q is enabled, all network port roles will be NNI port and
their outer TPID will be set to 88a8. All existing static VLANs will run
as SP-VLAN. All dynamically learned L2 address will be cleared.
GVRP and STP need to be disabled manually.
If you need to run GVRP on the Switch, firstly enable GVRP
manually. The default setting of Q-in-Q is disabled.
Parameters
None.
Restrictions
Only administrator or operator-level users can issue this command.
Example usage:
To enable Q-in-Q:
DGS-1210-28MP/ME:5# enable qinq
Command: enable qinq
Success.
DGS-1210-28MP/ME:5#