< Home

mac-address trap hash-conflict history

Function

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.

Format

mac-address trap hash-conflict history history-number

undo mac-address trap hash-conflict history

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the number of alarms reported at an interval to 12 when the MAC address hash conflict occurs.

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