xStack
®
DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
86
DES-3200-28P:admin#create access_profile profile_id 1 profile_name t1 ethernet
vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p
ethernet_type
Command: create access_profile profile_id 1 profile_name 1 ethernet vlan
source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p
ethernet_type
Success.
DES-3200-28P:admin#create access_profile profile_id 2 profile_name 2 ip vlan
source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code
Command: create access_profile profile_id 2 profile_name t2 ip vlan
source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code
Success.
DES-3200-28P:admin#create access_profile profile_id 4 profile_name 4
packet_content_mask offset_chunk_1 3 0xFFFF offset_chunk_2 5 0xFF00
offset_chunk_3 14 0xFFFF0000 offset_chunk_4 16 0xFF000000
Command: create access_profile profile_id 4 profile_name 4 packet_content_mask
offset_chunk_1 3 0xFFFF offset_chunk_2 5 0xFF00 offset_chunk_3 14 0xFFFF0000
offset_chunk_4 16 0xFF000000
Success.
DES-3200-28P:admin#
6-2
delete access_profile
Description
This command is used to delete access list profiles. This command can only delete profiles that
were created using the ACL module.
Format
delete access_profile [profile_id <value 1-4> | profile_name <name 32> | all]
Parameters
profile_id
- Specify the index of the access list profile.
<value 1-4>
- Enter the profile ID value here. This value must be between 1 and 4.
profile_name
- Specify the name of the profile.
<name 32>
- Enter the profile name.. The maximum length is 32 characters.
all
- Specify that the whole access list profile will be deleted.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To delete the access list rule with a profile ID of 1:
Summary of Contents for xStack DES-3200 Series
Page 1: ......