DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
89
packet_content_mask {offset_chunk_1 <value 0-31> <hex 0x0-0xffffffff> | offset_chunk_2
<value 0-31> <hex 0x0-0xffffffff> | offset_chunk_3 <value 0-31> <hex 0x0-0xffffffff> |
offset_chunk_4 <value 0-31> <hex 0x0-0xffffffff>}(1) | ipv6 {[{class | flowlabel | [tcp
{src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff>} | udp {src_port_mask
<hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff>}]} | source_ipv6_mask <ipv6mask> |
destination_ipv6_mask <ipv6mask>]}(1)]
Parameters
profile_id
- Specifies the index of the access list profile.
<value 1-12>
- Specifies the profile ID between 1 and 12.
profile_name
- Specifies a profile name.
<name 1-32>
- The maximum length is 32 characters.
ethernet
- Specifies an Ethernet access control list rule.
vlan
- Specifies a VLAN mask. Only the last 12 bits of the mask will be considered.
<hex 0x0-0x0fff>
- (Optional) Specifies a VLAN mask.
source_mac
- Specifies the source MAC mask.
<macmask>
- Specifies the source MAC mask.
destination_mac
- Specifies the destination MAC mask.
<macmask>
- Specifies the destination MAC mask.
802.1p
- Speciy the 802.1p priority tag mask.
ethernet_type
- Specifies the Ethernet type.
ip
- Specifies an IP access control list rule.
vlan
- Specifies a VLAN mask. Only the last 12 bits of the mask will be considered.
<hex 0x0-0x0fff>
- (Optional) Specifies a VLAN mask.
source_ip_mask
- Specifies an IP source submask.
<netmask>
- Specifies an IP source submask.
destination_ip_mask
- Specifies an IP destination submask.
<netmask>
- Specifies an IP destination submask.
dscp
- Specifies the DSCP mask.
icmp
- Specifies that the rule applies to ICMP traffic.
type
- (Optional) Specifies the ICMP packet type.
code
- (Optional) Specifies the ICMP code.
igmp
- Specifies that the rule applies to IGMP traffic.
type
- (Optional) Specifies the IGMP packet type.
tcp
- Specifies that the rule applies to TCP traffic.
src_port_mask
- (Optional) Specifies the TCP source port mask.
<hex 0x0-0xffff>
- Specifies the TCP source port mask.
dst_port_mask
- (Optional) Specifies the TCP destination port mask.
<hex 0x0-0xffff>
- Specifies the TCP destination port mask.
flag_mask
- (Optional) Specifies the TCP flag field mask.
all
– (Optional) Specifies to check all paramenters below.
urg
- (Optional) Specifies Urgent Pointer field significant.
ack
- (Optional) Specifies Acknowledgment field significant.
psh
- (Optional) Specifies Push Function.
rst
- (Optional) Specifies to reset the connection.
syn
- (Optional) Specifies to synchronize sequence numbers.
fin
- (Optional) No more data from sender.
udp
- Specifies that the rule applies to UDP traffic.
src_port_mask
- (Optional) Specifies the UDP source port mask.
<hex 0x0-0xffff>
- Specifies the UDP source port mask.
dst_port_mask
- (Optional) Specifies the UDP destination port mask.
<hex 0x0-0xffff>
- Specifies the UDP destination port mask.
protocol_id_mask
- Specifies that the rule applies to the IP protocol ID traffic.
<hex 0x0-0xff>
- Specifies that the rule applies to the IP protocol ID traffic.
user_define_mask
- (Optional) Specifies the L4 part mask.
<hex 0x0-0xffffffff>
- Specifies the L4 part mask.
packet_content
- Specifies the packet content for the user defined mask.