A-10
Catalyst 6500 Series Content Switching Module Configuration Note
OL-4612-01
Appendix A Configuration Examples
Direct Access to Servers in Router Mode
Cat6k-2# show mod csm 5 sticky
group sticky-data real timeout
----------------------------------------------------------------
20 cookie 4C656B72:861F0395 10.20.220.20 1584
10 ip 10.20.1.100 10.20.220.10 778
Direct Access to Servers in Router Mode
This example shows how to configure a virtual server to give direct access to the backend servers when
you are using router mode:
Note In router mode, any connection that does not hit a virtual server is dropped.
module ContentSwitchingModule 5
vlan 220 server
ip address 10.20.220.2 255.255.255.0
alias 10.20.220.1 255.255.255.0
!
vlan 221 client
ip address 10.20.221.5 255.255.255.0
gateway 10.20.221.1
alias 10.20.221.2 255.255.255.0
# The alias IP is only required in redundant configurations
# This is the IP address that the upstream router (the MSFC
# in this case) will use as next-hop to reach the
# backend servers
# See below for the static route added for this purpose.
#
!
serverfarm ROUTE
no nat server
no nat client
predictor forward
#
# This serverfarm is not load balancing, but is simply
# routing the traffic according to the CSM routing tables
# The CSM routing table in this example is very simple,
# there is just a default gateway and 2 directly attached
# subnets.
#
# The "no nat server" is very important, since you do not
# want to rewrite the destination IP address when
# forwarding the traffic.
!
serverfarm WEBFARM
nat server
no nat client
real 10.20.220.10
inservice
real 10.20.220.20
inservice
!
vserver DIRECT-ACCESS
virtual 10.20.220.0 255.255.255.0 tcp 0