Configuration
4.17 Scripts
4.17.3 Up/Down Scripts
Use the
Up/Down IPv4
and
Up/Down IPv6
page to create scripts executed when the Mobile
WAN connection is established (up) or lost (down). There is independent IPv4 and IPv6 dual
stack implemented in the router, so there is independent IPv4 and IPv6 Up/Down script.
IPv4
Up/Down Script
runs only on the IPv4 WAN connection established/lost,
IPv6 Up/Down Script
runs only on the IPv6 WAN connection established/lost. Any scripts entered into the
Up Script
window will run after a WAN connection is established. Script commands entered into the
Down
Script
window will run when the WAN connection is lost.
The changes in settings will apply after pressing the
Apply
button. Also you need to reboot the
router to make Up/Down Script work.
4.17.4 Example of IPv6 Up/Down Script
Figure 67: Example of IPv6 Up/Down Script
After establishing or losing an IPv6 WAN connection (connection to mobile network), the
router sends an email with information about the connection state. It is necessary to configure
SMTP
before.
Add this line to the
Up Script
field:
email -t [email protected] -s "Router" -m "Connection up."
Add this line to the
Down Script
field:
email -t [email protected] -s "Router" -m "Connection down."
UM Configuration OWL LTE M12
Rel. 06.1.09 - 07/2019
119
Summary of Contents for Hirschmann OWL LTE M12
Page 153: ......