2-103
Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference
OL-7029-01
Chapter 2 Content Switching Module with SSL Commands
predictor (serverfarm submode)
predictor (serverfarm submode)
To specify the load-balancing algorithm for the server farm, use the predictor command in the SLB
serverfarm configuration submode. To remove the load-balancing algorithm, use the no form of this
command.
predictor {roundrobin | leastconns [slowstart timer] | hash url | hash address [source |
destination] [ip-netmask] | forward]}
no predictor
Syntax Description
Defaults The default algorithm is round robin.
For the leastconns option, slowstart is disabled by default.
Command Modes SLB serverfarm configuration submode
Command History
roundrobin Selects the next servers in the list of real servers.
leastconns Selects the server with the least number of connections.
slowstart timer Specifies that the real server is in slow-start mode until the slowstart
timer value expires or the conn_count is equal to that of the ot her real
servers. Valid values are from 1 to 65535 seconds.
hash url Selects the server using a hash value based on the URL.
hash address Selects the server using a hash value based on the source and
destination IP addresses.
source (Optional) Selects the server using a hash value based on the source
IP address.
destination (Optional) Selects the server using a hash value based on the
destination IP address.
ip-netmask (Optional) Bits in the IP address to use for the hash. If not specified,
255.255.255.255 is assumed.
forward (Optional) Tells the CSM to forward traffic in accordance with its
internal routing tables.
Release Modification
CSM-S release 1.1(1) This command was introduced.
CSM-S release 2.1(1) Changed the ip-hash to the hash address source keyword and added
new keyword types of hash address, hash address destination,
hash url, and forward . In addition, the http-redirect command is
now hidden.
CSM-S release 2.1(1) The REAL_SLOW_START_ENABLE variable was included to
control the rate at which a real server ramps up and is put into service.
CSM-S release 2.1(1) The slowstart timer keyword was included to control the rate at
which a real server ramps up and is put into service.