D-Link DES-1228/ME Reference Manual page 220

Layer 2 managed ethernet switch
Hide thumbs Also See for DES-1228/ME:
Table of Contents

Advertisement

create access_profile
ID number between 1 to 256.
Restrictions
Only Administrator level, Operator level or Power User level users can issue this command.
Example usage:
To create an access list rule:
DES-1228/ME:5#create
destination_ip_mask 10.0.0.0 dscp icmp profile_id 101
Command:
destination_ip_mask 10.0.0.0 dscp icmp permit profile_id 101
Success.
DES-1228/ME:5#
delete access_profile
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To delete the access profile with a profile ID of 1:
DES-1228/ME:5# delete access_profile profile_id 1
Command: delete access_profile profile_id 1
Success.
DES-1228/ME:5#
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
operational method, 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-256>] [add access_id [auto_assign | <value 1-
65535>] [ethernet {[vlan <vlan_name 32> | vlan_id <vid> ] {mask <hex 0x0-0x0fff>} |
source_mac <macaddr> {mask <macmask>} | destination_mac <macaddr> {mask
<macmask>} | 802.1p <value 0-7> | ethernet_type <hex 0x0-0xffff>} (1) | ip {[vlan <vlan_name
32> | vlan_id <vid>] {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 |
DES-1228/ME Metro Ethernet Managed Switch CLI Reference Guide
access_profile
create
access_profile
Used to delete a previously created access profile.
delete access_profile [profile_id <value 1-256> | all ]
This command is used to delete a previously created access profile
on the Switch.
profile_id <value 1-256> − Enter an integer between 1 and 256 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. The user may
enter a profile ID number between 1 and 256.
all − Specifies all access list profiles will be deleted.
Only Administrator level, Operator level or Power User level users
can issue this command.
ip
vlan
source_ip_mask
ip
vlan
source_ip_mask
216
20.0.0.0
20.0.0.0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents