DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
88
tcp
- (Optional) Specifies that the rule applies to TCP traffic.
src_port_mask
- Specifies the TCP source port mask.
<hex 0x0-0xffff>
- Enter the TCP source port mask here.
dst_port_mask
- Specifies the TCP destination port mask.
<hex 0x0-0xffff>
- Enter the TCP destination port mask here.
flag_mask
- (Optional) Specifies the TCP flag field mask.
all
– Specifies that all the flags will be used for the TCP mask.
urg
– Specifies that the TCP flag field will be set to ‘urg’.
ack
- Specifies that the TCP flag field will be set to ‘ack’.
psh
- Specifies that the TCP flag field will be set to ‘psh’.
rst
- Specifies that the TCP flag field will be set to ‘rst’.
syn
- Specifies that the TCP flag field will be set to ‘syn’.
fin
- Specifies that the TCP flag field will be set to ‘fin’.
udp
- (Optional) Specifies that the rule applies to UDP traffic.
src_port_mask
- Specifies the UDP source port mask.
<hex 0x0-0xffff>
- Enter the UDP source port mask here.
dst_port_mask
- Specifies the UDP destination port mask.
<hex 0x0-0xffff>
- Enter the UDP destination port mask here.
protocol_id_mask
- (Optional) Specifies that the rule applies to IP protocol ID traffic.
<0x0-0xff>
- Enter the protocol ID mask here.
user_define_mask
- (Optional) Specifies that the rule applies to the IP protocol ID, and that the
mask option behind the IP header length is 20 bytes.
<hex 0x0-0xffffffff>
- Enter a user-defined mask value here.
packet_content_mask
- Specifies the packet content mask. Only one packet_content_mask
profile can be created.
offset_chunk_1
- (Optional) Specifies that the offset chunk 1 will be used.
<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 here.
offset_chunk_2
- (Optional) Specifies that the offset chunk 2 will be used.
<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 here.
offset_chunk_3
- (Optional) Specifies that the offset chunk 3 will be used.
<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 here.
offset_chunk_4
- (Optional) Specifies that the offset chunk 4 will be used.
<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 here.
ipv6
- (Optional) Specifies this is the IPv6 mask.
class
- (Optional) Specifies the IPv6 class.
flowlabel
- (Optional) Specifies the IPv6 flow label.
source_ipv6_mask
- (Optional) Specifies an IPv6 source sub-mask.
<ipv6mask>
- Enter the source IPv6 mask value here.
destination_ipv6_mask
- (Optional) Specifies an IPv6 destination sub-mask.
<ipv6mask>
-Enter the destination IPv6 mask value here.
tcp
- (Optional) Specifies that the rule applies to TCP traffic.
src_port_mask
- Specifies an IPv6 Layer 4 TCP source port mask.
<hex 0x0-0xffff>
- Enter the TCP source port mask value here.
des_port_mask
- Specifies an IPv6 Layer 4 TCP destination port mask.
<hex 0x0-0xffff>
- Enter the TCP destination port mask value here.
udp
- (Optional) Specifies that the rule applies to UDP traffic.
src_port_mask
- Specifies the UDP source port mask.
<hex 0x0-0xffff>
- Enter the UDP source port mask value here.
dst_port_mask
- Specifies the UDP destination port mask.
<hex 0x0-0xffff>
- Enter the UDP destination port mask value here.
icmp
- (Optional) Specifies a mask for ICMP filtering.
type
- Specifies the inclusion of the ICMP type field in the mask.
code
- Specifies the inclusion of the ICMP code field in the mask.