![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg177.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
371
delete vlan_translation ports
Purpose Used to delete pre-created VLAN translation rules.
Syntax
delete vlan_translation ports [<portlist> | all] {cvid <vidlist>}
Description The command is used to delete pre-created VLAN translation rules.
Parameters
ports − A range of ports which the rule will be deleted.
cvid − Specify C-VLAN range which the rules will be deleted. If no specify the parameter,
all rules on the specified ports will be deleted.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage
To delete a VLAN translation rule on ports 1-4:
DGS–3426:5#delete vlan_translation ports 1-4
Command: delete vlan_translation ports 1-4
Success.
DGS–3426:5#
show vlan_translation
Purpose Used to show pre-created C-VLAN based SP-VLAN assignment rules.
Syntax
show vlan_translation {ports <portlist> | cvid <vidlist>]}
Description The command is used to show pre-created C-VLAN based SP-VLAN assignment rules.
Parameters
ports − A range of ports which the rules will be displayed.
cvid − Specify C-VLAN range which the rules will be displayed. If no specify the
parameter, all rules on the specified ports will be displayed.
If no parameters specified, all rules will be displayed.
Restrictions None.
Example usage
To show VLAN translation rules in the system:
DGS–3426:5#show vlan_translation
Commands: show vlan_translation
Port CVID SPVID 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
DGS–3426:5#