xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
91
<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
255.
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
255.
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.
packet_content
- A maximum of 11 offsets can be specified. Each offset defines 2 bytes 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 ether type or the end of the IP header. To
qualify the fields before the end of the tag, the destination address, source address, and the
VLAN tags are also included
offset_chunk_1
– (Optional) Specify the value of the packet bytes to be matched. Offset