User`s guide

DES-3226S Layer 2 Switch CLI Reference
248
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-255>
[add access_id <value 1-255>]
[ethernet {vlan <vlan_name 32> |
source_mac <macaddr> |
destination_mac <macaddr> | 802.1 <value 0-7> |
ethernet_type <hex 0x0-0xffff} |
ip{vlan <vlan_name 32> | source_ip <ipaddr> |
destination_ip <ipaddr> | dscp <value 0-63> |
[icmp {type <value 0-65535> code <value 0-255>}
|igmp {type <value 0-255>} |
tcp {src_port <value 0-65535> |
dst_port <value 0-65535>} |
flag { 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>} ] } ]
{priority <value 0-7> {replace_priority} |
replace_dscp <value 0-63>} | delete <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.
Parameters
profile_id <value 1-255> Specifies the index of the
access list profile.