unknown-unicast alarm-threshold

Function

The unknown-unicast alarm-threshold command enables the alarming function for unknown unicast traffic on a specified interface and sets an alarm threshold.

The undo unknown-unicast alarm-threshold command disables the alarming function and deletes the alarm threshold on the interface.

By default, the alarming function for unknown unicast traffic is disabled, and the alarm threshold is 100%.

Format

unknown-unicast alarm-threshold alarm-threshold

undo unknown-unicast alarm-threshold

Parameters

Parameter Description Value
alarm-threshold

Specifies the alarm threshold for unknown unicast traffic, which is the maximum percentage. When the ratio of unknown unicast traffic to the total traffic on an interface reaches or exceeds the specified alarm threshold, an alarm is generated.

The value is an integer ranging from 1 to 100.

Views

Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, Layer 2 Eth-Trunk interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

Lots of unknown unicast traffic on an interface consumes many network bandwidths, causing network performance deterioration or even a traffic interruption. To enable the alarming function for unknown unicast traffic on a specified interface and set an alarm threshold, run the unknown-unicast alarm-threshold alarm-threshold command. This configuration helps monitor unknown unicast traffic in real time.

Prerequisites

The command takes effect only after the statistic enable command is run to enable statistics collection.

Precautions

If the VLAN statistics function is not configured, the unknown-unicast alarm-threshold command configuration does not take effect.

The unknown-unicast alarm-threshold command can only be run in the statistic mode mac mode.

Example

# Enable the alarming function for unknown unicast traffic on GE 0/1/1.1 and set the alarm threshold to 15%.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1.1
[~HUAWEI-GigabitEthernet0/1/1.1] statistic enable
[*HUAWEI-GigabitEthernet0/1/1.1] statistic mode mac
[*HUAWEI-GigabitEthernet0/1/1.1] unknown-unicast alarm-threshold 15
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >