![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/c/f9/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4-bg139.png)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
309
DGS-3627:admin# show vlan_translation
Commands: show vlan_translation
Port CVID SVID Action Priority
------ ----- ----- ------ --------
1 10 100 Add 4
1 20 100 Add 5
1 30 200 Add 6
2 10 100 Add 7
2 20 100 Add 1
Total Entries: 5
create vlan_translation ports
Purpose Use this command to create the CVID VLAN translation rules.
Syntax
create vlan_translation ports [<portlist> | all ] cvid <vidlist> [add | replace] svid <vlanid
1-4094> {priority <value 0-7>}
Description Use this command to create the CVID VLAN translation rules.
Parameters
portlist - A range of ports on which the S-VLAN will be translated to C-VLAN
add - The action indicates to add a tag for the assigned S-VLAN before the C-VLAN tag.
replace - The action indicates to replace the C-VLAN tag with the SP VLAN.
cvid - Specify the C-VLAN ID to match.
svid - Specify the S-VLAN ID.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To replace C-Tag which CVID is 20 by S-Tag, S-VID is 200, at UNI Port 1:
DGS-3627:admin# create vlan_translation ports 1 replace cvid 20 svid 200
Command: create vlan_translation ports 1 replace cvid 20 svid 200
Success.
To Add S-Tag, S-VID is 300, to a packet which CVID is 30 at UNI Port 1:
DGS-3627:admin# create vlan_translation ports 1 add cvid 30 svid 300
Command: create vlan_translation ports 1 add cvid 30 svid 300
Success.