![D-Link DGS-3700 Series Reference Manual Download Page 286](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575286.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 286
DGS-3700-12:5#show qinq ports
Command: show qinq ports
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
Port ID: 3
---------------------------------------------------------
Role: NNI
Miss Drop: Disabled
Outer Tpid: 0x8100
CTRL+C
ESC
q
Quit
SPACE
n
Next Page
ENTER
Next Entry
a
All
create vlan_translation ports
Purpose
create VLAN translation rule.
Syntax
create vlan_translation ports [<portlist> | all] [add cvid <vidlist> | replace cvid
<vlanid 1-4094>] svid <vlanid 1-4094> {priority <value 0-7>}
Description
This command is used to add translation relationship between C-VLAN and SP-
VLAN. On ingress at UNI port, the C-VLAN tagged packets will be translated to
SP-VLAN tagged packets by adding or replacing according the configured rule. On
egress at this port, the SP-VLAN tag will be recovered to C-VLAN tag or be
striped.
The priority will be the priority in the SP-VLAN tag if the use_inner_priority flag is
disabled for the receipt port.
This configuration is only effective for an UNI port.
This setting will not be effective when Q-in-Q mode is disabled.
Parameters
<portlist>
- Specify a range of ports on which the C-VLAN will be translated to S-
VLAN.
all
- Specify to configure all ports.
add cvid
- Specify to add a Customer VLAN ID.
replace cvid
- Specify to replace a Customer VLAN ID.
svid
- Specify a value for the Service provider VLAN ID between 1 and 4094.
priority
- Specify a 802.1p priority of the S-Tag between 0 and 7. If the priority is
NOT specified, 802.1p priority of S-Tag will be assigned by default procedure.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create vlan translation rule which assign to add SP-VALN 100 to C-VLAN 1-10 on ports 1-4 and
the priority is 4: