Chapter 2 Content Switching Module with SSL Commands

url-hash (virtual server submode)

url-hash (virtual server submode)

To set the beginning and ending pattern of a URL to parse URLs for the URL hash load-balancing algorithm, use the url-hashcommand in the SLB virtual server configuration submode. To remove the hashing from service, use the no form of this command.

url-hash {begin-pattern end-pattern}pattern

no url-hash

Syntax Description

Defaults

Command Modes

begin-pattern

Specifies the beginning of the URL to parse.

end-pattern

Specifies the ending of the URL to parse.

 

 

pattern

Pattern string to parse.

 

 

URL hashing is off.

 

SLB virtual server configuration submode

Command History

 

Release

Modification

 

 

CSM release 2.1(1)

This command was introduced.

 

 

 

 

 

 

CSM-S release 1.1(1)

This command was introduced.

 

 

 

 

 

The beginning and ending patterns apply to the URL hashing algorithm that is set using the predictor

Usage Guidelines

 

 

 

command in the SLB server farm submode.

 

 

 

Examples

 

This example shows how to specify a URL pattern to parse:

 

 

Cat6k-2(config-slb-vserver)#url hash begin pattern lslkjfsj

 

 

predictor (serverfarm submode)

Related Commands

 

 

 

show module csm vserver redirect

 

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

 

 

 

 

 

OL-7029-01

 

 

2-183

 

 

 

 

 

Page 205
Image 205
Cisco Systems OL-7029-01 manual Url-hash virtual server submode, Predictor serverfarm submode, 183