09 FNG31 Charging in Flexi NG
09 FNG31 Charging in Flexi NG
09 FNG31 Charging in Flexi NG
1 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
2 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
3 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
4 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
GTP-C
UDP
Packet Data
MME IP
S11 Gi/SGi IP Networks
GTP-U
UDP
S1-U
eNodeB
IP
Online Offline
ChargingX1_1 Gy Gz Bp Charging
O&M
X2, X3
LIP DIAMETER GTP’ FTP SNMP,
TELNET, SSH,
TCP TCP SCTP UDP TCP
FTP and SFTP.
IP IP IP IP
6 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
7 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Charging data is collected for every active bearer, and based on this
data Flexi NG generates charging data records (CDRs) at configurable
intervals
– For example, when a volume or time threshold is reached
• The generated CDRs are either sent to CGF (Gz interface) or stored in
CDR files on the CLA hard disks and retrieved over Bp interface
• The sequence numbering of files is unique, because each service node
has its own node ID
• In service awareness configuration, CDRs can be generated for each
service (rating group)
8 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
9 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
10 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
11 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
12 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Recovery Group /CdrCollector running on CLA receives metering information from the
session_ctrl processes on AS nodes
– session_ctrl fetches user plane metering data from gwup process
• The CDRs are written to CDR files, which are stored on Flexi NG hard disk in the
/var/cdr_storage directory
• The CDR files are retrieved by billing mediation through the Bp interface
• The retrieving entity retrieves and deletes the CDR files from Flexi NG
• The transfer protocols supported by Flexi NG on Bp interface are:
– File Transfer Protocol (FTP) and
– Secure FTP (sFTP)
• The file size limit for Flexi NG CDR files is 20 MB
• 30 GB (mirrored) storage reserved for CDRs
13 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
14 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• An MME/SGSN change take place when the tracking or routing area is changed
• MME/SGSN changes are recorded in the CDRs. There is a limit to the number of times the MME/SGSN
can change for a PDP context, before a CDR is generated
• When an MME/SGSN change takes place, a container in a CDR is filled for the PDP context/EPC
session and the container closes because of the MME/SGSN change
• When the maximum number of MME/SGSN changes are reached, the generated CDR is also closed
because of the MME/SGSN change
• The SGSN change is only recorded if the change is in the SGSN’s GTP-C (control plane)
GTP-C HD
MME UDP
IP
S11
15 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
16 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
The PS-Furnish-Charging-Information AVP (AVP code 865) is of type Grouped. Its purpose is to
add online charging session specific information, received via the Ro reference point, onto the
Rf reference point in order to facilitate its inclusion in CDRs. This information element may be
received in a CCA message via the Ro reference point. In situations where online and offline
charging are active in parallel, the information element is transparently copied into an ACR to
be sent on the Rf reference point.
It has the following ABNF grammar:
PS-Furnish-Charging-Information :: = < AVP Header: 865>
{ 3GPP-Charging-Id }
{ PS-Free-Format-Data }
[ PS-Append-Free-Format-Data ]
17 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• In order to activate the FCI feature, also the following conditions must be met:
– parameter offline-charging-functionality feature must be set to enabled.
set ng feature offline-charging-functionality enable
– parameter cdr-format must be set to cdr-format-4
set ng charging general cdr-format cdr-format-4
• Configure furnish charging information handling with the following command.
set ng charging general furnish-charging-information <furnish-
charginginformation>
Example:
set ng charging general furnish-charging-information enabled
18 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
19 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• You need to configure an external interface for the CDR transfer over Gz
• There is a pre-defined interface type Gz (node-Gz-interface)
• You need to create and associate an interface group to the node Gz interface
– Note that the IP addresses of the node Gz interface group should not be same as the IP
addresses of a load balancing Gn interface group or a load balancing S11 interface group
• First, there must be physical or loopback addresses configured for the Gz
interface on the AS nodes
– VRFs and VLANs can also be configured for Gz interfaces
• You also need to create the interface group for Gz, e.g.
add ng interface interface-group gz-iface type ipv4 vrf default
20 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• You then need to add the Gz interfaces Gz configured for different nodes into that group. For
example, on AMPP1 blade on slot 7:
set ng interface interface-group gz-iface node AS7-0 address
10.31.140.2
set ng interface interface-group gz-iface node AS7-1 address
10.31.140.3
• Next, you need to link the node Gz interface to the created interface group
– This links the interface group name to the predefined interface type (node-gz in this case)
set ng interface general gz gz-iface
• Note that before configuring the interface you need to disable the NG functionality, if already
enabled
set ng general ng-functionality disable
• To view the Gz interface group settings
show ng interface general gz
21 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Finally, you need to take care of the correct routing configuration in the Gz
network
– Static routes to CGFs
– OSPF for dynamic routing
22 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• If you want to store the CDRs on CLA hard disk and retrieve them with FTP,
an external Bp interface must be created
• You need to configure the IP addressing for the Bp interfaces (on CLA nodes)
• To configure an external IP address for the Bp interface, simply set the correct
IP address
set ng interface general bp 10.31.140.81
23 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Command examples:
– To enable Flexi NG off-line charging functionality, enter the following command:
set ng feature offline-charging-functionality enable
– To view the off-line charging functionality configuration:
show ng feature offline-charging-functionality
24 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Command examples:
– To set the charging node string identifier to NGnode1, enter the following command
set ng charging general node-id-prefix NGnode1
25 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
CG CG
26 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• The generated CDRs are stored to CDR files that are saved on Flexi NG hard
disk. The following configurable conditions are used to close the files:
• File size limit in kilobytes
• File lifetime in seconds
• Maximum number of CDRs in a file
27 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• For example, to view the configured maximum size of a CDR file with the following command:
show ng charging cdr-file general cdr-file-size
28 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• RSN is an eG-CDR field with 3GPP Rel 7 (for High Capacity GGSN)
• RSN is used to arrange that intermediate CDR records are generated in Flexi NG for a PDP
context
• RSN is:
– initialized to ‘1’ for the first CDR of a PDP context
– increased by one in every following CDR for that PDP context
29 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• The charging profiles define the charging settings linked to the session profiles
• Charging profiles are taken into use only if they are referenced by an active session profile
• In the session profile the standard charging characteristics values are set to point to the
configures charging profiles
• The analysis of the charchar index value in the incoming GTP message is determining the
selection of the locally configured charging profile
Charging
Charging Charging profiles for
profiles for profiles for postpaid with
prepaid postpaid CC
MME
Gi/SGi Packet
PacketData
Data
LTE APNS1
→ S11
Session Profile Networks
Networks
eNodeB
30 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
31 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Different time and volume limits can be configured to trigger the generation of new CDRs
• Time limit (cdr-intermediate-interval)
– Defines a time interval for CDR generation
– NOTE: Reaching the time limit does not trigger CDR generation if cdr-min-data-threshold has
not been reached
• Data threshold for time-based generation (cdr-min-data-threshold)
– The minimum data threshold prevents the generation of time-based CDRs if cdr-min-data-
threshold has not been reached
– NOTE: Configuring cdr-min-data-threshold to be higher than the volume limit (cdr-data-
threshold) can lead to time-based CDRs not being generated.
• Volume limit (cdr-data-threshold)
– Triggers volume-based CDR once the combined volume of uplink and downlink packets reaches the
threshold
– The reported volume customarily exceeds the configured volume limit due to packet size variation
32 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
33 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
34 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• The default charging profile is used for the session profile in case e.g.
charging characteristics values are unknown
– Note: There can be only one default charging profile at a time
• Command example:
– To set the charging profile chargingprofile1 as the default charging profile, enter the
following command:
set ng session-profile profile1 (...) default-charging-profile
chargingprofile1
35 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Tariff profiles are used to define the time when the intermediate CDRs are created for
ongoing sessions.
– Tariff profiles define the tariff settings used in charging Tariffprofile1:
profiles. Create intermediate CDR at 6am
→ Charging profile changes
– A tariff profile is taken into use only when referenced
by an active charging profile.
• To add a new tariff profile named tariffprofile1 that triggers the intermediate CDR
generation on each day from Monday to Friday at 6.00 a.m., enter the following command:
add ng charging tariff-profile tariffprofile1 day mon-fri hour 6 min 00
• View the configuration of all existing tariff profiles with the following command:
show ng charging tariff-profile
36 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• More than one Charging Gateway (up to 64) may be used for
receiving CDRs from Flexi NG
• Flexi NG supports
– To add,
– modify, and
– delete a charging gateway
And to:
– define CDR delivery mode and
– alarm threshold for CDR queue Gz Gz Bp
GTP’ GTP’
FTP FTP
UDP UDP
TCP TCP
IP IP IP
CG1
CG CG
CG2 CM
37 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• To view the values of parameter set of the charging gateway charginggateway1, enter the
following command
show ng charging charging-gateway charginggateway1
38 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
39 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• You may modify an alarm threshold for raising the CDR QUEUES RUNNING OUT alarm
– Value range is from 20% to 90%. The default value is 75.
• To modify the alarm threshold for CDR queue to 80, enter the following command:
set ng charging gtp-prime general queue-alarm-threshold 80
• To view the alarm threshold for CDR files, enter the following command:
show ng charging gtp-prime general queue-alarm-threshold
40 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
FTP Username and • CDR files are retrieved from Flexi NG to billing
Password needed mediation through the Bp interface
to retrieve data • The retrieving entity retrieves and deletes the CDR
files from Flexi NG
FTP Server
Process
• The transfer methods supported by Flexi NG are
HD File Transfer Protocol (FTP) and secure FTP (sFTP)
• The CDR file size limit is 20 MB
Gz Bp
GTP’ FTP
UDP TCP
IP IP
CG CG
41 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
42 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
43 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
44 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• In the current release, Flexi NG provides partial support for the S-GW
charging functionality
• When Flexi NG is used as an S-GW, SGW-CDR generation needs to be
enabled, and the time and volume thresholds need to be set
45 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
46 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
47 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
standards IP
Application
• Support for Gy interface
• Dynamic redirection of a subscriber to the
Advice of Charge (AoC) HD
Gy Gz Bp
DIAMETER GTP’ FTP
TCP SCTP UDP TCP
IP IP IP
OCS CG CG
48 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Possibility to on-line monitor and control bearer usage and service usage
• volume
• time
Benefits
• and services (service awareness)
of
Flexi NG • Support for on-line prepaid charging model
on-line • Support for on-line usage reporting through Diameter which could allow to
charging: implement, for example, bill shock prevention and/or and bearer usage
services even for post-paid charging users
• Solution based on public standards and on the long experience gained
through earlier gateway solutions
49 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
Term Remark
Offline charging A charging process where charging information does not affect the
service rendered in real-time.
Online charging A charging process where charging information can affect the
service rendered in real-time and therefore directly interacts with
the session/service control. Calls may be interrupted.
50 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
4.
4. Verify
Verify
account
account OCS
information
information
3.
3. Start
Start an
an 5.
5. Acknowledge
Acknowledge
online
online
charging
charging
session
session
AP W eb
2.
2. Determine
Determine the
the
1.
1. Create
Create PDP
PDP charging
charging type
type
context
context /EPC session
/EPC session
request
request
51 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
4.
4. Determine
Determine service
service
quotas
quotas based on
based on the
the
rate
rate plan
plan that
that should
should
be 5.
5. Return
Return information
information
be applied
applied to
to this
this OCS
subscriber
subscriber on
on subscriber’s quota
subscriber’s quota
for
for the
the charging
charging class
class
3.
3. Usage
Usage CC
CC 1:
1: 100
100 kB
kB
limit
limit for
for the
the 60 s
60 s
charging
charging class
class 22 events
events
(=rating
(=rating group)
group) linked
linked with
with the
the flow
flow
spec
spec
6.
6. Record
Record the
the
service
service quota
quota
AP for CC
for CC 11
W eb
1.
1. Access
Access aa
content
content 2.
2. Perform
Perform traffic
traffic
service
service analysis
analysis
52 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
OCS
3.
3. Report
Report
usage
usage and
and
request
request CC
CC 1:
1: 40
40 kB
kB
new
new quota
quota 11 events
events
AP W eb
1.
1. Use
Use the
the 2.
2. Meter
Meter
content
content service
service usage
usage
service
service
53 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
Session
Session
ends
ends
Session
Session Quota
Quota Quota
Quota Quota
Quota Quota
Quota No
No
starts
starts given
given given
given given
given given
given credit
credit
Quota
Quota Report
Report Report
Report Report
Report Report
Report
request
request and
and quota
quota and
and quota
quota and
and quota
quota and
and quota
quota
request
request request
request request
request request
request
54 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
55 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
56 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
57 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• In the current release, roaming awareness and BSP are supported in the
GGSN mode.
• Roaming awareness allows Flexi NG to determine the PLMN IDs of GGSN,
SGSN, and IMSI
• The roaming status of a subscriber can be
• Home
• Visitor
• Roaming
58 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• Flexi NG performs PLMN analysis of the PLMN IDs and determines the
PLMN profiles
• Based on the PLMN profile, the PLMN indicator is determined.
• The roaming status of the subscriber is determined by comparing the PLMN
indicators of IMSI and SGSN using the following conditions:
• The roaming status of the subscriber is Home when the PLMN indicators of both IMSI and
SGSN are Home
• The roaming status of the subscriber is Visitor when the PLMN indicator of IMSI is Visitor
or the PLMN profile of IMSI is unknown
• The roaming status of the subscriber is Roaming when the PLMN indicators of IMSI is
home + the PLMN indicators of SGSN is Visitor respectively or the PLMN profile of
SGSN is unknown.
59 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
• In the current release the charging profile can only be selected during PDP Context Creation
• If roaming awareness is disabled, the charging profile is selected according to the charging
characteristics parameters in the session profiles
• If roaming awareness is enabled the charging profile is selected according to the table on the
next slide
• Note that if a charging profile has been selected by a RADIUS server, it overrides any local
configuration
60 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
61 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
62 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.
63 Flexi NG Charging ©2013 Nokia Solutions and Networks. All rights reserved.