DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
679
DGS-3000-26TC:admin#show qinq ports 1-2
Command: show qinq ports 1-2
Port ID: 1
---------------------------------------------------------
Role: NNI
Miss Drop: Disabled
Outer Tpid: 0x8100
Add Inner Tag: Disabled
Port ID: 2
---------------------------------------------------------
Role: NNI
Miss Drop: Disabled
Outer Tpid: 0x8100
Add Inner Tag: Disabled
create vlan_translation ports 68-8
Description
This command is used to create a VLAN translation rule. This setting will not be effective when the
QinQ mode is disabled.
This configuration is only effective for a UNI port. At 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 <priority 0-7>}
Parameters
<portlist> - Enter the list of ports to be configured here.
all - Specify that all the ports will be used for the configuration.
add - Specify to add an S-Tag to the packet.
cvid - Specify the customer VLAN ID used.
<vidlist> - Enter the customer VLAN ID used here.
replace - Specify to replace the C-Tag with the S-Tag.
cvid - Specify the customer VLAN ID used.
<vlanid 1-4094> - Enter the customer VLAN ID used here.
svid - Specify the service provider VLAN ID used.
<vlanid 1-4094> - Enter the service provider VLAN ID used here.
priority - (Optional) Specify to assign an 802.1p priority to the S-Tag. If the priority is not
specified, the priority of the ports will be set to S-TAG by default.
<priority 0-7> - Enter the 802.1p S-Tag priority value here. This value must be between 0 and