D-Link DGS-3224TGR Command Line Interface Reference Manual page 125

Layer 2 gigabit ethernet switch
Hide thumbs Also See for DGS-3224TGR:
Table of Contents

Advertisement

config access_profile
Purpose
Used to configure an access profile on the switch and to define specific values that will be
used to by the switch to determine if a given packet should be forwarded or filtered. Masks
entered using the create access_profile command will be combined, using a logical AND
operation, with the values the switch finds in the specified frame header fields. Specific
values for the rules are entered using the config access_profile command, below.
Syntax
config access_profile profile_id <value 1-8>[ add(80) access_id(10) <value 1-
255>[ ethernet(1) { vlan(2) <vlan_name 32> | source_mac(3) <macaddr> |
destination_mac(4) <macaddr> | 802.1p(5) <value 0-7> | ethernet_type(6) <hex 0x0-
0xffff>}(1)| ip(21){ vlan(22) <vlan_name 32> | source_ip(23) <ipaddr> |
destination_ip(24) <ipaddr> | dscp(25) <value 0-63> | [ icmp(26) {type(27) <value 0-
255> code(28) <value 0-255>} | igmp(29) {type(30) <value 0-255>} | tcp(31)
{src_port(32) <value 0-65535> | dst_port(33) <value 0-65535> | flag_mask(46) [all(45) |
{urg(39) | ack(40) | psh(41) | rst(42) | syn(43) | fin(44)}(1)]} | udp(34) {src_port(35)
<value 0-65535> | dst_port(36) <value 0-65535>} | protocol_id(37) <value 0 - 255>
{user_define(38) <hex 0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-
0xffffffff><hex 0x0-0xffffffff>} ] }(1)|packet_content_mask(51) {offset_0-15(52) <hex
0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-0xffffffff> | offset_16-
31(53) <hex 0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-0xffffffff> |
offset_32-47(54) <hex 0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-
0xffffffff> | offset_48-63(55) <hex 0x0-0xffffffff><hex 0x0-0xffffffff><hex 0x0-
0xffffffff><hex 0x0-0xffffffff> | offset_64-79(56) <hex 0x0-0xffffffff><hex 0x0-
0xffffffff><hex 0x0-0xffffffff><hex 0x0-0xffffffff> }(1) ]
[ permit(63){replace_priority_with(60) <value 0-7> | replace_dscp_with(62) <value 0-
63> } | deny(64) ] | delete(81) access_id <value 1-8> ]
The config access_profile command is used to configure an access profile on the switch and
Description
to enter specific values that will be combined, using a logical AND operation, with masks
entered with the create access_profile command, above.
DGS-3224TGR Gigabit Ethernet Switch CLI Reference Manual
121

Advertisement

Table of Contents
loading

Table of Contents