Configuring Policies - Cisco catalyst 6500 series Configuration Note

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

Advertisement

Chapter 6
Configuring Virtual Servers, Maps, and Policies

Configuring Policies

Policies are access rules that traffic must match when balancing to a server farm. Policies allow the CSM
to balance Layer 7 traffic. Multiple policies can be assigned to one virtual server, creating multiple
access rules for that virtual server. When configuring policies, you first configure the access rules (maps,
client-groups, and sticky groups) and then you combine these access rules under a particular policy.
You must associate a server farm with a policy. A policy that does not have an associated server farm
Note
cannot forward traffic. The server farm associated with a policy receives all the requests that match that
policy.
When the CSM is able to match policies, it selects the policy that appears first in the policy list. Policies
are located in the policy list in the sequence in which they were bound to the virtual server.
A policy can be matched even if all the servers in the associated server farm are down. The default
behavior of the policy in that case is to not accept those connections and send back a reset (RST) to the
clients. To change this behavior, add a backup server farm for that policy.
You can reorder the policies in the list by removing policies and reentering them in the correct order. To
remove and enter policies, enter the no slb-policy policy name command and the slb-policy policy name
command in the virtual server submode.
To configure load-balancing policies, perform this task:
Command
Step 1
Router(config-module-csm)# policy policy-name
Step 2
Router(config-slb-policy)# url-map
url-map-name
Step 3
Router(config-slb-policy)# cookie-map
cookie-map-name
Step 4
Router(config-slb-policy)# header-map name
Step 5
Router(config-slb-policy)# sticky-group
group-id
Step 6
Router(config-slb-policy)# client-group value
| std-access-list-name
Step 7
Router(config-slb-policy)# serverfarm
serverfarm-name
Step 8
Router(config-slb-policy)# set ip dscp
dscp-value
1.
2.
OL-4612-01
Enter the exit command to leave a mode or submode. Enter the end command to return to the menu's top level.
The no form of this command restores the defaults.
Purpose
Creates the policy and enters the policy
submode to configure the policy attributes
Associates a URL map to a policy
have previously created and configured the URL
maps and cookie maps with the map command.
See the
"Configuring Generic Header Parsing"
section on page
Associates a cookie map to a policy
Associates an HTTP header map to a policy.
Associates this policy to a specific sticky
2
group
.
Configures a client filter associated with a
policy. Only standard IP access lists are used to
define a client filter.
Configures the server farm serving a particular
load-balancing policy. Only one server farm can
be configured per policy
Marks traffic with a DSCP value if packets
matched with the load-balancing policy
Catalyst 6500 Series Content Switching Module Configuration Note
Configuring Policies
2
. You must
6-12.
2
.
2
.
2
.
1
.
6-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents