Configuring Server Load Balancing

IOS SLB Configuration Task List

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:

Command

Purpose

 

 

Router(config-slb-vserver)# client ip-addressnetwork-mask

Specifies which clients are allowed to use the

 

virtual server.

 

 

Router(config-slb-vserver)# delay duration

Specifies the amount of time IOS SLB 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 IOS SLB

 

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.

 

 

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:

Command

Purpose

 

 

Router(config-slb-vserver)# no advertise

Omits the virtual server IP address from the

 

routing protocol updates.

 

 

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)# inservice

Enables the virtual server for use by IOS SLB.

 

 

Cisco IOS IP Configuration Guide

IPC-144

Page 190
Image 190
Cisco Systems 78-11741-02 Adjusting Virtual Server Values, Preventing Advertisement of Virtual Server Address, IPC-144