D-Link DGS-3700-12G [226/338] Config access_profile

D-Link DGS-3700-12 [226/338] Config access_profile
DGS-3312SR Layer 3 Gigabit Switch
220
Command: delete access_profile profile_id 1
Success.
DGS-3312SR:4#
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
<value 1-255>[ add access_id <value 1-255> [ethernet {vlan
<vlan_name 32> | source_mac <macaddr> | destination_mac
<macaddr> | 802.1p <value 0-7> | ethernet_type <hex 0x0-0xffff>
[permit {priority <value 0-7> {replace_priority }} | deny ] | ip {vlan
<vlan_name 32> | source_ip <ipaddr> | destination_ip <ipaddr> |
dscp <value 0-63> | [icmp {type <value 0-255> code <value 0-
255>} | igmp {type <value 0-255>} | tcp {src_port <value 0-65535>
| dst_port <value 0-65535> | flag_mask [all | {urg | ack | psh | rst |
syn | fin}]} | udp {src_port <value 0-65535> | dst_port <value 0-
65535>} | protocol_id <value 0 - 255> {user_define <hex 0x0-
0xffffffff>}]} [permit {priority <value 0-7> {replace_priority }} |
deny ] | packet_content {offset_0-15 <hex 0x0-0xffffffff> <hex 0x0-
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_16-31
<hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex
0x0-0xffffffff> | offset_32-47 <hex 0x0-0xffffffff> <hex 0x0-
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_48-63
<hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex
0x0-0xffffffff> | offset_64-79 <hex 0x0-0xffffffff> <hex 0x0-
0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff>}] [permit
{priority <value 0-7> {replace_priority} | deny] | delete access_id
<value 1-255>]
Description
The config access_profile command is used to configure an access
profile on the switch and to enter specific values that will be combined,
using a logical AND operation, with masks entered with the create
access_profile command, above.

Содержание

Скачать