system : virtual-wan-link
 
virtual-wan-link
Use this command to configure a virtual WAN link composed of several network interfaces.
Syntax
config system virtual-wan-link
set load-balance-mode {measured‑volume‑based | source‑dest‑ip‑based | source‑ip‑based | usage‑based | weight‑based}
set load‑balance‑quality-mode {jitter‑based | latency‑based | none}
set status {enable | disable}
config members
edit <ID>
set detect-failtime <int>
set detect‑http‑get <str>
set detect‑http‑match <url_str>
set detect‑http‑port <port_int>
set detect‑interval <sec_int>
set detect‑protocol {http | ping | tcp‑echo | udp‑echo}
set detect‑recoverytime <int>
set detect‑server <svr_str>
set detect‑timeout <sec_int>
set gateway <ip4_addr>
set interface <interface_name>
set priority <int>
set spillover-threshold <kbs_int>
set weight <int>
set volume-ratio <int>
end
config service
edit <name_str>
set dst <addr_name>
set end-port <int>
set member <seq_int>
set mode <mode_str>
set protocol <int>
set quality-link <int>
set src <addr_name>
set start-port <int>
set tos <hex_mask>
set tos-mask <hex_mask>
end
 
Variable
Description
Default
load-balance-mode {measured‑volume‑based | source‑dest‑ip‑based | source‑ip‑based | usage‑based | weight‑based}
Select how the next hop route is chosen:
measured‑volume‑based
source‑dest‑ip‑based
source‑ip‑based
usage-based
weight-based
source‑ip‑based
load‑balance‑quality-mode {jitter‑based | latency‑based | none}
Select the quality measure used to chose the next hop route:
jitter
latency
none (quality not considered)
none
status {enable | disable}
Enable or disable virtual WAN link settings.
disable
config members variables
<ID>
Enter the index of the member network interface. To view a list of available interfaces, enter edit ?.
No default.
detect-failtime <int>
Enter the number of failures before server is considered lost. Range 1 to 10.
5
detect‑http‑get <str>
Enter the URL to use for HTTP detection.
/
detect‑http‑match <url_str>
Enter the expected HTTP-GET response string.
No default.
detect‑http‑port <port_int>
Enter the server’s detection port number.
80
detect‑interval <sec_int>
Enter the link health detection interval in seconds. Range 5 to 3600.
5
detect‑protocol {http | ping | tcp‑echo | udp‑echo}
Select the protocol used to monitor link health.
ping
detect‑recoverytime <int>
Enter the number of successful responses before failed link is considered recovered. Range 1 to 10.
5
detect‑server <svr_str>
Enter the name or IP address of the server used to monitor the link.
null
detect‑timeout <sec_int>
Enter the maximum time in seconds to wait for a detection reponse. Range 1 to 255.
1
gateway <ip4_addr>
Enter the gateway IP address.
0.0.0.0
interface <interface_name>
Enter the network interface to use.
No default.
priority <int>
Enter the administrative priority of this member. Range 0 to 4 294 967 295.
0
spillover-threshold <kbs_int>
Enter the link spillover threshold in kbit/s. Range 1 to 16 776 000. Enter 0 for unlimited.
0
weight <int>
Enter the administrative weight of this member. Range 0 to 255.
0
volume-ratio <int>
Enter the volume ratio for measured-volume load balancing. Range 0 to 255. This value divided by the sum of all member volume-ratio values is the percentage of link volume.
0
config service variables
<name_str>
Enter the name of the service.
No default.
dst <addr_name>
Enter the destination address name.
null
end-port <int>
Enter the end port of the port range. Available when protocol is TCP (6), UDP (17), or SCTP (132). Range 0 to 65 535
null
member <seq_int>
Enter the member sequence number.
0
mode <mode_str>
Enter the mode.
auto — assign link based on quality. This is not available if load-balance-quality-mode is none.
manual — assign to specific link
manual
protocol <int>
Enter the protocol. Range 0 to 255.
0
quality-link <int>
Enter the quality order among the members to which traffic is routed. "1" is highest, "n" is the worst for n members. Available if mode is auto.
0
src <addr_name>
Enter the source address name.
null
start-port <int>
Enter the beginning port of the port range. Available when protocol is TCP (6), UDP (17), or SCTP (132). Range 0 to 65 535
null
tos <hex_mask>
Enter the TOS bit pattern as an 8-bit hexadecimal value.
0x00
tos-mask <hex_mask>
Enter the TOS evaluated bits bit mask as an 8-bit hexadecimal value.
0x00