Fortinet black logo

LB commands

Copy Link
Copy Doc ID 65767403-7ad4-11ea-9384-00505692583a:559560
Download PDF

LB commands

LB:routing(value)

Route the request to the content routing server.

Syntax

LB:routing(value);

Arguments

Name Description

value

A string which specifies the content routing to route.

Examples

when HTTP_REQUEST {

LB:routing(“content_routing1”);

}

--supports multiple routing

LB:routing(“cr1”)

LB:routing(“cr2”)

--It will be routed to cr2; the final one prevails.

Note:

When a VS enable both content-routing and scripting, then will perform cross check, check the content-routing used in scripting is used to the vs.

FortiADC version: V4.3

Used in events:

Used in HTTP_REQUEST / HTTP_DATA_REQUEST

LB commands

LB:routing(value)

Route the request to the content routing server.

Syntax

LB:routing(value);

Arguments

Name Description

value

A string which specifies the content routing to route.

Examples

when HTTP_REQUEST {

LB:routing(“content_routing1”);

}

--supports multiple routing

LB:routing(“cr1”)

LB:routing(“cr2”)

--It will be routed to cr2; the final one prevails.

Note:

When a VS enable both content-routing and scripting, then will perform cross check, check the content-routing used in scripting is used to the vs.

FortiADC version: V4.3

Used in events:

Used in HTTP_REQUEST / HTTP_DATA_REQUEST