trap-threshold crc-error mac-fcs-exc

Function

The trap-threshold crc-error mac-fcs-exc command enables a device to report MAC-layer bit error 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 bit error rate threshold-crossing alarms.

By default, a device is disabled from reporting MAC-layer bit error rate threshold-crossing alarms.

Format

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

undo trap-threshold crc-error

Parameters

Parameter Description Value
coefficient-value

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

The value is an integer ranging from 1 to 9.

exc-alarm-power

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

The value is an integer ranging from 2 to 5.

resume-threshold

Indicates a clearance threshold for MAC-layer bit error rate threshold-crossing alarms. If you do not specify this parameter, the system automatically decreases the alarm generation threshold by one order of magnitude to ensure link quality when the alarm is cleared. For example, if the alarm generation threshold is 2E-3 and this parameter is not specified, the system automatically sets the alarm clearance threshold to 2E-4.

The resume-threshold value cannot be greater than the alarm-threshold value.

exc-resume-power

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

The value is an integer ranging from 2 to 6.

trigger-lsp

Associates MAC-layer bit error rate threshold-crossing detection with LSP switching. This parameter is optional. If you do not specify this parameter and the MAC-layer bit error 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

Indicates a generation threshold for MAC-layer bit error rate threshold-crossing alarms.

-

mac-fcs-exc

MAC-layer bit errors cross 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 bit error rate reaches a specified alarm generation threshold, the system sends an alarm to the NMS. If the MAC-layer bit error 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-exc command to enable a device to report MAC-layer bit error rate threshold-crossing alarms and configure alarm generation and clearing thresholds.

Prerequisites

The trap-threshold crc-error mac-fcs-sd command has been run.

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-EXC alarm threshold to 1E-3 and the recovery threshold to 1E-4 on Ethernet 0/1/0.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet 0/1/0] trap-threshold crc-error mac-fcs-exc alarm-threshold 1 3 resume-threshold 1 4
# Set the MAC-FCS-EXC alarm threshold to 1E-3 and the recovery threshold to 1E-4 on the Ethernet 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-exc alarm-threshold 1 3 resume-threshold 1 4 trigger-lsp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >