D-Link DES-3550 Switch User Manual


 
136
DES-3550:4#create access_profile ip vlan source_ip_mask 20.0.0.0
destination_ip_mask 10.0.0.0 dscp icmp type code permit profile_id 101
Command: create access_profile ip vlan source_ip_mask 20.0.0.0
destination_ip_mask 10.0.0.0 dscp icmp type code permit profile_id 101
Success.
DES-3550:4#
delete access_profile
Purpose Used to delete a previously created access profile.
Syntax
delete access_profile [profile_id <value 1-255>]
Description
The
delete access_profile
command is used to delete a previously
created access profile on the switch.
Parameters
profile_id <value 1-255> an integer between 1 and 255 that is
used to identify the access profile that will be deleted with this
command. This value is assigned to the access profile when it is
created with the
create access_profile
command.
Restrictions Only administrator-level users can issue this command.
Example usage:
To delete the access profile with a profile ID of 1:
DES-3550:4# delete access_profile profile_id 1
Command: delete access_profile profile_id 1
Success.
DES-3550: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
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.1p <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-255> code <value 0-255>} |
igmp {type <value 0-255>} | tcp {src_port <value 0-65535> |
dst_port <value 0-65535>
|
fla
g
_mask [all
|
{
ur
g
|
ack
|
psh
|
rst
|