active-charging service ruledef http user-agent

Configures rule expressions to match the User-Agent.

Command Mode

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

Syntax

http user-agent [ case-sensitive ] operator user_agent_value 

case-sensitive

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

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • !contains : Does not contain.

  • !ends-with : Does not end with.

  • !present : Not present.

  • !starts-with : Does not start with.

  • = : Equal.

  • contains : Contains.

  • ends-with : Ends with.

  • present : Present.

  • regex : Regular expression.

  • starts-with : Starts with.

user_agent_value

Specify the HTTP user agent value to match.

Must be a string of 1-127 characters.

Usage Guidelines

Use this command to configure rule expressions to match user agent.