![D-Link DGS-3700 Series Скачать руководство пользователя страница 287](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575287.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 287
DGS-3700-12:5# create vlan_translation ports 1-4 add cvid 10 svid 100 priority 4
Command: create vlan_translation ports 1-4 add cvid 10 svid 100 priority 4
Success.
DGS-3700-12:5#
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 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 vlan translation rule on ports 1-4:
DGS-3700-12:5# delete vlan_translation ports 1-4
Command: delete vlan_translation ports 1-4
Success.
DGS-3700-12: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> | hardware] }
Description
The command 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.
hardware
– If this is specified, the hardware VLAN translation entries will be
displayed.
Restrictions
None.
Example usage:
To show vlan_translation rules in the system: