The acl threshold-alarm command configures the alarm threshold percentage of ACL resource usage.
The undo acl threshold-alarm command restores the default alarm threshold percentage of ACL resource usage.
By default, the lower alarm threshold percentage is 70, and the upper alarm threshold percentage is 80.
acl threshold-alarm { upper-limit upper-limit | lower-limit lower-limit } *
undo acl threshold-alarm
Parameter | Description | Value |
---|---|---|
upper-limit upper-limit | Indicates the upper alarm threshold percentage of ACL resource usage. |
The value is an integer that ranges from 1 to 100. |
lower-limit lower-limit | Indicates the lower alarm threshold percentage of ACL resource usage. |
The value is an integer that ranges from 1 to 100. |
Usage Scenario
After the device runs ACL or ACL6 services for a period, the running ACL or ACL6 services occupy ACL resources. You can run the acl threshold-alarm command to set the alarm threshold percentage of ACL resources.
When the ACL resource usage (that is, the ratio of existing ACL entries to the maximum number of ACL entries supported by the device) is equivalent to or higher than the threshold, the device generates an alarm. When the ACL resource usage becomes equivalent to or lower than the lower threshold, the device generates a clear alarm.
Precautions
If you run the acl threshold-alarm command multiple times, only the latest configuration takes effect.
The upper threshold must be equivalent to or greater than the lower threshold.