DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
110
code
- Specifies that the rule will apply to the ICMP code traffic value.
<value 0-255>
- Enter the ICMP code traffic value here. This value must be between 0 and
255.
igmp
- (Optional) Specifies that the following parameters configured will apply to the IGMP
configuration.
type
- Specifies that the rule will apply to the IGMP type traffic value.
<value 0-255>
- Enter the IGMP type traffic value here. This value must be between 0 and
255.
tcp
- (Optional) Specifies that the following parameters configured will apply to the TCP
configuration.
src_port
- Specifies that the rule will apply to a range of TCP source ports.
<value 0-65535>
- Enter the source port value here. This value must be between 0 and
65535.
mask
- Specifies the TCP source port mask here.
<hex 0x0-0xffff>
- Enter the TCP source port mask value here.
dst_port
- Specifies that the rule will apply to a range of TCP destination ports.
<value 0-65535>
- Enter the destination port value here. This value must be between 0
and 65535.
mask
- Specifies the TCP destination port mask here.
<hex 0x0-0xffff>
- Enter the TCP destination port mask value here.
flag
- (Optional) Specifies the TCP flag fields.
all
- Specifies that the TCP flag field will be set to 'all'.
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 following parameters configured will apply to the UDP
configuration.
src_port
- Specifies the UDP source port range.
<value 0-65535>
- Enter the UDP source port range value here.
mask
- Specifies the UDP source port mask here.
<hex 0x0-0xffff>
- Enter the UDP source port mask value here.
dst_port
- Specifies the UDP destination port range.
<value 0-65535>
- Enter the UDP destination port range value here.
mask
- Specifies the UDP destination port mask here.
<hex 0x0-0xffff>
- Enter the UDP destination port mask value here.
protocol_id
- (Optional) Specifies that the rule will apply to the value of IP protocol ID traffic.
<value 0-255>
- Enter the protocol ID used here. This value must be between 0 and 255.
user_define
- (Optional) Specifies that the rule will apply to the IP protocol ID and that the mask
options behind the IP header, which has a length of 20 bytes.
<hex 0x0-0xffffffff>
- Enter the user-defined mask value here.
mask
- Specifies the user-defined mask here.
<hex 0x0-0xffffffff>
- Enter the user-defined mask value here.
ipv6
- Specifies the rule applies to IPv6 fields.
class
- (Optional) Specifies the value of IPv6 class.
<value 0-255>
- Enter the IPv6 class value here. This value must be between 0 and 255.
source_ipv6
- (Optional) Specifies the value of IPv6 source address.
<ipv6addr>
- Enter the source IPv6 source address here.
mask
- Specifies the IPv6 source address mask here.
<ipv6mask>
- Enter the IPv6 source address mask value here.
destination_ipv6
- (Optional) Specifies the value of IPv6 destination address.
<ipv6addr>
- Enter the source IPv6 destination address here.
mask
- Specifies the IPv6 destination address mask here.
<ipv6mask>
- Enter the IPv6 destination address mask value here.
tcp
- (Optional) Specifies the TCP protocol
src_port
- Specifies the value of the IPv6 layer 4 TCP source port.
<value 0-65535>
- Enter the IPv6 TCP source port value here. This value must be