Cisco Cisco Packet Data Gateway (PDG) Folheto
Diameter Endpoint Configuration Mode Commands
load-balancing-algorithm ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
3341
load-balancing-algorithm
This command configures the behavior for load balancing Diameters peers in the event of a failure of an active server.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > Diameter Endpoint Configuration
configure > context context_name > diameter endpoint endpoint_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-ctx-diameter)#
Syntax
load-balancing-algorithm { highest-weight | lowest-weight-borrowing min-active-servers
number }
number }
default load-balancing-algorithm
default
Configures this command with the default setting.
Default:
Default:
highest-weight
highest-weight
Selects an idle server with the highest weight in failure scenarios. If multiple servers have the same high
weight, load balancing is performed among those servers.
weight, load balancing is performed among those servers.
lowest-weight-borrowing min-active-servers number
Borrows an idle server with the lowest weight and adds it to the group of servers where load balancing is
performed.
performed.
number
specifies the number of servers that must always be available as active for load
balancing.
number
must be an integer from 2 through 4000.
Usage
Use this command to configure the behavior for load balancing Diameter peers in the event of a failure of an
active server.
active server.
Example
The following command configures the load balancing behavior for Diameter peers to borrowing minimally
active servers (lower weight) and maintaining an active server group of
active servers (lower weight) and maintaining an active server group of
30
servers:
load-balancing-algorithm lowest-weight-borrowing min-active-servers 30