< Home

mac-address trap hash-conflict threshold

Function

The mac-address trap hash-conflict threshold command sets the lower alarm threshold for MAC address hash conflicts.

The mac-address trap hash-conflict threshold command restores the default value of the lower alarm threshold for MAC address hash conflicts.

By default, the lower alarm threshold for MAC address hash conflicts is 0.

Format

mac-address trap hash-conflict threshold threshold-value

undo mac-address trap hash-conflict threshold

Parameters

Parameter

Description

Value

threshold-value

Specifies the lower alarm threshold for MAC address hash conflicts.

The value is an integer that ranges from 0 to 20. The default value is 0.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the trap function for MAC address hash conflicts is configured on a switch, the switch sends an alarm if a MAC address hash conflict occurs. This helps you detect and rectify the fault in time.

If a small number of MAC address hash conflicts occur on the network and users do not need to be aware of the conflicts, you can run the mac-address trap hash-conflict threshold command on a switch to set the lower alarm threshold for MAC address hash conflicts. The switch sends an alarm only if the number of MAC address hash conflicts exceeds the lower alarm threshold.

Precautions

If you run this command multiple times, only the latest configuration takes effect.

If the lower alarm threshold for MAC address hash conflict is set to 20 on a device, the device does not report MAC address hash conflict alarms regardless of the number of MAC address hash conflict alarms generated during each period.

Example

# Set the lower alarm threshold for MAC address hash conflicts to 10.

<HUAWEI> system-view
[HUAWEI] mac-address trap hash-conflict threshold 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >