trap-threshold crc-error percent

Function

The trap-threshold crc-error percent command enables CRC error threshold crossing detection and sets an alarm threshold for the CRC error percentage.

The undo trap-threshold crc-error command disables CRC error threshold crossing detection.

By default, CRC error detection is disabled, and no alarm threshold is set for the CRC error percentage.

Format

trap-threshold crc-error percent percent

undo trap-threshold crc-error

Parameters

Parameter Description Value
percent

Specifies an alarm threshold in percentage.

The value is an integer ranging from 1 to 100.

crc-error

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

-

Views

100GE interface view, 10G LAN interface view, 10G WAN interface view, 25GE 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 enable CRC error threshold crossing detection and set an alarm threshold for the CRC error percentage, run the trap-threshold crc-error percent command. When the percentage of CRC error frames to the total number of packets reaches the specified threshold, the device generates an alarm and sends it to an NMS. When the percentage of CRC error frames to the total number of packets falls below the specified threshold, the device generates a clear alarm and sends it to the NMS.

Alarm threshold in percentages = Number of CRC error frames received by an interface within 1 second/Total number of packets received by an interface within 1 second

Precautions

The configured alarm threshold takes effect only when the alarm function is enabled for CRC errors. You can run the snmp-agent trap enable port crcexc-error command to enable the alarm function for CRC errors on an interface.

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

# On GE 0/1/0:1, set the alarm threshold in percentage for CRC errors to 10%.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0:1
[*HUAWEI-GigabitEthernet0/1/0:1] trap-threshold crc-error percent 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >