xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
215
destination_ip
- (Optional) Specify an IP destination address.
<ipaddr>
- Enter the destination IP address used for this configuration here.
mask
- (Optional) Specify the mask.
<netmask>
- Specify the mask.
dscp
- (Optional) Specify the value of DSCP, the value can be configured 0 to 63.
<value>
- Enter the DSCP value used here.
icmp
- (Optional) Specify that the rule applies to ICMP traffic.
type
- Specify that the rule applies to the value of ICMP type traffic.
<value 0-255>
- Enter the ICMP type value here. This value must be between 0 and 255.
code
- Specify that the rule applies to the value of ICMP code traffic.
<value 0-255>
- Enter the ICMP code value here. This value must be between 0 and 255.
igmp
- (Optional) Specify that the rule applies to IGMP traffic.
type
- Specify that the rule applies to the value of IGMP type traffic.
<value 0-255>
- Enter the IGMP type value here. This value must be between 0 and 255.
tcp
- (Optional) Specify that the rule applies to TCP traffic.
src_port
- Specify that the rule applies the range of TCP source port.
<value 0-65535>
- Enter the source port value here. This value must be between 0 and
65535.
mask
- (Optional) Specify the mask.
<hex 0x0-0xffff>
- Specify the mask.
dst_port
- Specify the range of TCP destination port range.
<value 0-65535>
- Enter the destination port value here. This value must be between 0
and 65535.
mask
- (Optional) Specify the mask.
<hex 0x0-0xffff>
- Specify the mask.
flag
- (Optional) Specify the TCP flag fields .
all
- Specify that the TCP flag field mask will be set to all.
urg
- Specify that the TCP flag field mask will be set to urg.
ack
- Specify that the TCP flag field mask will be set to ack.
psh
- Specify that the TCP flag field mask will be set to psh.
rst
- Specify that the TCP flag field mask will be set to rst.
syn
- Specify that the TCP flag field mask will be set to syn.
fin
- Specify that the TCP flag field mask will be set to fin.
udp
- Specify that the rule applies to UDP traffic.
src_port
- (Optional) Specify the range of UDP source port range.
<value 0-65535>
- Enter the source port value here. This value must be between 0 and
65535.
mask
- (Optional) Specify the mask.
<hex 0x0-0xffff>
- Specify the mask.
dst_port
- (Optional) Specify the range of UDP destination port mask.
<value 0-65535>
- Enter the destination port value here. This value must be between 0
and 65535.
mask
- (Optional) Specify the mask.
<hex 0x0-0xffff>
- Specify the mask.
protocod_id
- Specify that the rule applies to the value of IP protocol ID traffic.
<value 0-255>
- Enter the protocol ID value here. This value must be between 0 and 255.
user_define
- (Optional) Specify that the rule applies to the IP protocol ID and the mask options
behind the IP header length is 20 bytes.
<hex 0x0-0xffffffff>
- Enter the user-defined IP protocol ID mask here.
mask
- (Optional) Specify the mask.
<hex 0x0-0xffffffff>
- Specify the mask.
packet_content
- Specify the frame content pattern, there are 5 offsets in maximum could be
configure. Each offset presents 16 bytes, the range of content of frame is 80 bytes(5 offsets)
in the first eighty bytes of frame.
offset_0-15
- (Optional) Specify that the mask pattern offset of the frame will be between 0
and 15.
<hex 0x0-0xffffffff>
- Enter the mask pattern offset of the frame between 0 and 15 here.
offset_16-31
- (Optional) Specify that the mask pattern offset of the frame will be between 16
and 31.