D-Link xStack DGS-3420 Series Reference Manual page 825

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
by adding or replacing according the configured rule. The S-VLAN Tag of egress packets at this port
will be recovered to C-VLAN Tag or stripped.
Format
create vlan_translation ports [<portlist> | all] [add cvid <vidlist> | replace cvid <vlanid 1-4094>]
svid <vlanid 1-4094> {priority <priority 0-7>}
Parameters
<portlist> - Specify a range of ports on which the C-VLAN will be translated to S-VLAN.
all - Specify to configure all ports.
add cvid - Specify to add a S-tag before C-tag for incoming packets with a specific CVID.
<vidlist> - Specify the CVID (or list) to be matched for incoming packets.
replace cvid - Specify to replace the original C-tag to a new S-tag for incoming packets with a
specific CVID.
<vlanid 1-4094> - Specify the CVID to be matched for incoming packets.
svid - Specify the SVID of the S-tag to be added or replaced to the packets.
<vlanid 1-4094> - Specify the SVID between 1 and 4094.
priority - (Optional) Specify a 802.1p priority of the S-Tag between 0 and 7. If the priority is NOT
specified, 802.1p priority of S-Tag will be assigned by the priority in C-tag.
<priority 0-7> - Specify a 802.1p priority of the S-Tag between 0 and 7.
Restrictions
Only Administrator, Operator and Power-User 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-3420-28SC:admin#create vlan_translation ports 1 replace cvid 20 svid 200
Command: create vlan_translation ports 1 replace cvid 20 svid 200
Success.
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#
820

Advertisement

Table of Contents
loading

Table of Contents