trap-threshold crc-error mac-fcs-sd

Function

The trap-threshold crc-error mac-fcs-sd command enables a device to report MAC-layer signal degradation (SD) rate threshold-crossing alarms and configures alarm generation and clearing thresholds.

The undo trap-threshold crc-error command disables a device from reporting MAC-layer SD rate threshold-crossing alarms.

By default, a device is disabled from reporting MAC-layer SD alarms.

Format

trap-threshold crc-error mac-fcs-sd alarm-threshold alarm-coefficient-value sd-alarm-power [ resume-threshold resume-coefficient-value sd-resume-power ] [ trigger-lsp ]

undo trap-threshold crc-error

Parameters

Parameter Description Value
sd-alarm-power

Specifies the power of the formula used to calculate the generation threshold for MAC-layer SD rate threshold-crossing alarms. The power is the y in the xE-y .

The value is an integer ranging from 5 to 9.

resume-threshold resume-coefficient-value

Packet error ratio coefficient (x of xE-y).

The value is an integer that ranges from 1 to 9.

sd-resume-power

Specifies the power of the formula used to calculate the clearance threshold for MAC-layer SD rate threshold-crossing alarms. The power is the y in the xE-y .

The value is an integer ranging from 5 to 10.

trigger-lsp

Associates MAC-layer SD detection with LSP switching. This parameter is optional. If you do not specify this parameter and the MAC-layer SD rate exceeds a specified alarm generation threshold, an alarm is sent to the NMS but LSP switching is not triggered.

-

crc-error

This object indicates that an alarm is generated when the number of CRC error packets exceeds the threshold.

-

alarm-threshold alarm-coefficient-value

Specifies the coefficient of the formula used to calculate the generation threshold for MAC-layer SD rate threshold-crossing alarms. The coefficient is the x in the xE-y .

The value is an integer that ranges from 1 to 9.

mac-fcs-sd

Indicates that the signal degrade at the MAC layer crosses the threshold.

-

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

  • If the MAC-layer SD rate reaches a specified alarm generation threshold, the system sends an alarm to the NMS. If the MAC-layer SD rate falls below a specified alarm clearing threshold, the system sends a clear alarm to the NMS.
  • To meet users' requirements on link quality, run the trap-threshold crc-error mac-fcs-sd command to enable a device to report MAC-layer SD rate threshold-crossing alarms and configure alarm generation and clearing thresholds.

Configuration Impact

If the MAC-layer bit error rate reaches a specified alarm generation threshold, the system sends an alarm to the NMS. If trigger-lsp is configured, LSP switching is triggered.

The following commands cannot coexist. The most recently run command overwrites the previous one.

  • trap-threshold crc-error
  • trap-threshold crc-error bit-error-ratio
  • trap-threshold crc-error high-threshold
  • trap-threshold crc-error { mac-fcs-exc | mac-fcs-sd }
  • trap-threshold crc-error percent
  • trap-threshold crc-error packet-error-ratio

Example

# Set the MAC-FCS-SD alarm threshold to 1E-5 and the recovery threshold to 1E-6 on the GE 0/1/0 interface, and associate the alarm with the LSP.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] trap-threshold crc-error mac-fcs-sd alarm-threshold 1 5 resume-threshold 1 6 trigger-lsp
# Set the MAC-FCS-SD alarm threshold to 1E-5 and the recovery threshold to 1E-6 on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] trap-threshold crc-error mac-fcs-sd alarm-threshold 1 5 resume-threshold 1 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >