Command
Step 5
Router(config-slb-policy)# client-group value
| std-access-list-name
Step 6
Router(config-slb-policy)# serverfarm
serverfarm-name
Step 7
Router(config-slb-policy)# set ip dscp
dscp-value
1.
2.
This example shows how to configure load-balancing policies and associate them to virtual servers:
Router(config)# ip slb policy policy_sticky_ck
Router(config-slb-policy)# serverfarm pl_sticky
Router(config-slb-policy)# url-map map1
Router(config-slb-policy)# exit
Router(config)# ip slb vserver vs_sticky_ck
Router(config-slb-vserver)# slb-policy policy_sticky_ck
Configuring Maps
You configure maps to define multiple URLs and cookies into groups that can be associated with a policy
when you configure the policy. (See the
To add a URL map, perform this task:
Command
Step 1
Router(config)# ip slb map
url-map-name url
Step 2
Router(config-slb-map-url)
match protocol http url
url-path
1.
2.
Table 3
Convention
*
?
\
Bracketed range [0-9]
78-11631-02 Rev. A0
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.
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.
UNIX File Name Specifications
Catalyst 6000 Family Content Switching Module Installation and Configuration Note
Purpose
Configure a client filter associated with a policy.
Only standard IP access lists are used to define
a client filter. Refer to the Catalyst 6000 Family
Software Configuration Guide for information
about configuring access lists.
Configure the server farm serving a particular
load-balancing policy. Only one server farm can
be configured per policy
Mark traffic with a dscp-value if packets
matched with the load-balancing policy
"Configuring Policies" section on page
Purpose
Configure multiple URLs into a URL map in the URL map
submode. Regular expressions for URLs (for example url1 and
url2) are based on UNIX filename specifications
for more information.
Match the URL map with the URL path
Description
Zero or more characters.
Exactly one character.
Escaped character.
Matching any single character from the range.
Configuring the Content Switching Module
2
.
26.)
1, 2
. See
2
.
2
.
Table 3
27