Chapter 5
Configuring Real Servers and Server Farms
Configuring URL Hashing
Beginning and ending patterns are restricted to fixed constant strings. General regular expressions
Note
cannot be specified as patterns. If no beginning pattern is specified, hashing begins at the beginning of
the URL. If no ending pattern is specified, hashing ends at the end of the URL.
This example shows how to configure beginning and ending patterns for URL hashing:
Router(config-module-csm)#
Router(config-module-csm)# vserver vs1
Router(config-slb-vserver)# virtual 10.1.0.81 tcp 80
Router(config-slb-vserver)# url-hash begin-pattern c&k= end-pattern &
Router(config-slb-vserver)# serverfarm farm1
Router(config-slb-vserver)# inservice
Router(config-slb-vserver)#
Router(config-slb-vserver)# exit
Router(config-module-csm)# exit
Catalyst 6500 Series Content Switching Module Configuration Note
5-8
OL-4612-01