Skip Headers
Oracle® Traffic Director Command-Line Reference
11g Release 1 (

Part Number E21037-03
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
PDF · Mobi · ePub



set-compression-rule-prop common_options --config=config_name --vs=vs_name --rule=compression_rule_name (property_name=property_value)+


Use this command to set or change properties of a compression rule for a virtual server.


For information about common_options, run the help command.


Specify the configuration name for which you want to set compression rule properties.


Specify the name of the virtual server.


Specify the compression rule name.



Specify name=value pairs for one or more properties that you want to define. The name=value pairs should be separated by spaces.

You can set the following compression rule properties:

insert-vary-header: Select to insert a vary:Accept-encoding header.
Values: true, false. Default: true.

compression-level: Specifies the compression level for the virtual server.
Values: 1 to 9. Specifying 1 yields better speed and specifying 9 yields best compression.


The property compression-level can accept default as a value. Default implies that the server will compute the value of this property at runtime.

fragment-size: Specifies the memory fragment size (in bytes) that is used by the compression library to control the compression rate.
Values: Any integer.

To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>


tadm set-compression-rule-prop --rule=Compression34 compression-level=9

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, create-compression-rule, delete-compression-rule, list-compression-rules, get-compression-rule-prop