Configuring ADC Rule
To support activation of predefined ADC rules, you must configure the ADC rule in SMF with appropriate action priority, and adc keyword. The following is a sample configuration:
active-charging service service_name
rulebase rulebase_name
action priority action_priority dynamic-only adc ruledef ruledef_name charging-action charging_action_name
exit
ruledef ruledef_name
ip server-ip-address ipv4/ipv6_address/mask
ip server-ip-address ipv4/ipv6_address/mask
exit
exit
To mute the reporting, use the following CLI command under rulebase configuration:
action priority action_priority dynamic-only adc mute ruledef ruledef_name charging-action charging_action_name
To optimize the application reporting once per application, use the following CLI command under rulebase configuration:
adc app-notification once-per-app
To optimize the application reporting once per application per flow, use the following CLI command under rulebase configuration:
adc app-notification once-per-ipflow
NOTES:
-
rulebase rulebase_name : Enables the Active Charging Service Rulebase configuration
-
action priority action_priority : Assigns priority to a ruledef in the rulebase. Priority must be a unique integer value ranging 1–65535.
-
dynamic-only : Enables matching of dynamic rules with static rules for this action priority on a flow.
-
adc : Specifies the ruledef to-be given as ADC rule.
-
ruledef ruledef_name : Adds the specified ruledef to the current rulebase.
-
charging-action charging_action_name : Specifies the charging action.
-
description description : Adds specified text to the rule and action.
-
ip server-ip-address ipv4/ipv6_address/mask : Specifies the server IP address with subnet mask bit. For uplink packets (subscriber to network), this field matches the destination IP address in the IP header. For downlink packets (network to subscriber), this field matches the source IP address in the IP header.
-
once-per-app : Notifies APP_START or APP_STOP notification once per App ID.
-
once-per-ipflow : Notifies APP_START or APP_STOP notifications per App ID per IP flow.