A-2
Catalyst 6500 Series Content Switching Module Configuration Note
OL-4612-01
Appendix A Configuration Examples
Configuring Router Mode with the MSFC on the Client Side
virtual 10.20.221.100 tcp www
serverfarm WEBFARM
persistent rebalance
inservice
# "persistence rebalance" is effective ONLY when performing
# L7 load balancing (parsing of URLs, cookies, header, ...)
# and only for HTTP 1.1 connections.
# It tells the CSM to parse and eventually make a new
# load balancing decision for each GET within the same
# TCP connection.
interface FastEthernet2/2
no ip address
switchport
switchport access vlan 220
# The above is the port that connects to the real servers
interface FastEthernet2/24
ip address 10.20.1.1 255.255.255.0
# The above is the interface that connects to the client side network
interface Vlan221
ip address 10.20.221.1 255.255.255.0
# The above is the MSFC interface for the internal VLAN used
# for MSFC-CSM communication
Output of show commands:
Cat6k-2# show mod csm 5 arp
Internet Address Physical Interface VLAN Type Status
--------------------------------------------------------------------
10.20.220.1 00-02-FC-E1-68-EB 220 -ALIAS- local
10.20.220.2 00-02-FC-E1-68-EC 220 --SLB-- local
10.20.220.10 00-D0-B7-A0-81-D8 220 REAL up(0 misses)
10.20.221.1 00-02-FC-CB-70-0A 221 GATEWAY up(0 misses)
10.20.221.5 00-02-FC-E1-68-EC 221 --SLB-- local
10.20.220.20 00-D0-B7-A0-81-D8 220 REAL up(0 misses)
10.20.220.30 00-D0-B7-A0-81-D8 220 REAL up(0 misses)
10.20.221.100 00-02-FC-E1-68-EB 0 VSERVER local
Cat6k-2# show mod csm 5 vlan detail
vlan IP address IP mask type
---------------------------------------------------
220 10.20.220.2 255.255.255.0 SERVER
ALIASES
IP address IP mask
--------------------------------
10.20.220.1 255.255.255.0
221 10.20.221.5 255.255.255.0 CLIENT
GATEWAYS
10.20.221.1
Cat6k-2#
Cat6k-2# show mod csm 5 real
real server farm weight state conns/hits
-------------------------------------------------------------------------
10.20.220.10 WEBFARM 8 OPERATIONAL 0
10.20.220.20 WEBFARM 8 OPERATIONAL 0
10.20.220.30 WEBFARM 8 OUTOFSERVICE 0