24
Catalyst 6000 Family Content Switching Module Installation and Configuration Note
78-11631-02 Rev. A0
Configuring the Content Switching Module
This example shows how to configure the CSM for server-side VLANs:
Router(config)# ip slb vlan 150 server
Router(config-slb-vlan-server)# ip addr 123.46.50.6 255.255.255.0
Router(config-slb-vlan-server)# route 123.50.0.0 255.255.0.0 gateway 123.44.50.1
Router(config-slb-vlan-server)# alias 123.60.7.6 255.255.255.0
Router(config-slb-vlan-server)# exit
Configuring Server Farms
A server farm or server pool is a collection of servers that contain the same content. You specify the
server farm name when you configure the server farm and add servers to it, and when you bind the server
farm to a virtual server. Configuring server farms requires naming the server farm, configuring a
load-balancing algorithm (predictor) and other attributes of the farm, setting or specifying a set of real
servers (see the “Configuring Real Servers” section on page25), and setting or specifying the attributes
of the real servers.
When you configure server farms, you must perform the following:
Create the server farm
Configure the server farm
Create real servers
Configure the real servers
To configure server farms, perform this task:
Command Purpose
Step1 Router(config)# ip slb serverfarm
serverfarm-name
Create and name a server farm and enter the
server farm configuration mode1 2.
1. Enter the exit co mmand to leave a mode or submode. Enter the end command to return to the menu’s top level.
2. The no form of this command restores the defaults.
Step2 Router(config-slb-sfarm)# predictor
[roundrobin | leastconns | ip-hash netmask]
Configure the load-balancing prediction
algorithm2. If not specified, the default is
roundrobin.
Step3 Router(config-slb-sfarm)# nat client
client-pool-name
Enable the NAT mode, client2. Refer to the
“Configuring Client NAT Pools” section on
page 333.
3. This step is optional.
Step4 Router(config-slb-sfarm)# probe probe-name Associate the server farm to a probe that can be
defined by the probe command2, 3.
Step5 Router(config-slb-sfarm)# bindid bind-id Bind a single physical server to multiple server
farms and report a different weight for each
one2. The bindid is used by DFP3.
Step6 Router# show ip slb serverfarm
serverfarm-name [detail]
Display information about one or all server
farms.