Virtual Private Networks (VPN) IPsec
Digi Connect IT® 4 User Guide
349
l Set the type of IP connection:
(config vpn ipsec tunnel ipsec_example surelink tests 1)>
other_ip_version value
(config vpn ipsec tunnel ipsec_example surelink tests 1)>
where value is one of:
o
any: Either the IPv4 or IPv6 connection must be up.
o
both: Both the IPv4 or IPv6 connection must be up.
o
ipv4 The IPv4 connection must be up.
o
ipv6: The IPv6 connection must be up.
l The status required for the test to past.
(config vpn ipsec tunnel ipsec_example surelink tests 1)>
other_status value
(config vpn ipsec tunnel ipsec_example surelink tests 1)>
where value is one of:
o
up: The test will pass only if the referenced interface is up and passing its
own SureLink tests (if applicable).
o
down: The test will pass only if the referenced interface is down or failing its
own SureLink tests (if applicable).
f. Repeat for each additional test.
6. Add recovery actions:
a. Type ... to return to the root of the configuration:
(config vpn ipsec tunnel ipsec_example surelink tests 1)> ...
(config)>
b. Add a recovery action:
(config)> add vpn ipsec tunnel ipsec_example surelink actions end
(config vpn ipsec tunnel ipsec_example surelink actions 0)>
c. New actions are enabled by default. To disable:
(config vpn ipsec tunnel ipsec_example surelink actions 0)> enable false
(config vpn ipsec tunnel ipsec_example surelink actions 0)>
d. Create a label for the action:
(config vpn ipsec tunnel ipsec_example surelink actions 0)> label string
(config vpn ipsec tunnel ipsec_example surelink actions 0)>
e. Set the type of recovery action to reboot_device:
(config vpn ipsec tunnel ipsec_example surelink actions 0)> action
reboot_device
(config vpn ipsec tunnel ipsec_example surelink actions 0)>