Cisco Cisco ASR 5000
ACS Ruledef Configuration Mode Commands
http reply code ▀
Command Line Interface Reference, StarOS Release 18 ▄
903
http reply code
This command allows you to define rule expressions to match status code associated with HTTP response packets.
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 reply code operator reply_code
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
reply_code
Specifies the HTTP reply code to match.
reply_code
must be an integer from 100 through 599.
Usage
Use this command to define rule expressions to match status code associated with HTTP response codes.
Example
The following command defines a rule expression to match HTTP response code
204
:
http reply code = 204