D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
83
Format
config access_profile [profile_id <value 1-6> | profile_name <name 1-32>] [add access_id
[auto_assign | <value 1-256>] [ethernet {[vlan <vlan_name 32> | vlan_id <vlanid 1-4094>]
{mask <hex 0x0-0x0fff>} | source_mac <macaddr> {mask <macmask>} | destination_mac
<macaddr> {mask <macmask>} | 802.1p <value 0-7> | ethernet_type <hex 0x0-0xffff>}(1) | ip
{[vlan <vlan_name 32> | vlan_id <vlanid 1-4094>] {mask <hex 0x0-0x0fff>} | source_ip
<ipaddr> {mask <netmask>} | destination_ip <ipaddr> {mask <netmask>} | dscp <value 0-
63> | [icmp {type <value 0-255> | code <value 0-255>} | igmp {type <value 0-255>} | tcp
{src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-65535> {mask <hex
0x0-0xffff>} | flag [all | {urg | ack | psh | rst | syn | fin}]} | udp {src_port <value 0-65535>
{mask <hex 0x0-0xffff>} | dst_port <value 0-65535> {mask <hex 0x0-0xffff>}} | protocol_id
<value 0-255> {user_define <hex 0x0-0xffffffff> {mask <hex 0x0-0xffffffff>}}]}(1) |
packet_content {offset_chunk_1 <hex 0x0-0xffffffff> {mask <hex 0x0-0xffffffff>} |
offset_chunk_2 <hex 0x0-0xffffffff> {mask <hex 0x0-0xffffffff>} | offset_chunk_3 <hex 0x0-
0xffffffff> {mask <hex 0x0-0xffffffff>} | offset_chunk_4 <hex 0x0-0xffffffff> {mask <hex 0x0-
0xffffffff>}}(1) | ipv6 {class <value 0-255> | flowlabel <hex 0x0-0xfffff> | source_ipv6
<ipv6addr> {mask <ipv6mask>} | destination_ipv6 <ipv6addr> {mask <ipv6mask>} | [tcp
{src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-65535> {mask <hex
0x0-0xffff>}} | udp {src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-
65535> {mask <hex 0x0-0xffff>}} | icmp {type <value 0-255> | code <value 0-255>}]}(1)] [port
[<portlist> | all] | vlan_based [vlan <vlan_name 32> | vlan_id <vlanid 1-4094>]] [permit
{priority <value 0-7> {replace_priority} | [replace_dscp_with <value 0-63> |
replace_tos_precedence_with <value 0-7>] | counter [enable | disable]} | mirror {group_id
<value 1-4>} | deny] {time_range <range_name 32>} | delete access_id <value 1-256>]
Parameters
profile_id - Specify the index of the access list profile.
<value 1-6> - Specify the value between 1 and 6.
profile_name - Specify the profile name.
<name 1-32> - Specify the profile name. The maximum length is 32 characters.
add access_id - Specify the index of the access list entry. The lower the access ID, the higher
the priority.
auto_assign - Specify to automatically assign the access ID.
<value 1-256> - Specify a value between 1 and 256.
ethernet - Specify an Ethernet access control list rule.
vlan - Specify the VLAN name.
<vlan_name 32> -Specify the VLAN name. The maximum length is 32 characters.
vlanid - Specify the VLAN ID.
<vlanid 1-4094> - Specify the VLAN ID between 1 and 4094.
mask - (Optional) Specify the mask.
<hex 0x0-0x0fff> - Specify the mask.
source_mac - Specify the source MAC address.
<macaddr> - Specify the source MAC address.
mask - (Optional) Specify the mask.
<macmask> - Specify the mask.
destination_mac - Specify the destination MAC address.
<macaddr> - Specify the destination MAC address.
mask - (Optional) Specify the mask.
<macmask> - Specify the mask.
802.1p - Specify the value of the 802.1p priority tag.
<value 0-7> - Specify the value of the 802.1p priority tag. The priority tag ranges from 1 to
7.
ethernet_type - Specify the Ethernet type.
<hex 0x0-0xffff> - Specify the Ethernet type.