DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
560
DGS-3710-12C: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
DGS-3710-12C:admin#
54-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 the Q-in-Q mode is disabled. This configuration is only effective
for a UNI port. At the UNI port, the ingress C-VLAN tagged packets will be translated to S-VLAN
tagged packets by adding or replacing according the configured rule. The S-VLAN Tag of egress
packets at this port will be recovered to C-VLAN Tag or stripped.
Format
create vlan_translation ports [<portlist> | all] [add cvid <vidlist> | replace cvid <vlanid 1-
4094>] svid <vlanid 1-4094> {priority <value 0-7>}
Parameters
<portlist>
- Specifies a range of ports on which the C-VLAN will be translated to S-VLAN.
all
- Specifies to configure all ports.
add cvid
- Specifies to add a S-tag before C-tag for incoming packets with a specific CVID.
<vidlist>
- Specifies the CVID (or list) to be matched for incoming packets.
replace cvid
- Specifies to replace the original C-tag to a new S-tag for incoming packets with a
specific CVID.
<vlanid 1-4094>
- Specifies the CVID to be matched for incoming packets.
svid
- Specifies the SVID of the S-tag to be added or replaced to the packets.
<vlanid 1-4094>
- Specifies the SVID between 1 and 4094.
priority
- (Optional) Specifies 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 the priority in C-tag.
<value 0-7>
- Specifies a 802.1p priority of the S-Tag between 0 and 7.