The link-quality-detection interval number command sets the interval for sending link quality detection packets and the number of link quality detection packets sent within a detection cycle.
The undo link-quality-detection interval number command restores the default settings.
link-quality-detection interval interval-number number packet-number
undo link-quality-detection interval interval-number number packet-number
| Parameter | Description | Value |
|---|---|---|
| interval-number | Specifies the interval for sending link quality detection packets. |
The value is an integer ranging from 1 to 3, in seconds. The default value is 1 second. |
| packet-number | Specifies the number of link quality detection packets sent within a detection cycle. |
The value is an integer ranging from 1 to 30. The default value is 10. If more than 50 ACL rules are configured for IPSec, do not change the value of this parameter to a value less than 10. |
After packet-number of link quality detection packets are sent, the FW will calculate the delay and packet loss rate and compare them with those specified in the link-quality-threshold loss delay command. If the delay or packet loss rate exceeds the upper threshold, a link switchover is triggered.
# Set the interval for sending link quality detection packets to 2s and the number of link quality detection packets sent within a detection cycle to 15.
<sysname> system-view [sysname] ipsec smart-link profile profile1 [sysname-ipsec-smart-link-profile-profile1] link-quality-detection interval 2 number 15