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.
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. |
- |
Usage Scenario
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.<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
<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