1
#
#
nqa entry 1 1
type icmp-echo
destination ip 114.114.114.114
frequency 2000
probe timeout 2000
reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only
#Track linkage is triggered when icmp packet detection fails for five times
NQA test groups periodically detect whether a destination IP address is reachable and whether TCP connections can be established with a destination server. If a Track item is associated with an NQA test group, the NQA module will notify the Track module that the monitoring object is abnormal when the number of consecutive probe failures reaches the specified threshold. The Track module will set the Track item associated with the NQA test group to Negative. Otherwise, the NQA module informs the Track module that the monitored object works normally and sets the status of the Track item to Positive.
#
track 2 nqa entry 1 1 reaction 1
#
ip route-static 0.0.0.0 0 Eth-channel1/0:0
ip route-static 0.0.0.0 0 Eth-channel1/1:0
#
#
controller Cellular1/0
eth-channel 0
sim backup enable track 2
#
controller Cellular1/1
eth-channel 0
sim switch-back enable wait-time 5 //If SIM 0 is used as the active SIM card, you can configure this parameter to perform switchback when the active SIM card is restored. However, one more flapping occurs after the configuration. Therefore, you are advised to set the interval to avoid frequent flapping caused by poor link quality
sim backup enable track 2