The mac-address threshold-alarm command configures upper and lower alarm thresholds for the MAC address usage.
The undo mac-address threshold-alarm command restores the default upper and lower alarm thresholds for the MAC address usage.
By default, the upper and lower alarm thresholds for the MAC address usage are 80% and 70% respectively. An alarm is sent when the MAC address usage is higher than 80% or lower than 70%.
mac-address threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value
undo mac-address threshold-alarm
Parameter |
Description |
Value |
---|---|---|
upper-limit upper-limit-value |
Specifies the upper alarm threshold for the MAC address usage, in percentage. |
The value is an integer that ranges from 1 to 100. The default value is 80. |
lower-limit lower-limit-value |
Specifies the lower alarm threshold for the MAC address usage, in percentage. |
The value is an integer that ranges from 1 to 100. The default value is 70. lower-limit-value must be smaller than or equal to upper-limit-value. |
Usage Scenario
MAC address resources are core resources of the device and the device supports limited MAC addresses. The MAC address usage affects device running. You can run the mac-address threshold-alarm command to configure upper and lower alarm thresholds for the MAC address usage. When the MAC address usage is larger than the upper alarm threshold or smaller than the lower alarm threshold, an alarm is generated to notify the administrator. The administrator then can learn the MAC address usage in a timely manner.
Precautions
When you run the mac-address threshold-alarm command multiple times, only the latest configuration takes effect.