DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
94
counter
- (Optional) Specifies whether the ACL counter feature is enabled or disabled. This
parameter is optional. The default option is disabled. If the rule is not bound with the
flow_meter, all matching packets are counted. If the rule is bound with the flow_meter, then
the “counter” is overridden.
enable
- Specifies that the ACL counter feature will be enabled.
disable
- Specifies that the ACL counter feature will be disabled.
deny
- Specifies that packets matching the access rule are filtered by the Switch.
mirror
- Specifies that packets matching the access rules are copied to the mirror port.
time_range
- (Optional) Specifies the name of the time range entry.
<range_name 32>
- Enter the time range name here. This name can be up to 32 characters
long.
delete
- Specifies that a profile or a rule will be deleted.
access_id
- Specifies the index of the access list entry. The value range is 1-256, but the
supported maximum number of entries depends on the project. If the auto_assign option is
selected, the access ID is automatically assigned, when adding multiple ports.
<value 1-256>
- Enter the access ID used here. This value must be between 1 and 256.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To configure a rule entry for a packet content mask profile (option 3):
DWS-3160-24PC:admin#config access_profile profile_id 4 add access_id
auto_assign packet_content offset_chunk_1 0xFFFFFFFF port all deny
Command: config access_profile profile_id 4 add access_id auto_assign
packet_content offset_chunk_1 0xFFFFFFFF port all deny
Success.
DWS-3160-24PC:admin#
6-4
show access_profile
Description
This command is used to display an access profile including current access list entries.
Format
show access_profile {[profile_id <value 1-6> | profile_name <name 1-32>]}
Parameters
profile_id
- (Optional) Specifies the index of the access list profile.
<value 1-6>
- Enter the profile ID used here. This value must be between 1 and 6.
profile_name
- (Optional) Specifies the name of the profile.
<name 1-32>
- Enter the profile name used here. This name can be up to 32 characters long.
Restrictions
None.