ltm profile request-adapt
ltm profile request-adapt(1) BIG-IP TMSH Manual ltm profile request-adapt(1)
NAME
request-adapt - Configures a HTTP request adaptation profile.
MODULE
ltm profile
SYNTAX
Configure the request-adapt component within the ltm profile module using the syntax shown in the following
sections.
CREATE/MODIFY
create request-adapt [name]
modify request-adapt [name]
options:
defaults-from [ [name] | none]
enabled [ yes | no ]
internal-virtual [ [name] | none]
preview-size [integer]
service-down-action [ ignore | reset | drop ]
timeout [integer]
allow-http-10 [ yes | no ]
edit request-adapt [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
mv request-adapt [ [[source-name] [destination-name]] | [[name] to-folder [folder-name]] | [[name...name] to-folder [folder-name]] ]
options:
to-folder
reset-stats request-adapt
reset-stats request-adapt [ [ [name] | [glob] | [regex] ] ... ]
DISPLAY
list request-adapt
list request-adapt [ [ [name] | [glob] | [regex] ] ... ]
show running-config request-adapt
show running-config request-adapt [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
one-line
partition
show request-adapt
show request-adapt [ [ [name] | [glob] | [regex] ] ... ]
options:
(default | exa | gig | kil | meg | peta | raw | tera | yotta | zetta)
field-fmt
DELETE
delete request-adapt [name]
DESCRIPTION
You can use the request-adapt component to manage a HTTP request adaptation profile.
EXAMPLES
create request-adapt my_req_adapt defaults-from request-adapt
Creates a HTTP request adaptation profile named my_req_adapt using the system defaults.
create request-adapt my_req_adapt { enabled yes }
Creates a HTTP request adaptation profile named my_req_adapt that is enabled for adapting HTTP requests.
mv request-adapt /Common/my_requestadapt_profile to-folder /Common/my_folder
Moves a custom request-adapt profile named my_requestadapt_profile to a folder named my_folder, where
my_folder has already been created and exists within /Common.
defaults-from
Specifies the profile that you want to use as the parent profile. Your new profile inherits all of the
settings and values from the specified parent profile. The default value is requestadapt.
enabled
Enables adaptation of HTTP requests. If set to yes, HTTP requests will be forwarded to the specified
internal virtual server for adaptation. The default value is yes.
internal-virtual
Specifies the name of the internal virtual server to use for adapting the HTTP request.
preview-size
Specifies the maximum size of the preview buffer. The preview buffer is used to hold a copy of the HTTP
request header and data sent to the internal virtual server in case the adaptation server reports that it
does not need to adapt the HTTP request. Setting the preview-size to 0, disables buffering the request
and should only be done if the adaptation server will always return with a modified HTTP request or the
original HTTP request. The default value is 1024.
service-down-action
Specifies the action to take if the internal virtual server does not exist or returns an error. The
default value is ignore.
The options are:
ignore
Ignore the error and send the unmodified HTTP request to a HTTP server selected from this virtual
server's pool.
drop Drop the connection.
reset
Reset the connection.
timeout
Specifies a timeout in milliseconds. If the internal virtual server does not return a result within the
specified time, a timeout error will occur. If preview-size is 0, the countdown will start after the
entire content has been sent for adaptation. A 0 value disables the timeout. The default value is 0.
to-folder
request-adapt profiles can be moved to any folder under /Common, but configuration dependencies may
restrict moving the profile out of /Common.
allow-http-10
Specifies whether to forward HTTP version 1.0 requests for adaptation. By default only HTTP version 1.1
requests are forwarded. Version 1.0 is not supported. While it should work in most cases, it might be
necessary to restrict adaptation on a site-specific basis. The default value is no.
SEE ALSO
create, delete, edit, glob, list, ltm virtual, modify, mv, regex, reset-stats, show, tmsh, ltm profile
response-adapt
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose
other than the purchaser's personal use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2012-2013, 2015. All rights reserved.
BIG-IP 2017-05-24 ltm profile request-adapt(1)