D-Link DES-3326S Layer 3 Switch CLI Reference
config access_profile
Parameters
profile_id <value 1-255> − Specifies the index of the access list profile.
add access_id <value 1-255> − Adds an additional rule to the above specified access
profile. The value specifies the relative priority of the additional rule. The lower
access ID, the higher the priority the rule will be given.
ethernet − Specifies that the Switch will look only into the layer 2 part of each packet.
vlan <vlan_name 32> − Specifies that the access profile will apply to only to this
VLAN.
source_mac <macaddr> − Specifies that the access profile will apply to only packets
with this source MAC address.
destination_mac <macaddr> − Specifies that the access profile will apply to only
packets with this destination MAC address.
802.1p <value 0-7> − Specifies that the access profile will apply only to packets with
this 802.1p priority value.
ethernet_type <hex 0x0-0xffff> − Specifies that the access profile will apply only to
packets with this hexadecimal 802.1Q Ethernet type value in the packet header.
igmp − Specifies that the Switch will examine the Internet Group Management
Protocol (IGMP) field within each packet.
src_port <value 0-65535> − Specifies that the access profile will apply only to
packets that have this TCP source port in their TCP header.
ip − Specifies that the Switch will look into the IP fields in each packet.
vlan <vlan_name 32> − Specifies that the access profile will apply to only to this
VLAN.
source_ip <ipaddr> − Specifies that the access profile will apply to only packets with
this source IP address.
destination_id <value 0-255> − Specifies that the access profile will apply to only
packets with this destination IP address.
dscp <value 0-63> − Specifies that the access profile will apply only to packets that
have this value in their Type-of-Service (DiffServ code point, DSCP) field in their IP
packet header.
icmp − Specifies that the Switch will examine the Internet Control Message Protocol
(ICMP) field within each packet.
type <value 0-65535> − Specifies that the access profile will apply to this ICMP type
value.
code <value 0-255> − Specifies that the access profile will apply to this ICMP code.
type <value 0-255> − Specifies that the access profile will apply to packets that have
this IGMP type value.
tcp − Specifies that the Switch will examine the Transmission Control Protocol (TCP)
field within each packet.
dst_port <value 0-65535> − Specifies that the access profile will apply only to
packets that have this TCP destination port in their TCP header.
184