The mac threshold-alarm command configures MAC address alarm thresholds for an EVPN instance.
The undo mac threshold-alarm command restores the default MAC address alarm thresholds.
By default, the alarm reporting threshold is 80%, and the alarm clearing threshold is 70%.
Parameter | Description | Value |
---|---|---|
lower-limit lower-limit-value |
Specifies the alarm clearing threshold for MAC addresses in an EVPN instance. |
The value is an integer ranging from 1 to 100, in percent. lower-percent must be smaller than upper-percent. If you do not want alarms to be frequently reported and cleared due to route flapping, ensure that lower-percent is smaller than upper-percent by 10 at least. |
upper-limit upper-limit-value |
Specifies the alarm reporting threshold for MAC addresses in an EVPN instance. |
The value is an integer ranging from 1 to 100, in percent. It is recommended that you specify a value smaller than 95 for upper-percent. |
Usage Scenario
The number of MAC addresses allowed by an EVPN instance is limited. If the number exceeds the maximum limit, services may be interrupted. To address this problem, configure alarm thresholds for MAC addresses in the EVPN instance. You can then check whether exceptions have occurred based on reported alarms and take immediate measures to prevent excess MAC addresses from being learned by the EVPN instance.
To adjust alarm reporting and clearing thresholds, run the mac threshold-alarm command.Precautions
The mac threshold-alarm command simply configures alarm thresholds for MAC addresses in an EVPN instance. A threshold-crossing alarm can be reported only if the following conditions are met: