D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
223
config access_profile profile_id (packet content mask)
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_64-79
<hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff>
<hex0x0-0xffffffff>} port <port> [permit {priority <value 0-7>
{replace_priority} | replace_dscp <value 0-63> } | deny | mirror]
delete <value 1-65535>]
Description This command is used to set the rule for a previously configured
access profile setting based on packet content mask. These rules will
determine if the Switch will forward or filter the identified packets,
based on user configuration specified in this command. Users will set
bytes to identify by entering them in hex form, offset from the first byte
of the packet.
Parameters profile_id <value 1-8> - Enter an integer between 1 and 8 that is used
to identify the access profile that will be configured with this command.
This value is assigned to the access profile when it is created with the
create access_profile command. The lower the profile ID, the higher
the priority the rule will be given.
add access_id <value 1-65535> - Adds an additional rule to the above
specified access profile. The value specifies the relative priority of the
additional rule. Up to 65535 different rules may be configured for the
Ethernet access profile.
auto_assign – Choose this parameter to configure the Switch to
automatically assign a numerical value (between 1 and 65535)
for the rule being configured.
packet_content – Specifies that the Switch will mask the packet
header beginning with the offset value specified as follows:
offset_0-15 – Enter a value in hex form to mask the packet from
the beginning of the packet to the 15th byte.
offset_16-31 - Enter a value in hex form to mask the packet from
byte 16 to byte 31.
offset_32-47 - Enter a value in hex form to mask the packet from
byte 32 to byte 47.
offset_48-63 - Enter a value in hex form to mask the packet from
byte 48 to byte 63.
offset_64-79 - Enter a value in hex form to mask the packet from
byte 64 to byte 79.
port <portlist> - The access profile for Ethernet may be defined for
each port on the Switch. Up to 100 rules may be configured for each
port. The port list is specified by listing the switch ID number and the
port number on that switch, separated by a colon. For example, 1:3
specifies switch number 1, port 3. 2:4 specifies switch number 2, port
4.