xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
694
DGS-3420-28SC:admin#
To add S-tag with SVID 300 and 802.1p priority 5, if incoming packet with CVID 30:
DGS-3420-28SC: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-3420-28SC:admin#
70-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> - Specify the ports to be deleted.
all - Specify to delete all ports.
cvid - (Optional) Specify to delete the rules for the specified CVIDs. If the CVID is not specified,
all rules configured for the port will be deleted.
<vidlist> - Specify a range of VLAN IDs.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To delete a VLAN translation rule on ports 1 to 4:
DGS-3420-28SC:admin#delete vlan_translation ports 1-4
Command: delete vlan_translation ports 1-4
Success.
DGS-3420-28SC:admin#
70-10 show vlan_translation
Description
This command is used to display existing C-VLAN based VLAN translation rules.