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

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
<value 1-65535> - Enter the Layer 4 source port ID used here. This value must be between 1
and 65535.
l4_dest_port - Specifies the Layer 4 destination port ID for the match.
<value 1-65535> - Enter the Layer 4 destination port ID used here. This value must be
between 1 and 65535.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create profile 2's rule 3, which assigns the S-VLAN 100 to the outer VIDs 1-1000 and adds the
assigned S-VLAN:
DGS-3420-28SC:admin#create vlan_translation_profile 2
Command: create vlan_translation_profile 2
Success.
DGS-3420-28SC:admin#config vlan_translation_profile 2 add rule_id 3 add svid
100 classify outer_vid 1-1000
Command: config vlan_translation_profile 2 add rule_id 3 add svid 100 classify
outer_vid 1-1000
Success.
DGS-3420-28SC:admin#
To add an S-Tag which the S-VID is 100 to the ingress packets of Port 3 if packet's C-VID is 10,
MAC_SA is 00:00:00:11:22:33, Ether-type is 0x8000, SIP is 10.10.10.10, Priority is 2, and port number
of IPv4 is 1813:
DGS-3420-28SC:admin#create vlan_translation_profile 3
Command: create vlan_translation_profile 3
Success.
DGS-3420-28SC:admin#config qinq ports 1:3 add vlan_translation_profile 3
Command: config qinq ports 1:3 add vlan_translation_profile 3
Success.
DGS-3420-28SC:admin#config vlan_translation_profile 3 add rule_id 4 add svid
100 classify source_mac 00-00-00-11-22-33 source_ipv4 10.10.10.10 802.1p 2
ip_protocol 0 l4_dest_port 1813 outer_vid 10
Command: config vlan_translation_profile 3 add rule_id 4 add svid 100 classify
source_mac 00-00-00-11-22-33 source_ipv4 10.10.10.10 802.1p 2 ip_protocol 0
l4_dest_port 1813 outer_vid 10
Success.
825

Advertisement

Table of Contents
loading

Table of Contents