The trap-threshold pause-frame command sets upper and lower thresholds for the number of pause-frame errors and the interval at which pause-frame error alarms are generated.
The undo trap-threshold pause-frame command restores the default upper and lower thresholds for the number of pause-frame errors and the default interval at which alarms are generated.
By default, upper and lower thresholds for the number of pause-frame errors are 500 and 100, respectively, and pause-frame error alarms are reported every 10 seconds.
Parameter | Description | Value |
---|---|---|
high-threshold high-threshold |
Specifies an upper alarm threshold for the number of pause-frame errors. |
The value is an integer in the range from 1 to 4294967295. The default value is 500. |
low-threshold low-threshold |
Specifies a lower alarm threshold for the number of pause-frame errors. |
The value is an integer in the range from 1 to 4294967295. The default value is 100. |
interval-second interval |
Specifies an interval at which pause-frame error alarms are generated. |
The value is an integer in the range from 1 to 65535, in seconds. The default value is 10. |
Usage Scenario
To set an upper threshold, lower threshold, detection interval for the pause-frame error alarm, run the trap-threshold pause-frame command. After this configuration is performed, a device generates an alarm and sends it to an NMS only when the number of pause-frame error packets sent or received by the device reaches the upper threshold for three consecutive detection intervals. The device sends a clear alarm to the NMS only when the number of pause-frame error packets sent or received by the device falls below the lower threshold for three consecutive detection intervals.
Precautions
The value of high-threshold must be greater than or equal to that of low-threshold.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] trap-threshold pause-frame high-threshold 1500 low-threshold 150 interval-second 15