Command Line Interface Reference Guide > The SLB Configuration Menu
/cfg/slb/accel/compress/brwslist/rule
Compression Browser Rule Menu
Browser compression exceptions rules are based on an object’s user agent (browser type) and/or content type (file type). A rule can be added, removed, or copied. The maximum number of rules in a rule list is 512.
The rules are evaluated according to their priority, with the lowest number getting evaluated first. After a rule is matched and acted upon, the remaining rules in the list are not evaluated for that object. Rules display in numerical order.
At the prompt enter the rule number to determine its priority:
 
>> Compression Browser Rule-List url1# rule
Enter compression Browser Exception Rule Number (1-51200):
A menu similar to the following displays:
 
[Compression Browser Rule-list Rulelist 1 Rule 1 Menu]
name - Set descriptive rule name
agentm - Set user agent matching method
agent - Set user agent to be matched by this rule
contentm - Set content type matching method
content - Set content type to be matched by this rule
compress - Enable/Disable compression
copy - Copy rule
ena - Enable rule
dis - Disable rule
del - Delete rule
cur - Display current rule configuration
 
Compression Browser Rule Menu 
Command Syntax and Usage
name
 
The name of the rule that displays in the rule list.
Values: 0 – 31 characters
agentm
 
Determines how user agent matching should be evaluated.
Note: Simple wildcards, such as question marks and asterisks are not considered regex and will not result in the desired behavior. The regex match for the simple wildcard asterisk (*) is dot-asterisk (.*)
Values: text, regexp, any (any domain)
Default: any
agent
 
The optional agent matching configuration defines the user agent string for which this rule applies. Use this parameter only when agent matching method is not set to any.
contentm
 
Determines how content type matching should be evaluated.
Note: Simple wildcards, such as question marks and asterisks are not considered regex and will not result in the desired behavior. The regex match for the simple wildcard asterisk (*) is dot-asterisk (.*)
Values: text, regexp, any (any content type)
Default: any
content
 
Determines the content of the specific object to be matched by this rule. Use this parameter only when the content matching method is not set to any.
compress
 
Enables or disables compression as the rule action:
*enabled — The matched response is compressed.
*disabled — The matched response is not compressed.
Default: disabled
copy
 
Copies a rule to another rule number in the same rule list. This can also change the priority of a rule.
ena
 
When you configure the rule, it is disabled by default. For the rule to be operational, you must first enable and apply it.
dis
 
Disables a rule to make it non-operational.
del
 
Deletes this rule.
cur
 
Displays the current rule configuration.