D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
81
packet_content_mask - A maximum of six offsets can be specified. Each offset defines one byte
of data which is identified as a single UDF field. The offset reference is also configurable. It
can be defined to start at the end of the tag, the end of the Ethernet type, or the end of the IP
header.
offset_chunk_1 - Specifies the offset chunk 1 that allows users to examine the specified
offset_chunks within a packet at one time and specifies the frame content offset and mask.
<value 0-31> - Enter the offset chunk 1 value here. This value must be between 0 and 31.
<hex 0x0-0xffffffff> - Enter the offset chunk 1 mask value here.
offset_chunk_2 - Specifies the offset chunk 2 that allows users to examine the specified
offset_chunks within a packet at one time and specifies the frame content offset and mask.
<value 0-31> - Enter the offset chunk 2 value here. This value must be between 0 and 31.
<hex 0x0-0xffffffff> - Enter the offset chunk 2 mask value here.
offset_chunk_3 - Specifies the offset chunk 3 that allows users to examine the specified
offset_chunks within a packet at one time and specifies the frame content offset and mask.
<value 0-31> - Enter the offset chunk 3 value here. This value must be between 0 and 31.
<hex 0x0-0xffffffff> - Enter the offset chunk 3 mask value here.
offset_chunk_4 - Specifies the offset chunk 4 that allows users to examine the specified
offset_chunks within a packet at one time and specifies the frame content offset and mask.
<value 0-31> - Enter the offset chunk 4 value here. This value must be between 0 and 31.
<hex 0x0-0xffffffff> - Enter the offset chunk 4 mask value here.
ipv6 - Specify the IPv6 filtering mask.
class - Specify the IPv6 class mask.
flowlabel - Specify the IPv6 flow label mask.
source_ipv6_mask - Specify the IPv6 source IP mask.
<ipv6mask> - Specify the IPv6 source IP mask.
destination_ipv6_mask - Specify the IPv6 destination IP mask.
<ipv6mask> - Specify the IPv6 destination IP mask.
tcp - Specify that the rule applies to TCP traffic.
src_port_mask - (Optional) Specify the TCP source port mask.
<hex 0x0-0xffff> - Specify the TCP source port mask.
dst_port_mask - (Optional) Specify the TCP destination port mask.
<hex 0x0-0xffff> - Specify the TCP destination port mask.
udp - Specify that the rule applies to UDP traffic.
src_port_mask - (Optional) Specify the TCP source port mask.
<hex 0x0-0xffff> - Specify the TCP source port mask.
dst_port_mask - (Optional) Specify the TCP destination port mask.
<hex 0x0-0xffff> - Specify the TCP destination port mask.
icmp - Specify that the rule applies to ICMP traffic.
type - (Optional) Specify the ICMP packet type.
code - (Optional) Specify the ICMP code.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create access list profiles:
DGS-3420-28SC:admin#create access_profile profile_id 1 profile_name 1 ethernet
vlan source_mac FF-FF-FF-FF-FF-FF destination_mac 00-00-00-FF-FF-FF 802.1p
ethernet_type
Command: create access_profile profile_id 1 profile_name 1 ethernet vlan
source_mac FF-FF-FF-FF-FF-FF destination_mac 00-00-00-FF-FF-FF 802.1p
ethernet_type
Success.