D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
86
all ports and packets must belong to the configured VLAN. It can be specified by VLAN name
or VLAN ID.
vlan - Specify the VLAN name.
<vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters.
vlan_id - Specify the VLAN ID.
<vlanid 1-4094> - Specify the VLAN ID between 1 and 4094.
permit - Specify the packets that match the access profile are permit by the switch.
priority - (Optional) Specify the packets that match the access profile are remap the 802.1p
priority tag field by the switch.
<value 0-7>
- Specify the value between 0 and 7.
replace_priority - (Optional) Specify the packets that match the access profile remarking the
802.1p priority tag field by the switch.
replace_dscp_with - (Optional) Specify the DSCP of the packets that match the access profile
are modified according to the value.
<value 0-63> - Specify the value 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> - Specify the value between 0 and 7.
counter - (Optional) Specifies whether the ACL counter feature will be enabled or disabled.
enable - Specify whether the ACL counter feature is enabled. 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.
disable - Specify whether the ACL counter feature is disabled. The default option is disabled.
mirror - Specify that packets matching the access profile are copied to the mirror port.
group_id - Specifies the group ID used.
<value 1-4> - Enter the group ID used here. This value must be between 1 and 4.
deny - Specify the packets that match the access profile are filtered by the switch.
time_range - (Optional) Specify the name of this time range entry.
<range_name 32> - Specify the name of this time range entry. The maximum length is 32
characters.
delete access_id - Specify to delete the access ID.
<value 1-256> - Specify the value between 1 and 256.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure an access list entry:
DGS-3420-28SC:admin#config access_profile profile_id 1 add access_id 1 ip vlan
default source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 icmp port 1 permit
Command: config access_profile profile_id 1 add access_id 1 ip vlan default
source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 icmp port 1 permit
Success.
DGS-3420-28SC:admin#