Chapter 2 Content Switching Module with SSL Commands

maxconns (real server submode)

maxconns (real server submode)

To limit the number of active connections to the real server, use the maxconns command in the SLB real server configuration submode. To change the maximum number of connections to its default value, use the no form of this command.

maxconns max-conns no maxconns

Syntax Description

 

max-conns

Maximum number of active connections on the real server at any

 

 

 

time; the range is from 1 to 4294967295.

 

 

 

 

 

 

 

Defaults

 

The default value is the maximum value or infinite (not monitored).

 

 

 

Command Modes

 

SLB real server configuration submode

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

CSM release 1.1(1)

This command was introduced.

 

 

 

 

 

 

CSM-S release 1.1(1)

This command was introduced.

 

 

 

 

 

When you specify the minconns command, you must also specify the maxconns command. In all

Usage Guidelines

 

 

 

releases, when the MINCONNS value is set, once a real server has reached the maximum connections

 

 

(MAXCONNS) state, no additional session is balanced to it until the number of open sessions to that

 

 

real server falls below MINCONNS.

 

 

 

Examples

 

This example shows how to limit the connections to a real server:

 

 

Cat6k-2(config-slb-sfarm)# real 10.2.2.1

 

 

Cat6k-2(config-slb-real)# maxconns 4000

 

 

minconns (real server submode)

Related Commands

 

 

 

real

 

 

 

show module csm real

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

OL-7029-01

2-77

 

 

 

Page 99
Image 99
Cisco Systems OL-7029-01 Maxconns real server submode, Maxconns max-conns no maxconns, Real server falls below Minconns