![background image](http://html1.mh-extra.com/html/d-link/xstack-dgs-3120-24pc/xstack-dgs-3120-24pc_manual_3500718099.webp)
xStack
®
DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
95
port
- Specify the port list used for this configuration.
<portlist>
- Enter a list of ports used for the configuration here.
all
- Specify that all the ports will be used for this configuration.
vlan_based
- Specify that the rule will be VLAN based.
vlan
- Specify the VLAN name used for this configuration.
<vlan_name>
- Enter the VLAN name used for this configuration here.
vlan_id
- Specify the VLAN ID used for this configuration.
<vlanid 1-4094>
- Enter the VLAN ID used here. This value must be between 1 and 4094.
permit
- Specify that packets matching the access rule are permitted by the Switch.
priority
- (Optional) Specify that the priority of the packet will change if the packet matches the
access rule.
<value 0-7>
- Enter the priority value here. This value must be between 0 and 7.
replace_priority
- (Optional) Specify that the 802.1p priority of the outgoing packet will be
replaced.
replace_dscp_with
- (Optional) Specify that the DSCP of the outgoing packet is changed with
the new value. If using this action without an action priority, the packet will be sent to the
default TC.
<value 0-63>
- Enter the replace DSCP with value here. This value must be between 0 and
63.
replace_tos_precedence_with
- (Optional) Specify that the IP precedence of the outgoing
packet is changed with the new value. If used without an action priority, the packet is sent to
the default TC.
<value 0-7>
- Enter the replace ToS precedence with value here. This value must be between
0 and 7.
counter
- (Optional) Specify whether the ACL counter feature is enabled or disabled. This
parameter is optional. The default option is disabled. If the rule is not bound with the
flow_meter, all matching packets are counted. If the rule is bound with the flow_meter, then
the “counter” is overridden.
enable
- Specify that the ACL counter feature will be enabled.
disable
- Specify that the ACL counter feature will be disabled.
deny
- Specify that packets matching the access rule are filtered by the Switch.
mirror
- Specify that packets matching the access rules are copied to the mirror port.
time_range
- (Optional) Specify the name of the time range entry.
<range_name 32>
- Enter the time range name here. This name can be up to 32 characters
long.
delete
- Specify that a profile or a rule will be deleted.
access_id
- Specify the index of the access list entry. The value range is 1-256, but the
supported maximum number of entries depends on the project. If the auto_assign option is
selected, the access ID is automatically assigned, when adding multiple ports.
<value 1-256>
- Enter the access ID used here. This value must be between 1 and 256.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure a rule entry for a packet content mask profile (option 3):
DGS-3120-24TC:admin# config access_profile profile_id 5 add access_id
auto_assign packet_content offset5 0xF0 port all deny
Command: config access_profile profile_id 5 add access_id auto_assign
packet_content offset5 0xF0 port all deny
Success.
DGS-3120-24TC:admin#
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 42: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 38...
Page 168: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 164...
Page 765: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 761...