Install guide

WAN Load Balancing set wanlb resource 1-33
Software Version 2.7.5
C613-10454-00 REV A
set wanlb resource
Syntax SET WANLB RESource=interface [HEALthchecksipaddress=ipadd]
[WEIght={0..10000000|AUTOmatic|PERFfectautomatic}]
Description This command sets the configuration of a resource. The weight parameter can
be changed when the resource is in either the up or down state. Changes to a
resource will take effect the next time the resource is used for a WAN load
balancer session. Attempting to change parameters when the WAN load
balancer resource is in the closing state will result in an error message. You can
check the WAN load balancer state by using the set wanlb resource command
on page 1-33.
Examples To set the weight of resource PPP0 when the selection method is weighted
lottery, use the command:
set wanlb res=ppp0 weight=640
Related Commands set wanlb
add wanlb resource
delete wanlb resource
set wanlb abd
Parameter Description
RESource An existing IP interface for the resource. Valid interfaces are:
eth (such as eth0, eth1)
PPP (such as ppp0, ppp1)
To see a list of current valid interfaces, use the show interface
command
.
This parameter must be specified before a new resource can be
created.
HEALthchecksipaddress The source IP address that the WAN load balancer resource uses
when transmitting healthchecks to a configured host(s). If this
parameter is not specified, the WAN load balancer will use the IP
interface address that it has associated with the resource.
This parameter is useful in VPN environments, where the
healthcheck host is located in the remote private network.
WEIght The preference factor that the WAN load balancer will apply to
a resource when creating a new WAN load balancer session. The
weight of a resource is only used when the configured WAN load
balancer select method is WLOTTERY (weighted lottery) or
WLEASTCONNECT (weighted least connect). The higher the
weight of a resource compared to the other resources, the more
likely are its chances of selection for the session.
Default: 10000
0..10000000 The specified weight is used.
AUTOmatic The weight is the specified (or auto-
negotiated) bandwidth of the WAN link.
PERFectautomatic The weight is the estimated bandwidth of
the WAN link, as detected automatically
through the adaptive bandwidth detection
(ABD) mechanism.See the set wanlb abd
command on page 1-30.