DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
561
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To replace the C-tag by the S-tag with SVID 200 and priority in C-tag, if the incoming packet with
CVID 20:
DGS-3710-12C:admin#create vlan_translation ports 1 replace cvid 20 svid 200
Command: create vlan_translation ports 1 replace cvid 20 svid 200
Success.
DGS-3710-12C:admin#
To add S-tag with SVID 300 and 802.1p priority 5, if incoming packet with CVID 30:
DGS-3710-12C:admin#create vlan_translation ports 1 add cvid 30 svid 300
priority 5
Command: create vlan_translation ports 1 add cvid 30 svid 300 priority 5
Success.
DGS-3710-12C:admin#
54-9
delete vlan_translation ports
Description
This command is used to delete translation relationships between C-VLAN and S-VLAN.
Format
delete vlan_translation ports [<portlist> | all] {cvid <vidlist>}
Parameters
<portlist>
- Specifies the ports to be deleted.
all
- Specifies to delete all ports.
cvid
- (Optional) Specifies to delete the rules for the specified CVIDs. If the CVID is not specified,
all rules configured for the port will be deleted.
<vidlist>
- Specifies a range of VLAN IDs.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To delete a VLAN translation rule on ports 1 to 4: