DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide
207
config access_profile
<value 0-65535>}|protocol_id <value 0-
255> {user_define <hex 0x0-
0xffffffff>}]}]{priority <value 0-7>
{replace_priority}|replace_dscp <value 0-
63>}|delete <value 1-255>]
Description
The config access_profile
command is used
to configure an access profile on the switch
and to enter specific values that will be
combined, using a logical AND operation,
with masks entered with the create
access_profile command, above.
Parameters
profile_id <value 1-255>
−
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. A
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.