D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
108
delete port_group [id <value 1-64> | name <name 16>]
show port_group {id <value 1-64> | name <name 16>}
6-1 create egress_access_profile
Description
This command is used to create an egress access list profile. For example, for some hardware, it
may be invalid to specify destination IPv6 address and source IPv6 address at the same time. The
user will be prompted for these limitations.
Format
create egress_access_profile profile_id <value 1-4> profile_name <name 1-32> [ethernet
{vlan {<hex 0x0-0x0fff>} | source_mac <macmask 000000000000-ffffffffffff> |
destination_mac <macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type} | ip {vlan
{<hex 0x0-0x0fff>} | source_ip_mask <netmask> | destination_ip_mask <netmask> | dscp |
[icmp {type | code} | igmp {type} | tcp {src_port_mask <hex 0x0-0xffff> | dst_port_mask
<hex 0x0-0xffff> | flag_mask [all | {urg | ack | psh | rst | syn | fin}]} | udp {src_port_mask
<hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff>} | protocol_id_mask <hex 0x0-0xff>
{user_define_mask <hex 0x0-0xffffffff>}]} | ipv6 {class | source_ipv6_mask <ipv6mask> |
destination_ipv6_mask <ipv6mask> | [tcp {src_port_mask <hex 0x0-0xffff> | dst_port_mask
<hex 0x0-0xffff>} | udp {src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff>} |
icmp {type | code}]}]
Parameters
profile_id - Specifies the index of the egress access list profile. The lower the profile ID, the
higher the priority.
<value 1-4> - Enter the profile ID used here. This value must be between 1 and 4.
profile_name - The name of the profile must be specified. The maximum length is 32 characters.
<name 1-32> - Enter the profile name used here. This name can be up to 32 characters long.
ethernet - Specifies this is an Ethernet mask.
vlan - (Optional) Specifies a VLAN mask.
<hex 0x0-0x0fff> - Enter the VLAN mask used here.
source_mac - (Optional) Specifies the source MAC mask.
<macmask 000000000000-ffffffffffff> - Enter the source MAC mask used here.
destination_mac - (Optional) Specifies the destination MAC mask.
<macmask 000000000000-ffffffffffff> - Enter the destination MAC mask used here.
802.1p - (Optional) Specifies 802.1p priority tag mask.
ethernet_type - (Optional) Specifies the Ethernet type mask.
ip - Specifies this is an IPv4 mask.
vlan - (Optional) Specifies a VLAN mask.
<hex 0x0-0x0fff> - Enter the VLAN mask used here.
source_ip_mask - (Optional) Specifies a source IP address mask.
<netmask> - Enter the source network mask used here.
destination_ip_mask - (Optional) Specifies a destination IP address mask.
<netmask> - Enter the destination network mask used here.
dscp - (Optional) Specifies the DSCP mask.
icmp - (Optional) Specifies that the rule applies to ICMP traffic.
type - Specifies the type of ICMP traffic.
code - Specifies the code of ICMP traffic.
igmp - (Optional) Specifies that the rule applies to IGMP traffic.
type - Specifies the type of IGMP traffic.
tcp - (Optional) Specifies that the rule applies to TCP traffic.