xStack
®
DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
93
<hex 0x0-0x0fff> - Enter the mask value here.
source_ip - (Optional) Specify an IP source address.
<ipaddr> - Enter the source IP address used for this configuration here.
mask - Specify an additional mask parameter that can be configured.
<netmask> - Enter the source netmask used here.
destination_ip - (Optional) Specify an IP destination address.
<ipaddr> - Enter the destination IP address used for this configuration here.
mask - Specify an additional mask parameter that can be configured.
<netmask> - Enter the destination netmask used here.
dscp - (Optional) Specify the value of DSCP. The DSCP value ranges from 0 to 63.
<value> - Enter the DSCP value here.
icmp - (Optional) Specify to configure the ICMP parameters.
type - Specify that the rule will apply to the ICMP Type traffic value.
<value 0-255> - Enter the ICMP type traffic value here. This value must be between 0 and
255.
code - Specify 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
igmp - (Optional) Specify to configure the IGMP parameters.
type - Specify 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
tcp - Specify to configure the TCP parameters.
src_port - (Optional) Specify that the rule will apply to a range of TCP source ports.
<value 0-65535> - Enter the TCP source port value here. This value must be between 0
and 65535.
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the source port mask here.
dst_port - (Optional) Specify that the rule will apply to a range of TCP destination ports.
<value 0-65535> - Enter the TCP destination port value here. This value must be between
0 and 65535.
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the destination port mask here.
flag - (Optional) Specify the TCP flag fields.
all - Specify that all the TCP flags will be used in this configuration.
urg - Specify that the TCP flag field will be set to 'urg'.
ack - Specify that the TCP flag field will be set to 'ack'.
psh - Specify that the TCP flag field will be set to 'psh'.
rst - Specify that the TCP flag field will be set to 'rst'.
syn - Specify that the TCP flag field will be set to 'syn'.
fin - Specify that the TCP flag field will be set to 'fin'.
udp - Specify to configure the UDP parameters.
src_port - (Optional) Specify the UDP source port range.
<value 0-65535> - Enter the UDP source port value here. This value must be between 0
and 65535.
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the source port mask here,
dst_port - (Optional) Specify the UDP destination port range.
<value 0-65535> - Enter the UDP destination port value here. This value must be between
0 and 65535.
mask - (Optional) Specify an additional mask parameter that can be configured.
<hex 0x0-0xffff> - Enter the destination port mask here.
protocol_id - Specify that the rule will apply to the value of IP protocol ID traffic.
<value 0-255> - Enter the protocol ID used here.
user_define - (Optional) Specify 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 - Specify an additional mask parameter that can be configured.
<hex 0x0-0xffffffff> - Enter the mask value here.