22: Configuring Connection Watch (cwatch)
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW2020 Series User Manual
Issue: 2.1
Page 222 of 423
Figure 112: The connection watch configuration page
Web Field/UCI/Package Option
Description
Web: Enabled
UCI: cwatch.@watch[0].enabled
Opt: enabled
Enables a cwatch instance.
0
Disabled.
1
Enabled.
Web: Interfaces
UCI: cwatch.@watch[0].test_ifaces
Opt: test_ifaces
Defines the interface name(s) to monitor. Multiple interfaces are
delimited by space separator. Example:
option test_ifaces ‘WANADSL WANMOBILE`
If multiple interfaces are defined the failure action will only be
triggered if no traffic is received on all interfaces for the defined
period.
Web: Failure Time for Action 1
UCI: cwatch.@watch[0].failure_time_1
Opt: failure_time_1
Defines a duration to monitor an interface for receive traffic.
Duration can be specified in seconds, minutes, hours, days.
1h
Range
s; m; h; d;
Web: Failure Action 1
UCI: cwatch.@watch[0].failure_action_1
Opt: failure_action_1
Defines the failure action associated with failure_time_1.
Example to force up interface:
option failure_action_1 ‘ifup wan’
blank
Range