Rewrite request-insert, Rewrite request-replace – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 319

Advertising
background image

Brocade Virtual ADX Server Load Balancing Guide

303

53-1003247-01

Command reference

5

rewrite request-insert

Use the rewrite request-insert option in the CSW policy configuration mode to insert content, as
shown in the following.

Virtual ADX(config-csw-mypolicy)#match r11 rewrite request-insert abc offset 4

Syntax: match rule-name rewrite request-insert {[ASCII-string [neg-offset decimal | offset

decimal]] | client-ip | header}

The ASCII-string variable specifies the value of the string for the offset options, listed below, in the
insert request.

The neg-offset parameter specifies the negative offset option for the insert request as the value
specified in the decimal variable.

The offset parameter specifies the positive offset option for the insert request as the value
specified in the decimal variable.

The client-ip parameter specifies the client IP option for the insert request.

NOTE

The value of the client-ip must be defined under the VIP command.

The header parameter specifies the header option for the insert request.

NOTE

The value of the header must be defined under the VIP command.

rewrite request-replace

Use this option in the CSW policy configuration mode to replace content, as shown in the following.

Virtual ADX(config-csw-mypolicy)#match r11 rewrite request-replace matched-string

Syntax: match rule-name rewrite request-replace {matched-string ASCII string | string

ASCIIstring-old ASCIIstring-new}

The matched-string parameter specifies the matched-string option for the request to replace a
string defined by a rule that is specified by the ASCII string variable.

The string parameter specifies that a string defined by the ASCIIstring-old variable must be
replaced by a string of the ASCIIstring-new variable.

Advertising