trap-threshold sdh-error

Function

The trap-threshold sdh-error command sets a threshold and detection interval for the SDH error alarm.

The undo trap-threshold sdh-error command restores the threshold and detection interval of the SDH error alarm to the default values.

The trap-threshold sdh-error high-threshold low-threshold command sets an upper threshold, lower threshold, and detection interval for the SDH error alarm.

The undo trap-threshold sdh-error high-threshold low-threshold command restores the upper threshold, lower threshold, and detection interval of the SDH error alarm to the default values.

By default, the upper threshold of the SDH error alarm is 1000, the lower alarm threshold is 100, and the detection interval is 10 seconds.

This command is supported only on the NetEngine 8000 F1A.

Format

trap-threshold sdh-error high-threshold high-threshold low-threshold low-threshold interval-second interval-value

trap-threshold sdh-error threshold-value interval-second interval-value

undo trap-threshold sdh-error

Parameters

Parameter Description Value
high-threshold high-threshold

Specifies an alarm threshold for SDH error frames.

The value is an integer that ranges from 1 to 4294967295. The default value is 1000.

low-threshold low-threshold

Specifies a detection interval for SDH error frames.

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

interval-second interval-value

Specifies a detection interval for SDH error frames.

The value is an integer that ranges from 1 to 65535. The default value is 10.

threshold-value

Specifies an alarm threshold for SDH error frames.

The value is an integer that ranges from 1 to 65535. The default value is 1000.

Views

10G WAN interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

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

Precautions

The configured thresholds take effect only when the SDH alarm function is enabled. You can run the snmp-agent trap enable port sdh-error command to enable the SDH alarm function on an interface.

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

Example

# On WAN port 0/1/0, set the upper threshold of the SDH 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 sdh-error high-threshold 1500 low-threshold 150 interval-second 15
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >