The mac-address trap hash-conflict history command sets the number of alarms reported at an interval when the MAC address hash conflict occurs.
The undo mac-address trap hash-conflict history command restores the default number of alarms reported at an interval when the MAC address hash conflict occurs.
By default, 10 alarms are reported at an interval when the MAC address hash conflict occurs.
mac-address trap hash-conflict history history-number
undo mac-address trap hash-conflict history
Parameter |
Description |
Value |
---|---|---|
history-number |
Specifies the number of alarms reported at an interval when the MAC address hash conflict occurs. |
The value is an integer that ranges from 10 to 20. The default value is 10. |
Usage Scenario
After the trap function for the MAC address hash conflict is enabled, the device reports a maximum of 10 alarms every 60s. Each alarm carries a MAC address for which the hash conflict occurs.
If hash values of more than 10 MAC addresses conflict, reports about subsequent MAC address hash conflicts cannot be reported. You can run this command to set the number of alarms reported at an interval.
Precautions
When you run the mac-address trap hash-conflict history command multiple times, only the latest configuration takes effect.