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


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
224
config access_profile profile_id (packet content mask)
permit – Specifies that packets that match the access profile are
permitted to be forwarded by the Switch.
priority <value 0-7> This parameter is specified to re-write the
802.1p default priority previously set in the Switch, which is used
to determine the CoS queue to which packets are forwarded to.
Once this field is specified, packets accepted by the Switch that
match this priority are forwarded to the CoS queue specified
previously by the user.
{replace_priority} Enter this parameter to re-write the 802.1p
default priority of a packet to the value entered in the Priority
field, which meets the criteria specified previously in this
command, before forwarding it on to the specified CoS queue.
Otherwise, a packet will have its incoming 802.1p user priority
re-written to its original value before being forwarded by the
Switch.
replace_dscp <value 0-63> Allows the specification of a value
to be written to the DSCP field of an incoming packet that meets
the criteria specified in the first part of the command. This value
will over-write the value in the DSCP field of the packet.
deny – Specifies that packets that match the access profile are not
permitted to be forwarded by the Switch and will be filtered.
mirror - Selecting mirror specifies that packets that match the access
profile are mirrored to a port defined in the config mirror port
command. Port Mirroring must be enabled and a target port must be
set. Remember, Port Mirroring cannot cross-box, that is they cannot
span across switches in a switch stack.
delete access_id <value 1-65535> Use this command to delete a
specific rule from the packet content mask profile. Up to 65535 rules
may be specified for the Packet Content access profile.
Restrictions Only administrator-level users can issue this command.
NOTE: When using the ACL Mirror function, ensure that the Port Mirroring
function is enabled and a target mirror port is set.
Example usage:
To create an access profile by packet content mask:
DGS-3324SRi:4# config access_profile profile_id 3 add access_id 1 packet_content
offset_0-15 0x11111111 0x11111111 0x11111111 0x11111111 offset_16-31
0x11111111 0x11111111 0x11111111 0x11111111 port 1:1 deny
Command: config access_profile profile_id 3 add access_id 1 packet_content
offset_0-15 0x11111111 0x11111111 0x11111111 0x11111111 offset_16-31
0x11111111 0x11111111 0x11111111 0x11111111 port 1:1 deny
Success.
DGS-3324SRi:4#