A 4G SIM card is inserted into the device, and the user accesses the 4G network through DDR dial-up.
Configure the detection device to automatically restart the modem when the network fails. The script is as follows:
#
nqa entry admin test1
type icmp-echo
destination ip 8.8.8.8
frequency 5000
history-record enable
probe count 10
probe timeout 500
reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type none
#
nqa schedule admin test1 start-time now lifetime forever
#
rtm cli-policy 1
event syslog priority 6 msg probe-fail occurs 1 period 1
action 0 cli system-view
action 1 cli controller Cellular1/0
action 2 cli modem reboot
user-role network-admin
commit
#
nqa schedule admin test1 start-time now lifetime forever