Configuring Server Load Balancing
IOS SLB Configuration Task List
IPC-144
Cisco IOS IP Configuration Guide
Adjusting Virtual Server Values
To change the default settings of the virtual server values, use the following commands in SLB virtual
server configuration mode as needed:
Preventing Advertisement of Virtual Server Address
By default, virtual server addresses are advertised. That is, static routes to the Null0 interface are
installed for the virtual server addresses. To advertise these static routes using the routing protocol, you
must configure redistribution of static routes for the routing protocol. To prevent the installation of a
static route, use the following command in SLB virtual server configuration mode:
Enabling the Virtual Server for Service
To place the virtual server into service, use the following command in SLB virtual server configuration
mode:
Command Purpose
Router(config-slb-vserver)# client ip-address network-mask Specifies which clients are allowed to use the
virtual server.
Router(config-slb-vserver)# delay duration Specifies the amount of time IOSSLB maintains
TCP connection context after a connection has
terminated. The default value is 10 seconds.
Router(config-slb-vserver)# idle duration Specifies the minimum amount of time IOSSLB
maintains connection context in the absence of
packet activity. The default value is 3600 seconds
(1 hour).
Router(config-slb-vserver)# sticky duration [group group-id]Specifies that connections from the same client
use the same real server, as long as the interval
between client connections does not exceed the
specified duration.
Router(config-slb-vserver)# synguard syn-count interval Specifies the rate of TCP SYNs handled by a
virtual server in order to prevent a SYN flood
denial-of -service attack.
Command Purpose
Router(config-slb-vserver)# no advertise Omits the virtual server IP address from the
routing protocol updates.
Command Purpose
Router(config-slb-vserver)# inservice Enables the virtual server for use by IOSSLB.