< Home

error-down-threshold error-percentage

Function

The error-down-threshold error-percentage command configures the alarm threshold for received CRC packets causing an interface status to change to Error-Down against all the received packets on the interface and alarm interval.

The undo error-down-threshold error-percentage command deletes the configured alarm threshold and interval.

By default, the alarm threshold and interval are not configured.

Format

error-down-threshold error-percentage threshold-value interval interval-value

undo error-down-threshold error-percentage [ threshold-value interval interval-value ]

Parameters

Parameter Description Value

threshold-value

Specifies the alarm threshold for the percentage of received CRC packets causing an interface status change to Error-Down against all the received packets on the interface.

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

NOTE:

You are advised to set the threshold to be greater than or equal to the alarm threshold configured in the trap-threshold error-percentage command.

interval interval-value

Specifies the interval for calculating the percentage of received CRC packets causing an interface status to change to Error-Down against all the received packets on the interface.

The value is an integer that ranges from 10 to 65535, in seconds.

Views

Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the error-statistics threshold-event trigger error-down command is run and the number of error packets that the interface receives within a specified period exceeds the threshold, the interface status is triggered to change to Error-Down. By default, if an interface receives three CRC packets within 10 seconds, the interface status is triggered to change to Error-Down. When you want to use the percentage of received CRC packets against all the received packets as the threshold for triggering an interface status to change to Error-Down, run the error-down-threshold error-percentage command.

Precautions

  • This command is mutually exclusive to the error-down-threshold error-statistics command. After this command is configured, the error-down-threshold error-statistics command configuration does not take effect.
  • This command cannot be configured on stack interfaces.

Example

# Set the alarm threshold for the percentage of received CRC packets causing the interface status to change to Error-Down against all the received packets to 10% and the interval for calculating the percentage of received CRC packets against all the received packets to 30 seconds on GE0/0/1.

<HUAWEI> system-view
[HUAWEI] interface GigabitEthernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] error-down-threshold error-percentage 10 interval 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >