delete cpu access_profile
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To delete the CPU access profile with a profile ID of 1:
DES-1228/ME:4#delete cpu access_profile profile_id 1
Command: delete cpu access_profile profile_id 1
Success.
DES-1228/ME:4#
config cpu access_profile
Purpose
Syntax
Description
Parameters
DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
Used to delete a previously created CPU access profile.
delete cpu access_profile profile_id <value 1-3>
The delete cpu access_profile command is used to delete a previously created CPU
access profile.
profile_id <value 1-3> − Enter an integer between 1 and 3 that is used to identify the CPU
access profile to be deleted with this command. This value is assigned to the access
profile when it is created with the create cpu access_profile command.
Only Administrator-level users can issue this command.
Used to configure a CPU access profile used for CPU Interface Filtering 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 cpu 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 cpu access_profile command, below.
config cpu access_profile profile_id <value 1-3> [ add access_id <value 1-5>
[ ethernet { vlan <vlan_name 32> | source_mac <macaddr> | destination_mac
<macaddr> | 802.1p <value 0-7> | ethernet_type <hex 0x0-0xffff> }(1) | ip { vlan
<vlan_name 32> | source_ip <ipaddr> |
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> | 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>}]}(1)] port [<portlist> | all ][ permit | deny ] |
delete access_id <value 1-5> ]
The config cpu access_profile command is used to configure a CPU access profile for
CPU Interface Filtering and to enter specific values that will be combined, using a logical
AND operational method, with masks entered with the create cpu access_profile
command, above.
profile_id <value 1-3> − Enter an integer used to identify the access profile that will be
configured with this command. This value is assigned to the access profile when it is
created with the create access_profile command. The profile ID sets the relative priority
for the profile and specifies an index number that will identify the access profile being
created with this command. Priority is set relative to other profiles where the lowest profile
ID has the highest priority.
add access_id <value 1-5> − Adds an additional rule to the above specified access profile.
The value is used to index the rule created.
ethernet − Specifies that the Switch will look only into the layer 2 part of each packet.
vlan <vlan_name 32> − Specifies that the access profile will apply to only to this
VLAN.
source_mac <macaddr> − Specifies that the access profile will apply to this source
destination_ip <ipaddr> | dscp <value 0-
178