xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1003
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.
sip_mask - Specifies the source IPv4 address mask used.
<netmask> - Enter the source IPv4 address mask used here.
destination_ipv4 - Specifies the destination IPv4 address or IPv4 subnet for the match.
<ipaddr> - Enter the destination IPv4 address or subnet here.
dip_mask - Specifies the destination IPv4 address mask used.
<netmask> - Enter the destination IPv4 address mask used here.
802.1p - Specifies the packet’s 802.1p priority for the match.
<priority 0-7> - Enter the packet's 802.1p priority value used here. This value must be
ip_protocol - Specifies that the IP protocol will be used.
<value 0-255> - Enter the IP protocol value used here. This value must be between 0 and
l4_src_port - Specifies the Layer 4 source port ID for the match.
<value 1-65535> - Enter the Layer 4 source port ID used here. This value must be between 1
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
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-3620-28SC:admin#create vlan_translation_profile 2
Command: create vlan_translation_profile 2
Success.
DGS-3620-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.
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-3620-28SC:admin#create vlan_translation_profile 3
Command: create vlan_translation_profile 3