Cisco Systems OL-7029-01 manual Slb-policy virtual server submode, No slb-policy policy-name, 177

Models: OL-7029-01

1 342
Download 342 pages 1.49 Kb
Page 199
Image 199

Chapter 2 Content Switching Module with SSL Commands

slb-policy (virtual server submode)

slb-policy (virtual server submode)

To associate a load-balancing policy with a virtual server, use the slb-policycommand in the SLB virtual server configuration submode. To remove a policy from a virtual server, use the no form of this command.

slb-policypolicy-name [priority priority_value]

 

 

no slb-policy policy-name

 

 

 

 

 

Syntax Description

 

policy-name

Policy associated with a virtual server.

 

 

 

 

 

 

priority priority_value

(Optional) Specifies the order in which the policy is to be executed.

 

 

 

Valid values for priority_value are 1 (highest priority) through

 

 

 

12,287.

 

 

 

 

 

 

 

Defaults

 

This command has no default settings.

 

 

 

Command Modes

 

SLB virtual server configuration submode

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

CSM-S release 1.1(1)

This command was introduced.

 

 

 

 

 

 

CSM-S release 2.1(1)

The priority keyword was introduced.

 

 

 

 

Usage Guidelines

Note

Examples

Related Commands

Multiple load-balancing policies can be associated with a virtual server. URLs in incoming requests are parsed and matched against policies defined in the same order in which they are defined with this command. The policy name must match the name specified in a previous policy command.

If priority priority_value is not entered, policies are executed in the order in which they are entered. In this case, you should enter the highest priority policy first.

This example shows how to associate a policy with a virtual server:

Cat6k-2(config-slb-vserver)#slb-policy COOKIE-POLICY1 priority 2

advertise (virtual server submode) policy

show module csm owner

show module csm vserver redirect

 

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

 

 

 

 

 

OL-7029-01

 

 

2-177

 

 

 

 

 

Page 199
Image 199
Cisco Systems OL-7029-01 manual Slb-policy virtual server submode, Slb-policypolicy-name priority priorityvalue, 177