Configuration examples
U
SER
G
UIDE
372
set trigger backup up set cron on
set trigger backup down set cron down
Practical example:
set eth0 ipaddr 2.21.172.162 netmask 255.255.255.248
set eth0 on
set eth1 ipaddr 192.168.1.254 netmask 255.255.255.0
set eth1 on
set gprs apn ibox.tim.it
set gprs idle 0
set gprs rx-idle 1800
set gprs no-default-route
set gprs masquerade
set gprs mtu 1500
set gprs debug
set gprs sgauth 1
set gprs pwroff-modem
set gprs sms-handle
set gprs off
set adsl encap rfc1483-llc
set adsl pvc-number 1
set adsl pvc atm0 vpi 8 vci 35
set adsl pvc atm0 service UBR
set adsl pvc atm0 pcr 0
set adsl pvc atm0 default-route
set adsl pvc atm0 no-masquerade
set adsl pvc atm0 ipaddr 88.34.53.2
set adsl pvc atm0 no-nexthop
set adsl pvc atm0 netmask 255.255.255.252
set adsl on
set backup checking-ipaddr 2.21.172.162 via bfd through-interface atm0
set backup check-interval 30
set backup check-retries 3
set backup check-wait 5
set backup deactivate-delay 30
set backup on
`
set trigger backup up send-sms -d 3333333333 ADLS DOWN BACKUP ON
set trigger backup up set gprs on
set trigger backup down send-sms -d 3333333333 ADLS UP BACKP OFF