EasyManua.ls Logo

D-Link DGS-3000 series - Page 91

D-Link DGS-3000 series
731 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DGS-3000 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
87
DGS-3000-26TC:admin#delete access_profile profile_id 1
Command: delete access_profile profile_id 1
Success.
DGS-3000-26TC:admin#
6-3 config access_profile
Description
This command is used to configure an access list entry. The ACL mirror function works after the
mirror has been enabled and the mirror port has been configured using the mirror command.
When applying an access rule to a target, the setting specified in the VLAN field will not take effect
if the target is a VLAN.
Format
config access_profile [profile_id <value 1-512> | profile_name <name 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>} | 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>}}]} |
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>}} | 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 <hex0x0-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>}]}] [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 | deny] {time_range <range_name 32>} | delete
access_id <value 1-256>]
Parameters
profile_id - Specifies the index of the access list profile.
<value 1-512> - Enter the profile ID value here. This value must be between 1 and 512.
profile_name - Specifies the name of the profile.
<name 32> - Enter the profile name here. This name can be up to 32 characters long.
add - Specifies that a profile or a rule will be added.
access_id - Specifies 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.

Table of Contents

Other manuals for D-Link DGS-3000 series

Related product manuals