xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1061
Example
To display the Q-in-Q mode for ports 1 to 2:
DGS-3620-28PC:admin#show qinq ports 1-2
Command: show qinq ports 1-2
Port ID: 1
---------------------------------------------------------
Role: NNI
Miss Drop: Disabled
Outer Tpid: 0x8100
Use Inner Priority: Disabled
Add Inner Tag: Disabled
Port ID: 2
---------------------------------------------------------
Role: NNI
Miss Drop: Disabled
Outer Tpid: 0x8100
Use Inner Priority: Disabled
Add Inner Tag: Disabled
92-8 create vlan_translation ports
Description
This command is used to create translation relationships between C-VLAN and S-VLAN. This
setting will not be effective when QinQ mode is disabled.
The UNI port role support two types of VLAN translation :
1:1 VLAN translation that matches the customer VLAN ID and replaces the customer VLAN
ID with the service-provider VLAN ID.
VLAN translation add rule that matches the customer VLAN ID list and add the specified
service-provider VLAN ID.
The NNI port role supports three types of VLAN translation :
1:1 VLAN translation that matches the outer VLAN ID and replaces the original outer VLAN
ID with new outer VLAN ID.
2:1 VLAN translation that matches the outer VLAN ID and inner VLAN ID, and replaces the
original outer VLAN ID with new outer VLAN ID.
2:2 VLAN translation that matches the outer VLAN ID and inner VLAN ID, and replaces the
original outer VLAN ID and inner VLAN ID with new outer VLAN ID and inner VLAN ID.
The 1:1 VLAN translation rule can take effect on both UNI and NNI port roles. When the port role is
changed, the 1:1 VLAN translation rule will be changed to work according to the current port role.
At UNI port, the ingress C-VLAN tagged packets will be translated to S-VLAN tagged packets by
adding or replacing according to the configured rule, S-VLAN Tag of egress packets at this port will
be recovered to C-VLAN Tag or be striped.