The error-down-threshold error-statistics command configures the alarm threshold for error packets causing an interface status to change to Error-Down and interval for receiving error packets.
The undo error-down-threshold error-statistics command restores the default value of the alarm threshold and the alarm interval for error packets that cause the interface status to change to Error-Down.
By default, the alarm threshold for error packets is 3 and the alarm interval is 10 seconds.
error-down-threshold error-statistics threshold-value interval interval-value
undo error-down-threshold error-statistics
Parameter |
Description |
Value |
---|---|---|
threshold-value |
Specifies the alarm threshold for error packets that cause the interface status to change to Error-Down. |
The value is an integer that ranges from 1 to 65535. NOTE:
The threshold is greater than or equal to the alarm threshold for error packets configured by the trap-threshold error-statistics command. |
interval interval-value |
Specifies the alarm interval for error packets that cause the interface status to change to Error-Down. |
The value is an integer that ranges from 10 to 65535, in seconds. |
Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view
Usage Scenario
After an interface is configured to transit to the Error-Down state when the number of received error packets exceeds the threshold using the error-statistics threshold-event trigger error-down command, the interface transits to the Error-Down state when the number of received error packets exceeds the threshold within the specified interval. By default, an interface transits to the Error-Down state when the number of received error packets exceeds 3 within 10 seconds. Run the error-down-threshold error-statistics command to configure the interval and the threshold for received error packets.
Precautions
This command is not supported on the stack interface.
On a switch running a version earlier than V200R009C00, if the alarm threshold has been set to n and alarm interval to m seconds using the trap-threshold error-statistics threshold-value interval interval-value command, the error-down-threshold error-statistics n interval m configuration is automatically generated after the system software version is upgraded to V200R009C00 or a later version.
On a switch running a version earlier than V200R009C00, if the error-down-threshold error-statistics configuration exists on the switch, the configuration remains unchanged after the system software version is upgraded to V200R009C00 or a later version.
By default, the alarm threshold of error packets that cause the interface status to change to Error-Down is 10 and the alarm interval is 30 seconds.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] error-down-threshold error-statistics 10 interval 30