D-Link xstack DGS-3620 series Reference Manual page 1070

Layer 3 managed stackable gigabit switch
Hide thumbs Also See for xstack DGS-3620 series:
Table of Contents

Advertisement

xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
Example
To create a VLAN translation profile:
DGS-3620-28PC:admin#create vlan_translation_profile 2
Command: create vlan_translation_profile 2
Success.
DGS-3620-28PC:admin#
92-12 config vlan_translation_profile
Description
This command is used to create a flow-based QinQ translation rule of a profile.
Format
config vlan_translation_profile <profile_id> add rule_id {<rule_id>} [add svid <vlanid 1-
4094> {priority <priority 0-7>} classify {source_mac <macaddr> {sa_mask <macmask>} |
destination_mac <macaddr> {da_mask <macmask>} | source_ipv4 <ipaddr> {sip_mask
<netmask>} | destination_ipv4 <ipaddr> {dip_mask <netmask>} | outer_vid <vidlist> | 802.1p
<priority 0-7> | ip_protocol <value 0-255> | l4_src_port <value 1-65535> | l4_dest_port
<value 1-65535>} | replace svid <vlanid 1-4094> {priority <priority 0-7>} classify outer_vid
<vlanid 1-4094> {source_mac <macaddr> {sa_mask <macmask>} | destination_mac
<macaddr> {da_mask <macmask>} | source_ipv4 <ipaddr> {sip_mask <netmask>} |
destination_ipv4 <ipaddr> {dip_mask <netmask>} | 802.1p <priority 0-7> | ip_protocol
<value 0-255> | l4_src_port <value 1-65535> | l4_dest_port <value 1-65535>}]
Parameters
<profile_id> - Specifies the profile ID number to be configured.
add - Specifies to add a tag for the assigned S-VLAN before the Outer-VLAN tag. If there is an S-
TAG in the packet, this rule will not take effect.
rule_id - Specifies the rule ID to be added to the profile. If the rule ID is not specified, it will be
assigned automatically.
<rule_id> - Enter the rule ID used here.
add - Specifies to add a tag for the assigned S-VLAN before the Outer-VLAN tag. If there is an S-
TAG in the packet, this rule will not take effect.
svid - Specifies the S-VLAN ID to be assigned to the matched packet.
<vlanid 1-4094> - Enter the S-VLAN ID used here. This value must be between 1 and 4094.
priority - Specifies to assign the 802.1p priority of the S-Tag. If the priority is not specified, the
802.1p priority of S-Tag will be assigned by the default procedure.
<priority 0-7> - Enter the 802.1p priority value here. This value must be between 0 and 7.
classify - Specifies the classification.
source_mac - Specifies the source MAC address or MAC address range for the match.
<macaddr> - Enter the source MAC address or range here.
sa_mask - Specifies the source MAC address mask.
<macmask> - Enter the source MAC address mask here.
destination_mac - Specifies the destination MAC address or MAC address range for the match.
<macaddr> - Enter the destination MAC address or range here.
da_mask - Specifies the destination MAC address mask.
<macmask> - Enter the destination MAc address mask here.
source_ipv4 - Specifies the source IPv4 address or IPv4 subnet for the match.
<ipaddr> - Enter the source IPv4 address or subnet here.
1065

Advertisement

Table of Contents
loading

Table of Contents