transmission-alarm holdoff-timer (system view)

Function

The transmission-alarm holdoff-timer command enables the global filtering function for alarm messages and sets an interval for filtering alarm messages.

The undo transmission-alarm holdoff-timer command disables the global filtering function for alarm messages.

By default, the global filtering function for alarm messages is not enabled.

Format

transmission-alarm holdoff-timer holdoff-time

undo transmission-alarm holdoff-timer [ holdoff-time ]

Parameters

Parameter Description Value
holdoff-time

Specifies an interval for filtering delayed alarm messages. (If an alarm message is received within the interval, the message is filtered. Otherwise, the alarm is responded to.).

The value is an integer ranging from 20 to 10000, in milliseconds.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

The frequent generation of alarms causes the interface status to continuously alternate between Up and Down at the physical layer. To enable the interface to ignore alarms and clear alarms within a specified interval, run the transmission-alarm holdoff-timer command to set an interval for filtering alarm-clear messages.

Prerequisites

The alarm customization function has been enabled on an interface.

Configuration Impact

After this command is executed, the interface goes Down after <holdoff-timer> milliseconds.

Precautions

In VS mode, this command is supported only by the admin VS.

Specify the holdoff-time parameter based on the flapping frequency of an interface.

If this command is run in the system view and the non-default configuration of this command exists in the interface view, the configuration on the interface takes effect. If the configuration in the interface view is the default configuration, the global configuration takes effect.

Example

# Enable the global filtering function for alarm messages on an interface and set the filtering interval to be 100 ms.
<HUAWEI> system-view
[~HUAWEI] transmission-alarm holdoff-timer 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >