trap-threshold pause-frame

Function

The trap-threshold pause-frame command sets upper and lower thresholds for the number of pause-frame errors and the interval at which pause-frame error alarms are generated.

The undo trap-threshold pause-frame command restores the default upper and lower thresholds for the number of pause-frame errors and the default interval at which alarms are generated.

By default, upper and lower thresholds for the number of pause-frame errors are 500 and 100, respectively, and pause-frame error alarms are reported every 10 seconds.

Format

trap-threshold pause-frame high-threshold high-threshold low-threshold low-threshold interval-second interval

undo trap-threshold pause-frame [ high-threshold high-threshold low-threshold low-threshold interval-second interval ]

Parameters

Parameter Description Value
high-threshold high-threshold

Specifies an upper alarm threshold for the number of pause-frame errors.

The value is an integer in the range from 1 to 4294967295. The default value is 500.

low-threshold low-threshold

Specifies a lower alarm threshold for the number of pause-frame errors.

The value is an integer in the range from 1 to 4294967295. The default value is 100.

interval-second interval

Specifies an interval at which pause-frame error alarms are generated.

The value is an integer in the range from 1 to 65535, in seconds. The default value is 10.

Views

100GE interface view, 10G LAN interface view, 10G WAN interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, FlexE interface view, GE optical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

To set an upper threshold, lower threshold, detection interval for the pause-frame error alarm, run the trap-threshold pause-frame command. After this configuration is performed, a device generates an alarm and sends it to an NMS only when the number of pause-frame error packets sent or received by the device reaches the upper threshold for three consecutive detection intervals. The device sends a clear alarm to the NMS only when the number of pause-frame error packets sent or received by the device falls below the lower threshold for three consecutive detection intervals.

Precautions

The value of high-threshold must be greater than or equal to that of low-threshold.

Example

# On GE 0/1/0, set the upper threshold of the pause-frame error alarm to 1500, lower threshold to 150, and detection interval to 15 seconds.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] trap-threshold pause-frame high-threshold 1500 low-threshold 150 interval-second 15
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >