active-charging service ruledef www host

Configures rule expression to match the "host name" header field present in HTTP/WSP headers.

Command Mode

Exec > Global Configuration (config) > ACS Configuration (config-service-acs_name ) > Ruledef Configuration (config-ruledef-ruledef_name )

Syntax

www host [ case-sensitive ] operator host_name 

case-sensitive

Specify the rule expression must be case-sensitive. By default, rule expressions are not case-sensitive.

host_name

Specify the WWW host name to match.

Must be a string of 1-127 characters.

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • !contains : Does not contain.

  • !ends-with : Does not end with.

  • !starts-with : Does not start with.

  • = : Equals.

  • contains : Contains.

  • ends-with : Ends with.

  • regex : Regular expression.

  • starts-with : Starts with.

Usage Guidelines

Use this command to define rule expressions to match the host name header field present in HTTP/WSP headers.

Example

The following command defines a rule expression to match user traffic based on WWW host name "host1":
www host = host1