D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
21
9
replace_priority – Specifies the value to replace the 802.1p
default priority of a packet, 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> Specifies 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.
rate_limit <value 64-1000000> Specifies the kbps rate
limit to limit Rx bandwidth for for the profile being configured.
The user may select a value between 64- 1000000 or no
limit. The default setting is no limit.
deny – Specifies that packets that do not match the access profile
are not permitted to be forwarded by the Switch and will be filtered.
time_range <range_name 32> Defines a time range
name.
Restrictions Only administrator or operate-level users can issue this command.
Example usage:
To configure a rule for the IP access profile:
DGS3100# config access_profile profile_id 2 add access_id 2 ip protocol_id 2 port 2 deny
Success.
DGS3100#
config access_profile (for IPv6)
Purpose To configure the IPv6 access profile on the Switch, and to define
specific values for the rules used by the Switch to determine if a
given packet should be forwarded or filtered out. Masks entered
using the create access_profile command will be combined using a
logical AND operational method, with the values the Switch finds in
the specified frame header fields.
Syntax
config access_profile profile_id <value 1-15> [add access_id
[auto assign | <value 1-240>] [ip {source_ip <ipaddr> |
destination_ip <ipaddr> | class <value 0–63> | [icmp {type
<value 0-255> code <value 0-255>}| tcp {src_port <value 0-
65535> | dst_port <value 0-65535> |flag {+ | –} {urg | ack | psh |
rst | syn | fin } | udp {src_port <value 0-65535> | dst_port <value
0-65535>}]} ports [<portlist> | <ch1-32>] [permit
{replace_priority <value 0-7> | replace_class <value 0-63> |
rate_limit <value 64-1000000>} | deny] {time_range
<range_name 32>}
Description The config access_profile command defines the rules used by the
Switch to either filter or forward packets, based on the IPv6 part of
each packet header.
Parameters profile_id <value 1-15> – Specifies the access profile id to be
configured with this command. This value is assigned to the access
profile when it is created by the create access_profile command.