> Accounting Policy Configuration Mode Commands
> The Accounting Policy Configuration Mode is used to define the accounting method, mode, and event trigger responses for the accounting policy supporting the Rf (off-line charging) interface.
> accounting-event-trigger
> Configures the response to specific event triggers for this policy. Multiple event instances can be configured.
> Product
> HSGW, P-GW, S-GW
> Privilege
> Administrator
> Syntax
> accounting-event-trigger { flow-information-change | interim-timeout | location-change } action { interim | stop-start }
> [ default | no ] accounting-event-trigger { flow-information-change | interim-timeout | location-change }
> default
> Returns the command to its default setting of interim for the action keyword (for all events).
> no
> Removes the specified event trigger configuration from this policy.
> flow-information-change
> Specifies that the action is initiated upon indication of a change in the flow information.
> interim-timeout
> Specifies that the action is initiated upon expiration of the interim interval.
> location-change
> Specifies that the action is initiated upon indication of
> action { interim | stop-start }
> Default: interim
> Specifies the action initiated upon the occurrence of an event.
> interim: Specifies that an interim ACR is sent.
> stop-start: Soecifies that a stop-start ACR is sent.
> Usage
> Use the is command to configure that action taken upon the occurrence on an accounting event trigger.
> Example
> The following command configures the policy to send a stop-start ACR upon indication of an interim timeout:
> accounting-event-trigger interim-timeout
> accounting-level
> Configures the type of accounting performed by this profile.
> Product
> HSGW, P-GW, S-GW
> Privilege
> Administrator
> Syntax
> accounting-level { flow | pdn | pdn-qci | qci | sdf | subscriber }
> default accounting-level
> default
> Returns the command to the default setting of subscriber-based accounting.
> flow
> Specifies that flow-based accounting is to be used for this accounting profile. Accounting Request (ACR) Start messages include an AVP with the following EPS information:

> • | PDN identifier

> • | QCI for which accounting is done

> • | Charging rule name for which accounting is being done

> • | AF charging identifier (included if PCRF has provided a charging identifier to correlate AF generated information)

> • | Flow description for the flows

> • | User Equipment information if available (ESN/MEID)

> • | Address of HSGW/SGW

> • | Address of the PGW (if available), one or more instances

> pdn
> Specifies that PDN-based accounting is to be used for this accounting profile. Accounting Request (ACR) Start messages include an AVP with the following EPS information:

> • | Addresses allocated to the UE in this PDN

> • | PDN identifier

> • | User Equipment information if available (ESN/MEID)

> • | Address of HSGW/SGW

> • | Address of the PGW (if available), one or more instances

> pdn-qci
> Specifies that PDN-QCI accounting is to be used for this accounting profile. Accounting Request (ACR) Start messages include an AVP with the following EPS information:

> • | Addresses allocated to the UE in this PDN

> • | PDN identifier

> • | QCI for which accounting is done

> • | User Equipment information if available (ESN/MEID)

> • | Address of HSGW/SGW

> • | Address of the PGW (if available), one or more instances

> qci
> Specifies that QCI-based accounting is to be used for this accounting profile. Accounting Request (ACR) Start messages include an AVP with the following EPS information:

> • | QCI for which accounting is done

> • | User Equipment information if available (ESN/MEID)

> • | Address of HSGW/SGW

> • | Address of the PGW (if available), one or more instances

> sdf
> Specifies that service data flow accounting is to be used for this accounting profile. Accounting Request (ACR) Start messages include an AVP with the following EPS information:
> subscriber
> Specifies that subscriber-based accounting is to be used for this accounting profile. Accounting Request (ACR) Start messages include an AVP with the following EPS information:

> • | User Equipment information if available (ESN/MEID)

> • | Address of HSGW/SGW

> • | Address of the PGW (if available), one or more instances

> Usage
> Use this command to specify the type of accounting performed by this profile.
> Example
> The following command sets the accounting type for this profile to flow-based:
> accounting-level flow
> accounting-mode
> Configures the accounting mode for this profile.
> Product
> HSGW, P-GW, S-GW
> Privilege
> Administrator
> Syntax
> accounting-mode normal
> default accounting-mode
> default
> Returns the accounting mode for this profile to its default setting of “normal”.
> normal
> Specifies that “normal” (start/interim/stop) accounting will be performed for this profile.
> Usage
> Use this command to set the accounting mode for this profile.
> cc profile
> Configures a charging characteristics profile, within the accounting profile configuration, for CDR generation.
> Product
> S-GW
> Privilege
> Administrator
> Syntax
> cc profile index { buckets num | interval seconds | tariff time1 min hrs [ time2 min hrs...time4 min hrs ] | volume { downlink octets { uplink octets } | total octets | uplink octets { downlink octets } } }
> default cc profile index
> no cc profile index { buckets | interval | tariff | volume }
> default
> Returns all profile features, for the specified profile index, to their default settings.
> no
> Returns the specified feature to its default setting.
> profile index
> Specifies a billing type to be applied to this profile. index must be one of the following:
> 1: Hot billing
> 2: Flat billing
> 4: Prepaid billing
> 8: Normal billing
> buckets num
> Default: 4
> Specifies the number of container changes in the S-GW CDR due to QoS changes or tariff times. num must be an integer value from 1 to 4. If an accounting policy is not configured, this value is 4.
> interval seconds
> Default: disabled
> Specifies a time interval for closing the charging record if the minimum volume thresholds are satisfied. seconds must be an integer valse from 60 to 40000000.
> tariff time1 min hrs [ time2 min hrs...time4 min hrs ]
> Specifies time-of-day values used to determine when a container is closed in the charging records.
> time1 min hrs: Specifies the first time-of-day value used to close the current container in the charging record. min must be an integer value from 0 to 59. hrs must be an integer value from 0 to 23.
> time2 min hrs...time4 minutes hours: Specifies the second, third and fourth time-of-day values used to close containers in the charging record. min must be an integer value from 0 to 59. hrs must be an integer value from 0 to 23.
> volume { downlink octets { uplink octets} | total octets | uplink octets { downlink octets } }
> Specifies octet volume thresholds for the generation of interim CDRs.
> downlink octets: Sets the threshold limit for the number of downlink octets that must be reached before the charging record is closed. octets must be an interger value from 100000 to 40000000000.
> total octets: Sets the threshold limit for the total number of octets that must be reached before the charging record is closed. octets must be an interger value from 100000 to 40000000000.
> uplink octets: Sets the threshold limit for the number of uplink octets that must be reached before the charging record is closed. octets must be an interger value from 100000 to 40000000000.
> Usage
> Use this command to set charging characteristics that directly affect the CDR generation on the S-GW.
> Example
> The following command creates a hot billing profile with a total octet volume threshold set to 500,000:
> cc profile 1 volume total 500000
> end
> Exits the current mode and returns to the Exec Mode.
> Product
> All
> Privilege
> Administrator
> Syntax
> end
> Usage
> Change the mode back to the Exec mode.
> exit
> Exits the current mode and returns to the previous mode.
> Product
> All
> Privilege
> Administrator
> Syntax
> exit
> Usage
> Return to the previous mode.
> operator-string
> Configures a text string to be included with accounting messages sent by this policy.
> Product
> HSGW, P-GW, S-GW
> Privilege
> Administrator
> Syntax
> operator-string string
> no operator-string
> no
> Removes the operator string from this policy.
> string
> Specifies a text string that is included with accounting messages originating from this policy. string must be from 1 to 63 alpha and/or numeric characters.
> Usage
> Use this command to create a text string to be included with accounting messages originating from this policy.
> Example
> The following command creates the text string “pgw_local” to be included with accounting messages originating from this policy:
> operator-string pgw_local

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883