standby-distribution-algorithm
This command specifies the distribution algorithm for incoming connections when standby group self-balancing is enabled for the Ethernet interface.
Syntax
standby-distribution-algorithm rr
standby-distribution-algorithm wlc
Availability
AppOpt feature.
Parameters
rr- Specifies the round-robin algorithm.
wlc- Specifies the weighted least connections algorithm. This setting is the default value.
Guidelines
The standby-distribution-algorithm command specifies the algorithm to distribute incoming connections. This command is meaningful only when self-balancing is enabled with the standby-self-balance command.
- The round-robin algorithm maintains a list of members and evenly distributes incoming connections among available members. The algorithm attempts to balance the incoming connection rate across members.
- The weighted least connection algorithm uses an internal CPU-based weight with the number of current connections to each member to distribute incoming connections among available member. A member receives a new connection that is based on a combination of its weight (or preference) and its number of active connections. The algorithm attempts to balance the connection completion rate across members so that each member has the same number of active connections.
Examples
- Enables self-balancing with the weighted least connections algorithm. This example
excludes the standby-distribution-algorithm command. The weighted least
connections algorithm is the default algorithm.
# standby-self-balance on - Enables self-balancing with the round-robin
algorithm.
# standby-self-balance on # standby-distribution-algorithm rr