3. CONFIGURATION
3.22.2 Up/Down Script
Use the Up/Down page to create scripts executed when the Mobile WAN connection is
established (up) or lost (down). Up/Down Script runs only on the WAN connection established
or 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.
Example of Up/Down Script: After establishing or losing the WAN connection (connection
to mobile network), the router sends an email with information about the connection state. It
is necessary to configure SMTP before.
Figure 61: Example of Up/Down Script
105