Interfaces
Wide Area Networks (WANs)
LR54 User Guide
91
(config network interface my_wan ipv4 surelink)> restart_attempts
int
(config network interface my_wan ipv4 surelink>
where
int
is any number greater than
0
. The default is
1
.
6. Set the device to reboot when the interface is considered to have failed:
(config network interface my_wan ipv4 surelink)> reboot true
(config network interface my_wan ipv4 surelink>
Note
If the reboot parameter is enabled at the same time as the
restart
parameter, the
reboot
parameter takes precedence.
n
(Optional) Set the number of times that the Surelink test must fail before the device is
rebooted:
(config network interface my_wan ipv4 surelink)> reboot_attempts
int
(config network interface my_wan ipv4 surelink>
where
int
is any number greater than
0
. The default is
1
.
7. Add a test target:
(config network interface my_wan)> add ipv4 surelink target end
(config network interface my_wan ipv4 surelink target 0)>
8. Set the test type:
(config network interface my_wan ipv4 surelink target 0)> test
value
(config network interface my_wan ipv4 surelink target 0)>
where
value
is one of:
n
ping
: Tests connectivity by sending an ICMP echo request to a specified hostname or IP
address.
l
Specify the hostname or IP address:
(config network interface my_wan ipv4 surelink target 0)> ping_
host
host
(config network interface my_wan ipv4 surelink target 0)>
l
(Optional) Set the size, in bytes, of the ping packet:
(config network interface my_wan ipv4 surelink target 0)> ping_
size [
num
]
(config network interface my_wan ipv4 surelink target 0)>
n
dns
: Tests connectivity by sending a DNS query to the specified DNS server.
l
Specify the DNS server. Allowed value is the IP address of the DNS server.
(config network interface my_wan ipv4 surelink target 0)> dns_
server
ip_address
(config network interface my_wan ipv4 surelink target 0)>