The stack port { crc | link-flap } trigger command sets the stack port error-down parameters.
The undo stack port { crc | link-flap } trigger command restores the default settings of the stack port error-down parameters.
By default, the error-down alarm threshold is 10 times per minute, the error-down check interval is 3 minutes, and the alarm clearance interval is 0 (not cleared automatically).
stack port { crc | link-flap } trigger { threshold threshold | interval interval } *
undo stack port { crc | link-flap } trigger { threshold | interval }
stack port { crc | link-flap } trigger error-down auto-recovery-interval auto-recovery-interval
undo stack port { crc | link-flap } trigger error-down auto-recovery-interval
Parameter |
Description |
Value |
---|---|---|
crc | Sets the parameters for stack port error-down alarms triggered by CRC errors. | - |
link-flap | Sets the parameters for stack port error-down alarms triggered by port Up/Down transitions. | - |
threshold threshold | Specifies the error-down alarm threshold. |
The value is an integer. It ranges from 1 to 10000 for error-down alarms triggered by CRC errors and ranges from 3 to 30 for error-down alarms triggered by port Up/Down transitions. The unit is times per minute. |
interval interval | Specifies the error-down check interval. |
The value is an integer that ranges from 3 to 30, in minutes. |
auto-recovery-interval auto-recovery-interval | Specifies the error-down alarm clearance interval. |
The value is an integer that ranges from 3 to 30, in minutes. |
After the stack port error-down function is enabled, you can run the stack port { crc | link-flap } trigger command to adjust the related parameters.
# Set the clearance interval of stack port error-down alarms triggered by CRC errors to 3 minutes. That is, if the rate of received CRC error packets stays below the threshold for 3 minutes, the stack port changes to Up state and the error-down alarm is cleared.
<HUAWEI> system-view [HUAWEI] stack port crc trigger error-down auto-recovery-interval 3