You are asked by your manager to automatically switch traffic from the primary link to the backup link on the MX Series device at the branch site whenever latency is above 300 ms over a 5-minute period.
Which type of Junos script would you use in this scenario?