The trap-threshold crc-error packet-error-ratio command enables CRC error threshold crossing detection and sets an alarm generation threshold and alarm clearance threshold for the CRC error frame ratio.
The undo trap-threshold crc-error command disables CRC error threshold crossing detection.
By default, CRC error threshold crossing detection is disabled, and no threshold is set for the CRC error frame ratio.
Parameter | Description | Value |
---|---|---|
coef-value |
Specifies the coefficient of the alarm threshold for the CRC error packet ratio (x in xE-y). |
The value is an integer that ranges from 1 to 9 . |
pow-value |
Specifies the power of the alarm threshold for the CRC error packet ratio (y in xE-y). |
The value is an integer that ranges from 1 to 5 . |
resume-threshold |
Specifies the threshold for a BER clear alarm. |
- |
rsm-coef-value |
Specifies the coefficient of the alarm recovery threshold for the CRC error packet ratio (x in xE-y). |
The value is an integer that ranges from 1 to 9 . |
rsm-pow-value |
Specifies the power of the alarm recovery threshold for the CRC error packet ratio (y in xE-y). |
The value is an integer that ranges from 1 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 reaches a specified alarm generation threshold, an alarm is sent to the NMS but LSP switching is not triggered. |
- |
trigger-section |
Enables the function of triggering a section switchover when the CRC error frame ratio reaches the alarm threshold. This is an optional parameter. If it is not specified, an alarm is generated but section switching is not triggered when the CRC error frame ratio reaches the alarm threshold. |
- |
alarm-threshold |
Specifies a BER alarm generation threshold. |
- |
Usage Scenario
To set an alarm generation threshold and an alarm clearance threshold for the CRC error frame ratio, run the trap-threshold crc-error packet-error-ratio command. The system reports an alarm to the NMS. If the trigger-lsp or trigger-section parameter is specified, an alarm triggers LSP or section switching.
Configuration Impact
If the trigger-lsp or trigger-section parameter is specified, traffic is switched to the standby link after an alarm is reported. If the trigger-lsp and trigger-section parameters are both configured on a physical interface, the later configuration takes effect. If the trigger-section parameter is configured and the CRC error frame ratio reaches the alarm threshold on a physical interface, section switching is triggered to set the link layer status for the interface to the bit error status. If an IGP and LDP use the interface as an outbound interface, LSP recalculation and convergence are triggered.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] trap-threshold crc-error packet-error-ratio alarm-threshold 3 2 resume-threshold 3 3 trigger-lsp