для Cisco Cisco ASR 5700
ACS Ruledef Configuration Mode Commands
▀ http content length
▄ Command Line Interface Reference, StarOS Release 17
872
http content length
This command allows you to define rule expressions to match the value in HTTP Content-Length entity-header field.
Product
ACS
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > Ruledef Configuration
active-charging service service_name > ruledef ruledef_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-acs-ruledef)#
Syntax
[ no ] http content length operator content_length
no
If previously configured, deletes the specified rule expression from the current ruledef.
operator
Specifies how to match.
operator
must be one of the following:
!=
: Does not equal
<=
: Lesser than or equals
=
: Equals
>=
: Greater than or equals
content_length
Specifies the HTTP body length (in bytes) to match.
content_length
must be an integer from 1 through 4000000000.
Usage
Use this command to define rule expressions to match value in HTTP Content-Length entity-header field.
In 14.0 and later releases, the ECS HTTP analyzer supports both CRLF and LF as valid terminators for HTTP
header fields.
In 14.0 and later releases, the ECS HTTP analyzer supports both CRLF and LF as valid terminators for HTTP
header fields.
Example
The following command defines a rule expression to match value of
10000
bytes in HTTP Content-Length
entity-header field:
http content length = 10000