Cisco catalyst 6500 series Configuration Note page 179

Content switching module
Hide thumbs Also See for catalyst 6500 series:
Table of Contents

Advertisement

Appendix A
Configuration Examples
no nat client
real name SERVER3
inservice
real name SERVER4
inservice
!
policy SOURCE-IP-50
client-group 50
serverfarm WEBFARM2
# A policy consists of a series of conditions, plus the actions to take if those
# conditions are matched. In this case, the only condition is client-group 50 which
# requires the incoming connection to match the standard access-list 50. The only action
# to take is to use server farm WEBFARM2 to serve those requests.
!
vserver WEB
virtual 10.20.221.100 tcp www
serverfarm WEBFARM
persistent rebalance
slb-policy SOURCE-IP-50
# Slb-policies associated to a virtual server are always examined in the order in which
# they are configured. The defintion of the server farm under the virtual server
# configuration is the default policy and is always used as a last resort if no policy
# matches, or if there are no policies configured.
# In this case, incoming requests are processed to see if they match the conditions of the
# slb-policy SOURCe-IP-50. If they do, then the server farm WEBFARM2 is used, otherwise
# the default policy is selected (for example, WEBFARM is used).
# If a default server farm is not configured, then connections that do not match any
# policy are dropped.
# This example shows how to configure the IOS standard access list. You can configure any
# of the 1-99 standard access lists, or you can configure named access lists
inservice
!
access-list 50 permit 10.20.1.100
Output of some show commands:
Cat6k-2# show mod csm 5 vser detail
WEB, type = SLB, state = OPERATIONAL, v_index = 18
virtual = 10.20.221.100/32:80 bidir, TCP, service = NONE, advertise = FALSE
idle = 3600, replicate csrp = none, vlan = ALL, pending = 30, layer 4
max parse len = 2000, persist rebalance = TRUE
ssl sticky offset = 0, length = 32
conns = 0, total conns = 0
Default policy:
server farm = WEBFARM, backup = <not assigned>
sticky: timer = 0, subnet = 0.0.0.0, group id = 0
Policy
-----------------------------------------------------
SOURCE-IP-50
(default)
# This example shows that six connections have matched the slb-policy SOURCE-IP-50.
Cat6k-2# sh mod csm 5 vser detail
WEB, type = SLB, state = OPERATIONAL, v_index = 18
virtual = 10.20.221.100/32:80 bidir, TCP, service = NONE, advertise = FALSE
idle = 3600, replicate csrp = none, vlan = ALL, pending = 30, layer 4
OL-4612-01
Tot matches
Client pkts
0
0
0
0
Catalyst 6500 Series Content Switching Module Configuration Note
Balancing Based on the Source IP Address
Server pkts
0
0
A-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents