GTPP Interface Configuration

This chapter describes how to configure the GTPP functionality.

The following topics are covered in this chapter:

Configuring the GPRS Tunneling Protocol

Cisco Systems’ GGSN/P-GW/S-GW supports both GTPP- and RADIUS-based accounting. The accounting protocol is configured on a per-APN basis.

When the GTPP protocol is used, accounting messages are sent to the Charging Gateways (CGs) over the Ga interface. The Ga interface and GTPP functionality are typically configured within the system's source context. As specified by the standards, a CDR is not generated when a session starts. CDRs are generated according to the interim triggers configured using the charging characteristics configured for the GGSN, and a CDR is generated when the session ends. For interim accounting, STOP/START pairs are sent based on configured triggers.

GTPP version 2 is always used. However, if version 2 is not supported by the Charging Gateway Function (CGF), the system reverts to using GTPP version 1. All subsequent CDRs are always fully-qualified partial CDRs. GTPP version 0 is not supported.

GTPP is configured at the routing context level. Some of the configurables associated with GTPP are Attributes, Charging Agent, Deadtime, etc. The GTPP configuration commands vary according to the services configured, for example, the commands used for GGSN might differ from what is configured for P-GW. For more information on the configuration commands, refer to the Command Line Interface Reference.

This section provides the GTPP configuration applied to various products.

IMPORTANT:

Commands used in the configuration examples in this section provide base functionality to the extent that the most common or likely commands and/or keyword options are presented. In many cases, other optional commands and/or keyword options are available. Refer to the Command Line Interface Reference for complete information regarding all commands.

Configuring GTPP for GGSN/P-GW

This section provides the GTPP configuration for GGSN and P-GW.
  1. Configure the GTPP group and accounting context configuration in APN level and also specify the accounting mode.
    configure
    
       context source
    
          apn apnname1.com
    
          accounting-mode gtpp
    
          gtpp
    group group1 accounting-context
    billing
    
          end
    

    IMPORTANT:

    To generate only an eG-CDR, the accounting-mode command in the APN Configuration mode must be configured with the none option.

  2. Configure the GTPP group related parameters like GTPP server parameters, GTPP dictionary, and optionally CGF to support GTPP accounting:
    configure
    
       context source
    
          gtpp
    group group1
    
          gtpp
    charging-agent address 1.2.3.4 port 3386
    
          gtpp
    server 1.3.5.6 max msgs priority 1
    
          gtpp
    dictionary dict1
    
          gtpp
    max-cdr 255 wait-time 10
    
          gtpp
    transport-layer udp
    
          end
    

    IMPORTANT:

    For GGSN, accounting context can also be configured in GGSN service. In this case more priority will be given to the APN level configuration. In APN level, if no accounting context is configured then accounting context configured in GGSN service will be considered.

    configure
    
       context source
    
          ggsn-service ggsn1
    
          accounting
    context billing
    
          end
    

Configuring GTPP for PDG and TTG

This section provides the GTPP configuration for PDG.
  1. At the APN level configure GTPP in the accounting-mode.
    configure
    
       context dest1
    
          apn apn_name
    
          accounting-mode gtpp
    
          gtpp
    group group1 accounting-context pdg
    
          end
    
  2. At the context level configure the accounting policy. This is required only for time/tariff/volume threshold configuration.
    configure
    
       context dest1
    
          policy
    accounting acct1
    
            cc
    profile 1 interval 60
    
            cc
    profile 1 volume total 100000
    
            cc
    profile 1 tariff time  1 0 0 time 2 2 2 time 3 4 4 time 4 5 5 
    
            cc
    profile 1 buckets 3
    
            cc
    profile 1 serving-nodes 4
    
            end
    
  3. Associate the accounting policy with the PDG service.
    configure
    
       context source
    
          pdg-service pdg1
    
          associate
    accounting-policy acct1
    
          end
    
  4. Configure the GTPP group related parameters and CDR attributes/triggers.
    configure
    
       context source
    
          gtpp
    group group1
    
          gtpp
    charging-agent address 1.2.3.4 port 3386
    
          gtpp
    server 1.3.5.6 max msgs priority 1
    
          gtpp
    dictionary dict1
    
          gtpp
    max-cdr 255 wait-time 10
    
          gtpp
    transport-layer udp
    
          gtpp
    trigger volume-limit 
    
          gtpp
    attribute local-record-sequence-number
    
          end
    
This section provides the GTPP configuration for TTG.
  1. At the subscriber level configure GTPP in the accounting-mode.
    configure
    
       context dest1
    
          subscriber
    default 
    
           accounting-mode gtpp
    
           end
    
  2. At the context level configure the accounting policy. This is required only for time/tariff/volume threshold configuration.
    configure
    
       context dest1
    
          policy
    accounting acct1
    
            cc
    profile 1 interval 60
    
            cc
    profile 1 volume total 100000
    
            cc
    profile 1 tariff time  1 0 0 time 2 2 2 time 3 4 4 time 4 5 5 
    
            cc
    profile 1 buckets 3
    
            cc
    profile 1 serving-nodes 4
    
            end
    
  3. Associate the accounting policy with the TTG service.
    configure
    
       context source
    
          pdg-service pdg1
    
          accounting
    context pdg 
    
          associate
    accounting-policy acct1
    
          end
    
  4. Configure the GTPP group related parameters and CDR attributes/triggers.
    configure
    
       context source
    
          gtpp
    group default
    
          gtpp
    charging-agent address 1.2.3.4 port 3386
    
          gtpp
    server 1.3.5.6 max msgs priority 1
    
          gtpp
    dictionary dict1
    
          gtpp
    max-cdr 255 wait-time 10
    
          gtpp
    transport-layer udp
    
          gtpp
    trigger volume-limit 
    
          gtpp
    attribute rat
    
          end
    

Configuring GTPP for S-GW

This section provides the GTPP configuration for S-GW.
  1. At the subscriber level configure GTPP in the accounting-mode.
    configure
    
       context dest1
    
          subscriber default
    
          accounting-mode gtpp
    
          end
    
  2. At the context level configure the accounting policy. This is required only for time/tariff/volume threshold configuration.
    configure
    
       context dest1
    
          policy
    accounting lte
    
          cc
    profile 1 interval 60
    
          cc
    profile 1 volume total 100000
    
          cc
    profile 1 tariff time  1 0 0 time 2 2 2 time 3 4 4 time 4 5 5 
    
          cc
    profile 1 buckets 3
    
          cc
    profile 1 serving-nodes 4
    
          end
    
  3. Associate the accounting policy with the S-GW service.
    configure
    
       context source
    
          sgw-service sgw1
    
          associate
    accounting-policy lte
    
          end
    
  4. Configure the accounting context and GTPP group in S-GW service level. If accounting context is not configured in S-GW service the source context and "default" GTPP group will be selected.
    configure
    
       context source
    
          sgw-service sgw1
    
          accounting
    context dest1 gtpp group sgw
    
          end
    
  5. Configure the GTPP group related parameters.
    configure
    
       context source
    
          gtpp
    group group1
    
          gtpp
    charging-agent address 1.2.3.4 port 3386
    
          gtpp
    server 1.3.5.6 max msgs priority 1
    
          gtpp
    dictionary dict1
    
          gtpp
    max-cdr 255 wait-time 10
    
          gtpp
    transport-layer udp
    
          end
    

Configuring GTPP for SGSN

This section provides the GTPP configuration for SGSN.
  1. At the local context level, configure the system to reserve a CPU for performing a AAA proxy function for accounting.
    configure
    
       context local
    
          gtpp
    single-source private-extensions
    
          end
    
  2. When gprs-service and sgsn-service are configured in source context, configure the GTPP group related parameters like GTPP server parameters, GTPP dictionary, and optionally CGF to support GTPP accounting:
    configure
    
       context source
    
          gtpp
    group default
    
          gtpp
    charging-agent address 192.168.10.10 
    
          gtpp
    server 192.168.10.2 priority 1 max 1 
    
          gtpp
    dictionary custom10
    
          end
    

    IMPORTANT:

    The above configuration is applicable for the transfer of generated CDRs to the CGF server over GTPP protocol. Configuration varies slightly if GSS/HDD is used for transferring/storing CDRs.

Sample Configuration for SGSN when HDD is Used

When internal HDD is enabled for storage of generated CDRs, AAA proxy should use the configuration from GTPP group for File Format/GTPP Custom dictionary/File rotation, etc.

configure
   context source
      gtpp
group default
      gtpp
dictionary custom10
      gtpp
storage-server mode local
      gtpp
storage-server local file format custom3 
      gtpp
storage-server local file rotation cdr-count 1000 
      gtpp
storage-server local file rotation time-interval 4000 
      gtpp
storage-server local file rotation volume mb 8 
      end

Sample Configuration for SGSN when GSS is Used

S-CDRs are generated by Session Manager and are sent immediately to the GSS using a proprietary protocol based on UDP.

configure
   context source
      gtpp
group default
      gtpp
charging-agent address 192.168.201.1 
      gtpp
storage-server 192.168.201.12 port 50000
      gtpp
dictionary custom10
      end