< Home

mac-address trap hash-conflict interval

Function

The mac-address trap hash-conflict interval command sets the interval at which alarms are reported when the MAC address hash conflict occurs.

The undo mac-address trap hash-conflict interval command restores the default interval at which alarms are reported when the MAC address hash conflict occurs.

By default, alarms are reported at intervals of 60s when the MAC address hash conflict occurs.

Format

mac-address trap hash-conflict interval interval-time

undo mac-address trap hash-conflict interval

Parameters

Parameter

Description

Value

interval-time

Specifies the interval at which alarms are reported when the MAC address hash conflict occurs.

The value is an integer that ranges from 60 to 3600, in seconds. The default value is 60.

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 a small interval is used, alarms about MAC address hash conflicts are reported immediately. When there are many MAC address hash conflicts, many alarms are reported.

If a long interval is used and many MAC address hash conflicts occur, alarms will be suppressed. You can adjust the interval according to the requirements.

Precautions

When you run the mac-address trap hash-conflict interval command multiple times, only the latest configuration takes effect.

Example

# Set the interval at which alarms are reported to 90s when the MAC address hash conflict occurs.

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