Install guide
WAN Load Balancing add wanlb resource 1-17
Software Version 2.7.5
C613-10454-00 REV A
add wanlb resource
Syntax ADD WANLB RESource=interface [HEALthchecksipaddress=ipadd]
[WEIght={0..10000000|AUTOmatic|PERFectautomatic}]
Description This command adds a new resource to the WAN load balancer interface. By
default, a newly added resource is enabled. The state of a new resource is the
same as that of its associated IP interface. This means that the WAN load
balancer interface will be available whenever the interface is available. A
resource in the up state can participate in load balancing immediately.
Examples To add a new resource using the IP interface of PPP0 (which is configured for
PPP over a 64 kbps ISDN channel) use the command:
add wanlb res=ppp0 wei=64
Related Commands delete wanlb resource
set wanlb resource
show 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.