A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
370
DGS–3426:4#show qinq port 1:1-1:4
Commands: show qinq ports 1:1-1:4
Port Role Miss Drop TPID
----- ------ --------- ------
1:1 UNI Enabled 0x88A8
1:2 UNI Enabled 0x88A8
1:3 UNI Enabled 0x88A8
1:4 NNI Disabled 0x88A8
DGS–3426:
create vlan_translation ports
Purpose Create a VLAN translation rule.
Syntax
create vlan_translation ports [<portlist> | all ] cvid <vidlist> [add| replace] 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.
This configuration is only effective for an UNI port.
This setting will not be effective when Q-in-Q mode is disabled.
Note that the project has the option to implement either the Q-in-Q profile command set
or the vlan translation command set. If the project is required to implement the enhanced
set of classification method in addition to vlan classification, then Q-in-Q profile command
is needed. Otherwise, the vlan translation command set is sufficient.
Parameters
<portlist> A range of ports on which the SP-VLAN will be translated to C-VLAN.
cvid C-VLAN ID to match.
add The action indicates to add a tag for the assigned SP-VLAN before the C-VLAN
tag.
replace The action indicates to replace the C-VLAN tag with the SP VLAN
svid SP-VLAN ID.
priority The priority of the s-tag.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage
To create a VLAN translation rule which assign to add SP-VALN 100 to C-VLAN 1-10 on ports 1-4 and the priority is 4:
DGS–3426:5#create vlan_translation ports 1-4 cvid 10 add svid 100 priority 4
Command: create vlan_translation ports 1-4 cvid 10 add svid 100 priority 4
Success.
DGS–3426:5#