- Overview of GPRS
- Planning to Configure the GGSN
- Configuring GGSN GTP Services
- Configuring Charging on the GGSN
- Configuring Network Access to the GGSN
- Configuring PPP Support on the GGSN
- Optimizing GGSN Performance
- Configuring QoS on the GGSN
- Configuring Security on the GGSN
- Configuring DHCP on the GGSN
- Configuring GTP Load Balancing
- Overview of GDM
- Planning to Configure GDM
- Configuring GDM
- Monitoring and Maintaining GDM
Configuring Charging on the GGSN
This chapter describes how to configure the charging function on the GGSN. Charging processing is enabled by default on the GGSN. There are several ways to customize communication with a charging gateway. Many of the default values for the charging options will provide a satisfactory configuration until you become more familiar with your network and decide to customize the charging interface.
For a complete description of the GPRS commands in this chapter, refer to the Cisco IOS Mobile Wireless Command Reference. To locate documentation of other commands that appear in this chapter, use the command reference master index or search online.
This chapter includes the following sections:
•
Configuring a Physical Interface to the Charging Gateway (Required)
•
Configuring the Charging Gateway (Required)
•
Configuring the Transport Protocol for the Charging Gateway (Optional)
•
Customizing the Charging Gateway (Optional)
•
Disabling Charging Processing (Optional)
•
Monitoring and Maintaining Charging on the GGSN
Configuring a Physical Interface to the Charging Gateway
To establish access to an external charging gateway in the GPRS network, you must configure a physical interface on the GGSN to connect to the network of the charging gateway. In GPRS, this interface between the GGSN and the charging gateway is referred to as the Ga interface.
For more information about configuring physical interfaces on Cisco Systems' routers, see the Cisco IOS Interface Configuration Guide and the Cisco IOS Interface Command Reference.
To configure a physical interface to the charging gateway that supports Fast Ethernet on a Cisco 7200 series router, use the following commands beginning in global configuration mode:
Verifying Interface Configuration to the Charging Gateway
To verify the physical interface to the charging gateway you can first verify your GGSN configuration and then verify that the interface is available.
Step 1
To verify that you have properly configured a Ga interface on the GGSN, use the show running-config command. The following example is a portion of the output from the command showing the FastEthernet5/1 physical interface configuration as the Gn interface to the SGSN:
Router# show running-config
Building configuration...
Current configuration : 2875 bytes
!
version 12.2
. . .
!
interface FastEthernet5/1
description Ga interface
ip address 10.9.0.1 255.255.255.0
no ip mroute-cache
duplex full
. . .
Step 2
To verify that a physical interface is available, use the show ip interface brief command. The following example shows that the FastEthernet5/1 interface to the charging gateway is in "up" status and the protocol is also "up":
Router #show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.1.3 YES NVRAM up up
FastEthernet1/0 10.29.0.2 YES NVRAM up up
FastEthernet2/0 unassigned YES NVRAM administratively down down
FastEthernet5/1 10.9.0.1 YES NVRAM up up
Ethernet6/0 10.99.0.12 YES NVRAM up up
Ethernet6/1 unassigned YES NVRAM administratively down down
Ethernet6/2 unassigned YES NVRAM administratively down down
Ethernet6/3 unassigned YES NVRAM administratively down down
Ethernet6/4 unassigned YES NVRAM administratively down down
Ethernet6/5 unassigned YES NVRAM administratively down down
Ethernet6/6 unassigned YES NVRAM administratively down down
Ethernet6/7 10.35.35.2 YES NVRAM up up
Virtual-Access1 10.44.44.1 YES TFTP up up
Virtual-Template1 10.44.44.1 YES manual down down
Configuring the Charging Gateway
To configure the default charging gateway, use the following command in global configuration mode:
Changing the Default Charging Gateway
To change the default charging gateway, use the following commands beginning in global configuration mode:
Configuring the Transport Protocol for the Charging Gateway
You can configure the GGSN to support either Transport Control Protocol (TCP) or User Datagram Protocol (UDP) as the transport path protocol for communication with the charging gateway.
The GPRS default configuration specifies UDP, which is a connectionless protocol that is considered an unreliable transport method but can yield greater performance.
Configuring TCP as the Charging Gateway Path Protocol
TCP is a connection-based protocol that provides reliable transmission through packet acknowledgment. To specify TCP as the transport path protocol, use the following commands beginning in global configuration mode:
Configuring UDP as the Charging Gateway Path Protocol
The GPRS default configuration specifies UDP as the transport path protocol to the charging gateway. If you need to reconfigure the charging gateway for UDP transport, use the following command in global configuration mode:
|
|
|
|---|---|
Router(config)# gprs charging path-protocol udp |
Specifies that the UDP networking protocol is used by the GGSN to transmit and receive charging data. The default value is UDP. |
Customizing the Charging Gateway
For the GPRS charging options, the default values represent recommended values. Other optional commands also are set to default values, but Cisco Systems recommends modifying these commands to optimize your network as necessary, or according to your router hardware.
The GGSN uses echo timing to maintain the path between SGSNs and external charging gateways. However, the GGSN can only implement a single method of echo timing for all of the paths it needs to maintain. To learn more about echo timing on the GGSN, or to modify the echo timing feature, see the "Configuring Echo Timing on the GGSN" section in the "Configuring GGSN GTP Services" chapter.
Use the following global configuration commands to fine-tune charging processing on the GGSN:
For information about configuring GPRS GTP options, see the "Customizing the GGSN Configuration" section in the "Configuring GGSN GTP Services" chapter.
Disabling Charging Processing
You can disable charging on the GGSN only when all open CDRs have been processed and sent to the charging gateway. To clear the current GPRS CDRs, use the clear gprs charging cdr privileged EXEC command.
To disable charging processing on the GGSN, use the following command beginning in global configuration mode:
|
|
|
|---|---|
Router(config)# gprs charging disable |
Disables charging transactions on the GGSN. |
Monitoring and Maintaining Charging on the GGSN
This section provides a summary list of the show commands that you can use to monitor charging functions on the GGSN.
The following privileged EXEC commands are used to monitor and maintain charging on the GGSN:
Configuration Example
The following configuration example shows part of a sample GGSN configuration with some of the commands that you use to configure charging services:
Router# show running-config
service gprs ggsn
!
. . .
!
interface Ethernet5/1
description Ga interface
ip address 10.9.0.1 255.255.0.0
duplex half
!
. . .
!
interface Virtual-Template1
ip address 10.40.40.1 255.255.255.0
encapsulation gtp
gprs access-point-list gprs
!
. . .
!
gprs access-point-list gprs
access-point 1
access-point-name auth-accounting
access-mode non-transparent
aaa-group authentication first
aaa-group accounting second
ip-address-pool dhcp-proxy-client
dhcp-server 10.60.0.1
dhcp-gateway-address 10.60.0.1
exit
!
. . .
!
gprs default charging-gateway 10.9.0.2
gprs charging send-buffer 1000
gprs charging container volume-threshold 500000
gprs charging container change-limit 3
gprs charging cdr-aggregation-limit 10
gprs charging cdr-option apn-selection-mode
gprs charging cdr-option served-msisdn
!
. . .
!
end
Feedback