![D-Link DES-3528 - xStack Switch - Stackable Cli Reference Manual Download Page 266](http://html.mh-extra.com/html/d-link/des-3528-xstack-switch-stackable/des-3528-xstack-switch-stackable_cli-reference-manual_76439266.webp)
xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
266
create access_profile
The user may deny packets by denying certain flag bits within the packets. The user may
choose between
all, urg
(urgent),
ack
(acknowledgement),
psh
(push),
rst
(reset),
syn
(synchronize) and
fin
(finish).
udp
−
Specifies that the Switch will examine each frame’s User Datagram Protocol
(UDP) field.
src_port_mask <hex 0x0-0xffff>
−
Specifies a UDP port mask for the source port.
dst_port_mask <hex 0x0-0xffff>
−
Specifies a UDP port mask for the destination port.
protocol_id_mask <hex 0x0-0xff>
−
Specifies that the Switch will examine the protocol field in
each packet and if this field contains the value entered here, apply the following rules.
user_define_mask <hex 0x0-0xffffffff>
−
Specifies that the rule applies to the IP protocol ID
and the mask options behind the IP header.
packet_content_mask
– Allows users to examine up to 4 specified offset_chunk within a
packet at one time and specifies that the Switch will mask the packet header beginning with
the offset value specified as follows:
packet_content_mask {offset_chunk_1 <value 0-31> <hex 0x0-0xffffffff> |
offset_chunk_2 <value 0-31> <hex 0x0-0xffffffff> | offset_chunk_3 <value 0-31> <hex
0x0-0xffffffff> | offset_chunk_4 <value 0-31> <hex 0x0-0xffffffff> }
With this advanced unique Packet Content Mask (also known as Packet Content Access
Control List - ACL), D-Link xStack Switch family can effectively mitigate some network
attacks like the common ARP Spoofing attack that is wide spread today. This is the reason
why Packet Content ACL is able to inspect any specified content of a packet in different
protocol layers.
profile_id <value 1-14>
−
Sets the relative priority for the profile. Priority is set relative to
other
profiles where the lowest profile ID has the highest priority. The user may enter a profile ID
number between 1-14, yet, remember only 14 access profiles can be created on the Switch.
profile_name
−
Specifies the name of the profile. The maximum length is 32 characters.
IPV6
−
Denotes that IPv6 packets will be examined by the Switch for forwarding or filtering
based on the rules configured in the
config access_profile
command for IPv6.
•
class
– Entering this parameter will instruct the Switch to examine the
class
field of the
IPv6 header. This class field is a part of the packet header that is similar to the Type of
Service (ToS) or Precedence bits field in IPv4.
•
flowlabel
– Entering this parameter will instruct the Switch to examine the
flow label
field of the IPv6 header. This flow label field is used by a source to label sequences of
packets such as non-default quality of service or real time service packets.
•
tcp –
Specifies that the Switch will examine each frame’s Transmission Control
Protocol (TCP) field.
•
src_port_mask <hex 0x0-0xffff>
−
Specifies a TCP port mask for the source port.
•
dst_port_mask <hex 0x0-0xffff>
−
Specifies a TCP port mask for the destination port.
•
udp
−
Specifies that the Switch will examine each frame’s User Datagram Protocol
(UDP) field.
•
src_port_mask <hex 0x0-0xffff>
−
Specifies a TCP port mask for the source port.
•
dst_port_mask <hex 0x0-0xffff>
−
Specifies a TCP port mask for the destination port.
•
source_ipv6_mask <ipv6mask>
−
Specifies an IP address mask for the source IPv6
address.
•
destination_ipv6_mask <ipv6mask>
−
Specifies an IP address mask for the destination
IPv6 address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create an access list rules:
DES-3528:admin# create access_profile profile_id 5 profile_name 5 ethernet vlan
source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p ethernet_type
Command: create access_profile profile_id 5 profile_name 5 ethernet vlan source_mac
Summary of Contents for DES-3528 - xStack Switch - Stackable
Page 1: ......