xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
273
create vlan_translation ports
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-3450:admin# create vlan_translation ports 1 cvid 20 replace svid 200
Command: create vlan_translation ports 1 cvid 20 replace svid 200
Success.
DGS-3450:admin#
To Add S-Tag, S-VID is 300, to a packet which CVID is 30 at UNI Port 1:
DGS-3450:admin# create vlan_translation ports 1 cvid 30 add svid 300
Command: create vlan_translation ports 1 cvid 30 add svid 300
Success.
DGS-3450:admin#