active-charging service ruledef p2p traffic-type

Configures rule expression to match the traffic type.

Command Mode

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

Syntax

p2p traffic-type operator traffic_type 

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • = : Equals.

traffic_type

Specify the traffic type to match.

Must be one of the following:

  • ads

  • audio

  • file-transfer

  • im

  • streaming-audio

  • streaming-video

  • tunnel

  • unclassified

  • video

  • voipout

Usage Guidelines

Use this command to configure the system to detect voice or non-voice P2P traffic. When the detection of a protocol is enabled then the detection of sub-type is enabled by default.

Example

The following command configures the system to detect video traffic:
p2p traffic-type = video