Null
The customer uses a MSR810S router with dual 4G uplink ports. The network data is sent from the master interface. When the master interface fails, the device responds and sends data from the standby interface. Implementation mode: LINKAGE between NQA detection and Track is implemented together with iterative routing.
#
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
#
2、Configure an iterative route
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 you want SIM 0 to work as the master, you can configure this parameter when switching back when the master recovers. 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
Key Configuration Points
MSR supports a large number of 4G models. Some devices can realize dual-card dual-standby due to additional cards or their own support, that is, the interfaces where the two SIM cards are located can be up at the same time, so the hot spare function can be realized. On other devices, only one interface is in up state by default. You need to use the solution provided in this case to implement the active/standby switchover.