D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
109
src_port_mask - Specifies the TCP source port mask.
<hex 0x0-0xffff> - Enter the TCP source port mask value here.
dst_port_mask - Specifies the TCP destination port mask.
<hex 0x0-0xffff> - Enter the TCP source port mask value here.
flag_mask - (Optional) Specifies the TCP flag field mask.
all - Specifies that the TCP flag field mask will be set to 'all'.
urg - Specifies that the TCP flag field mask will be set to 'urg'.
ack - Specifies that the TCP flag field mask will be set to 'ack'.
psh - Specifies that the TCP flag field mask will be set to 'psh'.
rst - Specifies that the TCP flag field mask will be set to 'rst'.
syn - Specifies that the TCP flag field mask will be set to 'syn'.
fin - Specifies that the TCP flag field mask 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 value here.
dst_port_mask - Specifies the UDP destination port mask.
<hex 0x0-0xffff> - Enter the UDP destination port mask value here.
protocod_id_mask - (Optional) Specifies that the rule applies to IP protocol ID traffic.
<hex 0x0-0xff> - Enter the protocol ID mask value 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 the user-defined mask value here.
ipv6 - (Optional) Specifies this is an IPv6 mask.
class - (Optional) Specifies the IPv6 class.
source_ipv6_mask - (Optional) Specifies an IPv6 source sub-mask.
<ipv6mask> - Enter the IPv6 source sub-mask value here.
destination_ipv6_mask - Specifies an IPv6 destination sub-mask.
<ipv6mask> - Enter the IPv6 destination sub-mask value here.
tcp - (Optional) Specifies that the following parameter are application to the TCP
configuration.
src_port_mask - Specifies an IPv6 Layer 4 TCP source port mask.
<hex 0x0-0xffff> - Enter the Ipv6 TCP source port mask value here.
dst_port_mask - Specifies an IPv6 Layer 4 TCP destination port mask.
<hex 0x0-0xffff> - Enter the Ipv6 TCP destination port mask value here.
udp - (Optional) Specifies that the following parameter are application to the UDP
configuration.
src_port_mask - Specifies an IPv6 Layer 4 UDP source port mask.
<hex 0x0-0xffff> - Enter the Ipv6 UDP source port mask value here.
dst_port_mask - Specifies an IPv6 Layer 4 UDP destination port mask.
<hex 0x0-0xffff> - Enter the Ipv6 UDP destination port mask value here.
icmp - (Optional) Specifies that the rule applies to ICMP traffic.
type - Specifies the type of ICMP traffic.
code - Specifies the code of ICMP traffic.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create an egress access list profile with the name “eap-eth-bc” and assign the profile ID to be 1:
DGS-3420-28SC:admin# create egress_access_profile profile_id 1 profile_name
eap-eth-bc ethernet source_mac FF-FF-FF-FF-FF-FF
Command: create egress_access_profile profile_id 1 profile_name eap-eth-bc
ethernet source_mac FF-FF-FF-FF-FF-FF
DGS-3420-28SC:admin#