< Home

mac-address threshold-alarm

Function

The mac-address threshold-alarm command configures upper and lower alarm thresholds for the MAC address usage.

The undo mac-address threshold-alarm command restores the default upper and lower alarm thresholds for the MAC address usage.

By default, the upper and lower alarm thresholds for the MAC address usage are 80% and 70% respectively. An alarm is sent when the MAC address usage is higher than 80% or lower than 70%.

Format

mac-address threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

undo mac-address threshold-alarm

Parameters

Parameter

Description

Value

upper-limit upper-limit-value

Specifies the upper alarm threshold for the MAC address usage, in percentage.

The value is an integer that ranges from 1 to 100. The default value is 80.

lower-limit lower-limit-value

Specifies the lower alarm threshold for the MAC address usage, in percentage.

The value is an integer that ranges from 1 to 100. The default value is 70. lower-limit-value must be smaller than or equal to upper-limit-value.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

MAC address resources are core resources of the device and the device supports limited MAC addresses. The MAC address usage affects device running. You can run the mac-address threshold-alarm command to configure upper and lower alarm thresholds for the MAC address usage. When the MAC address usage is larger than the upper alarm threshold or smaller than the lower alarm threshold, an alarm is generated to notify the administrator. The administrator then can learn the MAC address usage in a timely manner.

Precautions

When you run the mac-address threshold-alarm command multiple times, only the latest configuration takes effect.

Example

# Set upper and lower alarm thresholds for the MAC address usage to 90% and 20% respectively.

<HUAWEI> system-view
[HUAWEI] mac-address threshold-alarm upper-limit 90 lower-limit 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >