sj-20110829111841-007-zxun xgw (v4.10.22) extendable gateway ggsn data configuration guide

Upload: se7encs

Post on 13-Oct-2015

128 views

Category:

Documents


20 download

DESCRIPTION

SJ-20110829111841-007-ZXUN XGW (V4.10.22) EXtendable GateWay GGSN Data Configuration Guide

TRANSCRIPT

  • ZXUN xGWeXtendable GateWay

    GGSN Data Configuration Guide

    Version: V4.10.22

    ZTE CORPORATIONNO. 55, Hi-tech Road South, ShenZhen, P.R.ChinaPostcode: 518057Tel: +86-755-26771900Fax: +86-755-26770801URL: http://ensupport.zte.com.cnE-mail: [email protected]

  • LEGAL INFORMATIONCopyright 2011 ZTE CORPORATION.

    The contents of this document are protected by copyright laws and international treaties. Any reproduction or

    distribution of this document or any portion of this document, in any form by any means, without the prior written

    consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by

    contractual confidentiality obligations.

    All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE

    CORPORATION or of their respective owners.

    This document is provided as is, and all express, implied, or statutory warranties, representations or conditions

    are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose,

    title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the

    use of or reliance on the information contained herein.

    ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications

    covering the subject matter of this document. Except as expressly provided in any written license between ZTE

    CORPORATION and its licensee, the user of this document shall not acquire any license to the subject matter

    herein.

    ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.

    Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.

    The ultimate right to interpret this product resides in ZTE CORPORATION.

    Revision History

    Revision No. Revision Date Revision Reason

    R1.0 2012-02-18 First Edition

    Serial Number: SJ-20110829111841-007

    Publishing Date: 2012-02-18 (R1.0)

  • ContentsAbout This Manual ......................................................................................... I

    Chapter 1 Overall Description of Data Configuration ............................. 1-1

    1.1 Flow of Data Configuration.................................................................................. 1-1

    1.2 Configuration Preparations ................................................................................. 1-2

    1.2.1 Document preparation .............................................................................. 1-2

    1.2.2 Network Planning ..................................................................................... 1-2

    1.3 Data Configuration Methods................................................................................ 1-3

    Chapter 2 Local Information Configuration ............................................. 2-1

    2.1 Configuring the Basic Information........................................................................ 2-1

    2.2 Configuring Boards............................................................................................. 2-3

    2.2.1 Configuring the CPU Group ...................................................................... 2-3

    2.2.2 Configuring the SLB Group ....................................................................... 2-4

    2.2.3 Configuring the CU Group......................................................................... 2-6

    2.3 Configuring the IP Protocol Stack ........................................................................ 2-8

    Chapter 3 Basic Service Configuration.................................................... 3-1

    3.1 Description of the basic service configuration ....................................................... 3-1

    3.2 Configuring the Dynamic IP Pool ......................................................................... 3-1

    3.3 Configuring the APN........................................................................................... 3-2

    Chapter 4 NE Interconnection Configuration .......................................... 4-1

    4.1 Configuring the Interconnection Between GGSN and SGSN ................................. 4-1

    4.2 Configuring the Interconnection Between GGSN and PDN.................................... 4-4

    4.3 Configuring the Interconnection Between GGSN and RADIUS .............................. 4-4

    4.4 Configuring the Interconnection Between GGSN and OCS.................................... 4-8

    4.5 Configuring the Interconnection Between GGSN and DHCP Server..................... 4-13

    4.6 Configuring the Interconnection Between GGSN and Charging Server ................ 4-17

    Chapter 5 Charging Configuration............................................................ 5-1

    5.1 Charging Modes................................................................................................. 5-1

    5.2 Configuring the RADIUS Charging....................................................................... 5-1

    5.3 Configuring Common Offline Charging................................................................. 5-4

    5.4 Configuring Content Charging ............................................................................. 5-6

    5.4.1 Configuring a DPI Rule ............................................................................. 5-6

    5.4.2 Configuring FTP Server ............................................................................ 5-8

    5.4.3 Deploying DPI Files.................................................................................5-11

    I

  • 5.4.4 Configuring the Charging Mode............................................................... 5-12

    5.4.5 Configuring Charging Policy.................................................................... 5-14

    5.4.6 Instance for Configuring Offline Content-based Charge............................. 5-18

    5.4.7 Instance for Configuring Online Content-based Charge............................. 5-21

    Fiugures .......................................................................................................... I

    Tables ............................................................................................................ III

    Glossary .......................................................................................................VII

    II

  • About This ManualPurpose

    This manual provides procedure and guidelines for configuration method of ZXUN GGSNsystem.

    Intended Audience

    This manual is intended for the following engineers and technicians:l On-site maintenance engineersl Network monitor engineersl System operation and maintenance engineers

    Prerequisite Skill and Knowledge

    To use this manual effectively, users should have a general understanding of wirelesstelecommunications technology. Familiarity with the following is helpful:

    l The ZXUN GGSN system service and configuration.l Hardware knowledge of Debug Terminal.

    What Is in This Manual

    This manual contains the following chapters:

    Chapter Summary

    Chapter 1, Overall Description of

    Data Configuration

    Introduces the flow and the basic operations of the ZXUN

    GGSN data configuration.

    Chapter 2, Local Information

    Configuration

    Introduces how to configure the office data related to the

    local exchange.

    Chapter 3, Basic Service

    Configuration

    Introduces the service configuration of ZXUN GGSN.

    Chapter 4, NE Interconnection

    Configuration

    Introduces the connection configuration between ZXUN

    GGSN and other network elements.

    Chapter 5, Charging Configuration Introduces the charging configuration of the ZXUN GGSN.

    FCC Compliance Statement

    This device complies with part 15 of the FCC Rules. Operation is subject to the followingtwo conditions.

    1. This device may not cause harmful interference.2. This device must accept any interference received, including interference that may

    cause undesired operation.

    I

  • Changes or modifications not expressly approved by the party responsible for compliancecould void the user's authority to operate the equipment.

    Conventions

    ZTE documents employ the following typographical conventions.

    Typeface Meaning

    Italics References to other Manuals and documents.

    Quotes Links on screens.

    Bold Menus, menu options, function names, input fields, radio button names, check

    boxes, drop-down lists, dialog box names, window names.

    CAPS Keys on the keyboard and buttons on screens and company name.

    Note: Provides additional information about a certain topic.

    Checkpoint: Indicates that a particular step needs to be checked before

    proceeding further.

    Tip: Indicates a suggestion or hint to make things easier or more productive

    for the reader.

    II

  • Chapter 1Overall Description of DataConfigurationTable of Contents

    Flow of Data Configuration .........................................................................................1-1Configuration Preparations.........................................................................................1-2Data Configuration Methods .......................................................................................1-3

    1.1 Flow of Data ConfigurationDuring the data configuration, configure the data according to certain flow, as shown inFigure 1-1.

    Figure 1-1 Configuration Flow

    1-1

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Note:

    The above-mentioned configuration sequence is the recommended sequence for initialsystem configuration; the hardware configuration and local data configuration must beperformed first, while there is no strict sequence for other configurations.

    1.2 Configuration Preparations

    1.2.1 Document preparationFor the product concepts, network constructing schemes, principles, and hardwareknowledge involved during the configuration, refer to the following documents:

    l ZXUN xGW eXtendable GateWay GGSN Product Descriptionl ZXUN xGW eXtendable GateWay GGSN Hardware Decriptionl ZXUN xGW eXtendable GateWay GGSN Software Installation Guidel ZXUN xGW eXtendable GateWay GGSN Command Reference

    1.2.2 Network Planning

    Description

    When configuring ZXUN GGSN, addresses of other NEs communicating with GGSNshould be configured, such as SGSN, PDNRADIUS, OCS, DHCP and CG. Therefore,plan the whole network and allocate IP addresses before configuring the ZXUN GGSN.

    Network Planning

    Table 1-1 is an example of network planning and IP address allocation of GGSN dataconfiguration.

    Table 1-1 Network Planning and IP Address Allocation

    NE

    Node

    Service Address Communication

    Interface

    Communication

    Interface Address

    Communication

    Gateway Address

    GGSN GTP control address:

    200.91.1.161

    GTP user address:

    200.91.1.159

    SLB address: 192.168.50.10

    RADIUS client address:

    192.168.100.100

    CG agent address:

    192.168.7.93

    - - -

    1-2

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 1 Overall Description of Data Configuration

    NE

    Node

    Service Address Communication

    Interface

    Communication

    Interface Address

    Communication

    Gateway Address

    SGSN 200.62.1.161 gei-0/6/0/1 192.168.119.91 192.168.119.61

    PDN 200.50.3.24 gei-0/6/0/2 192.168.119.92 192.168.119.62

    RADIUS 200.40.5.20 gei-0/6/0/3 192.168.119.93 192.168.119.63

    OCS 200.30.7.10 gei-0/6/0/4 192.168.119.94 192.168.119.64

    DHCP Active: 200.20.9.3

    Standby: 200.20.9.4

    gei-0/6/0/5 192.168.119.95 192.168.119.65

    CG 200.10.10.78 gei-0/6/0/6 192.168.119.96 192.168.119.66

    1.3 Data Configuration Methods

    Configuration Mode

    With ZXUN xGW as the hardware platform, ZXUN GGSN uses on-line MML configurationmode.

    Enter ZXUN GGSN configuration mode by the following steps:

    1. On the debugging terminal, connect to the MPU board by using the SecureCRTsoftware in Telnet mode. The prompt character xGW> appears, indicating asuccessful connection.

    2. At the xGW> prompt character, enter enable, and enter the user name and thepassword for login. The prompt character changes to xGW#, indicating that you havelogged in to the MPU board successfully.

    Note:

    You can use the default user name of en or customized user name and password tolog in to the MPU board.

    In configuration mode, use the username command to create a new user name. Forexample, use the following command to create a user, with the user name and thepassword both being zte, and with the privilege being 15.

    xGW(config)#username zte zte privilege 15

    3. At the xGW# prompt character, enter configure terminal. The prompt characterchanges to xGW(config)#, indicating you have entered configuration managementmode.

    4. At the xGW(config)# prompt character, enter xgw. The prompt character changes toxGW(config-xgw)#, indicating you have entered xGW configuration mode.

    1-3

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Above commands must be executed in specified mode. Refer to the following table forconfiguration modes involved in the ZXUN GGSN configuration flows:

    Configuration

    Mode

    Prompt Character How to Enter Description

    User mode xGW> Log in to the system, and the

    default mode is user mode.

    In this mode, you can query

    common information.

    Privileged mode xGW# In user mode, enter enable. In this mode, you

    can configure system

    parameters.

    Global

    configuration

    mode

    xGW(config)# In privileged mode, enter

    configure terminal.

    In this mode, you can

    configure global service

    parameters.

    Interface

    configuration

    mode

    xGW(config-if)# In global configuration

    mode, enter interface.

    In this mode, you can

    configure port parameters.

    Different port types can

    be selected based on key

    words.

    xGW

    configuration

    mode

    xGW(config-xgw)# In global configuration

    mode, enter xgw.

    In this mode, you can

    configure xGW system

    parameters.

    GGSN

    configuration

    mode

    xGW(config-xgw-

    ggsn)#

    In xGW configuration mode,

    enter ggsn.

    In this mode, you can

    configure GGSN system

    parameters.

    APN

    configuration

    mode

    xGW(config-xgw-

    ggsn-apn)#

    In GGSN configuration

    mode, enter apn.

    In this mode, you can

    configure related APN

    parameters.

    SLB

    configuration

    mode

    xGW(config-xgw-

    slb)

    In xGW configuration mode,

    enter slb.

    In this mode, you can

    configure related SLB

    parameters.

    CU configuration

    mode

    xGW(config-xgw-

    cu)

    In xGW configuration mode,

    enter cu.

    In this mode, you can

    configure related CU

    parameters.

    Command Symbol

    Parameters in command descriptions are separated with symbols, for example, ipv4 ip-pool {local|dhcp|assigned|aaa} .

    Nevertheless, some symbols are not required to be entered when you are enteringcommands. Refer to the following table for details.

    Symbol Function

    | Indicates "or". Select only one from multiple options.

    1-4

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 1 Overall Description of Data Configuration

    Symbol Function

    ( ) Indicates combination of key words. Key words are required.

    < > Indicates parameters in < > are required.

    [ ] Indicates parameters in [ ] are optional. The parameters should be separated by , .

    { } Indicates parameters in { } are associated parameters. With |, you should select one

    from multiple. With [], you can select multiple from multiple, but at least one option

    must be selected.

    * Indicates that you can set the parameter after * to many values.

    Description

    l Basic operation

    In configuration mode, refer to the following table for common basic operationcommands:

    Example Description

    show Shows the configuration.

    exit Exits current directory and returns to the previous directory.

    no Deletes a configuration.

    list Lists all configuration(s) in the current directory.

    write Writes the command(s) into a ZXUN GGSN configuration file.

    end Returns to privileged mode.

    Note:

    After the configuration command is completed, execute the end command to returnto privileged mode. Meanwhile, execute the write command at the xGW# promptcharacter to save the command and make it effective.

    Otherwise, the data will be lost when the MPU board is restarted without the writecommand being executed.

    l Assistant function

    Common assistant functions in configuration mode are described as follows:

    Enter ? at the prompt character, the available command list in this commandmode is displayed.

    1-5

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Operation Function Precautions

    Enter ? at the prompt

    character in any command

    mode.

    Shows all commands and

    their brief descriptions in this

    command mode.

    -

    Enter ? at the character or

    string.

    Shows the command or key

    word list starting with the

    character or string.

    No space between

    character/string and ?.

    Enter ? at the command,

    key word or parameter.

    Lists the next key word or

    parameter to be entered.

    Space is required before ?.

    Press the Tab key at the string. Complete the command or key word if startedwith this string, and add space after he command or key word.

    Note that there is no space between string and Tab key.

    If entering wrong command, key word or parameter, you are prompted with ^to seperate the error after pressing the Enter key. ^ indicates the first wrongcharacter.

    Command and key word can be entered as character or string in abbreviationwhich can identify them uniquely. For example, the show command can beentered as sh or sho in abbreviation.

    The system can record up to ten historical commands that you have entered forease of re-entering long or complicated command or entrance.

    Operation Function

    Press Ctrl+P or the up arrow key

    on the key board.

    Re-use the latest command in the record buffering area.

    Repeat pressing the key to use the previous command.

    Press Ctrl+N or the down arrow

    key on the key board.

    Locates the next command line. Re-start from the first

    command in the buffering area after reaching the last

    one.

    Execute the show history

    command.

    Lists several latest commands that have been entered

    in this mode.

    1-6

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 2Local InformationConfigurationTable of Contents

    Configuring the Basic Information...............................................................................2-1Configuring Boards.....................................................................................................2-3Configuring the IP Protocol Stack ...............................................................................2-8

    2.1 Configuring the Basic InformationBasic ZXUN GGSN configurations include time zone, time and VRF configurations. Thissection describes how to set the time zone, time and VRF of ZXUN GGSN based on dataplans and on-site conditions.

    Steps

    1. In the Privileged mode, configure the time zone.

    The command syntax for configuring the time zone is: clock timezone [], as described in Table 2-1.

    Table 2-1 Description of Commands for Configuring Time Zone

    Parameter Description

    word Sets the name of the time zone.

    hours offset form UTC New time zone to be set.

    minutes offset from UTC Sets the offset time on the basis of UTC.

    2. Configure the time.

    The command syntax for configuring the time is: clock set . Refer to Table 2-2 for parameter settings.

    Table 2-2 Description of Commands for Configuring Time

    Parameter Description

    hh:mm:ss Sets the exact time.

    l hh: hour

    l mm: minute

    l ss: second

    2-1

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Parameter Description

    MM-DD-YYYY Sets the year, month, and date.

    l MM: month

    l DD: date

    l YYYY: year

    3. Create a VRF by the ip vrf command.

    The command syntax is: ip vrf vpniid . Refer to Table 2-3 forparameter settings.

    Table 2-3 Parameter Settings for Creating a VRF

    Parameter Description

    WORD The VRF name, range: 1 to 32 strings.

    VPNID The VPN ID.

    4. Set the rd range by the rd command.

    The command syntax is: rd rd:rd. Refer to Table 2-4 for parameter settings.

    Table 2-4 Parameter Settings for Setting rd Range

    Parameter Description

    rd:rd Route specificator, distinguishes different VPN routes.

    Range: :.

    End of Steps

    Example

    1. To set the time zone with time zone name as UTC+8 and offset time as 8, use thecommand below:

    xGW#clock timezone UTC+8 8

    2. To set the time as 11:30:40, 20th, May, 2010, use the command below:

    xGW#clock set 11:30:40 05-20-2010

    3. Use the following command to create a VRF, with the name being VPI and the VPNID being 1:

    xGW#ip vrf PI vpniid 1

    4. Use the following command to set the rd range of the VRF to 1:1:

    xGW#rd 1:1

    2-2

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 2 Local Information Configuration

    2.2 Configuring Boards

    2.2.1 Configuring the CPU GroupCreate a CPU group, and set the CPU group backup relation. Add the CPU on the GSUboard to the CPU group which is already created.

    The CPU group is only for the CPUs on the GSU.

    Prerequisite

    The CPU group is configured.

    Steps

    1. In the GGSN configuration mode, create and enter a CPU group or directly enter aCPU group.

    The command syntax for creating and entering a CPU group or directly entering a CPUgroup is: group , as described in Table 2-5.

    Table 2-5 Description of Commands for Creating or Entering a CPU

    Parameter Description

    number CPU group ID, ranging 1~250.

    2. Set the CPU group back mode.

    The command syntax for configuring the CPU group back mode is: backupmode{none|1+1|N+1}, as described in Table 2-6.

    Table 2-6 Description of Commands for Setting CPU Group Backup Mode

    Parameter Description

    none|1+1|N+1 l none: no backup

    l 1+1: 1+1 backup

    l N+1: N+1 backup

    3. Add a CPU to the CPU group.

    The command syntax for adding a CPU is: cpu , as described in Table 2-7.

    Table 2-7 Description to Commands for Adding a CPU

    Parameter Description

    Location CPU location:

    l Shelf: shelf, generally the shelf ID is configured as 0.

    l Slot: slot

    l cpu: CPU ID, generally starting from 0 and orderly

    numbered inside the board.

    2-3

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Note:

    Use the CPU which is powered on successfully and runs properly earlier as the activeone, while use the latter one as the standby one.

    Configured active/standby CPUs must have the same shelf No., different slot No., andthe same CPU ID.

    End of Steps

    Example

    1. To create and enter or directly enter the CPU group with group ID as 1, use thecommand below:

    xGW(config-xgw-ggsn)#group 1

    2. To configure the CPU group backup mode as 1+1 backup, use the command below:

    xGW(config-xgw-ggsn-group)#backupmode 1+1

    3. To add the CPU 0 of the GSU board at slots 14 and 15 to the CPU group whose groupID is 1, use the command below:

    xGW(config-xgw-ggsn-group)#cpu 0/14/0

    xGW(config-xgw-ggsn-group)#cpu 0/15/0

    2.2.2 Configuring the SLB GroupAs the master control unit of GGSN load sharing, Service Load Balancing (SLB) allocatesthe GSU resource usage, and ensures the balance of the load of each GSU.

    Steps

    1. In the SLB configuration mode, create and enter the SLB group.

    The command syntax for creating and entering the SLB group is: group , asdescribed in Table 2-8.

    Table 2-8 Description of Commands for Creating and Entering the SLB Group

    Paramter Description

    number SLB group ID, ranging 1~250.

    2. Configure the backup mode of the CPU of SLB group.

    The command syntax for configuring the backup mode of the CPU of SLB group is:backupmode {none|1+1}, as described in Table 2-9.

    2-4

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 2 Local Information Configuration

    Table 2-9 Description of Commands for Configuring the Backup Mode of CPUof SLB Grou

    Parameter Description

    none|1+1 l none: no backup

    l 1+1: 1+1 backup

    3. Add a CPU in the SLB group.

    The command syntax for adding a CPU in the SLB group is:cpu , asdescribed in Table 2-10.

    Table 2-10 Description of Commands for Adding a CPU in SLB Group

    Parameter Description

    Location CPU Location, Shelf/Slot/cpu:

    l Shelf: shelf

    l Slot: slot

    l cpu: CPU ID

    Note:

    Use the CPU which is powered on successfully and runs properly earlier as the activeone, while use the latter one as the standby one.

    Configured active/standby CPUs must have the same shelf No., different slot No., andthe same CPU ID.

    4. Configure the SLB address.

    The command syntax for configuring the SLB address is: virtual-gtp-ip-address [vrf], as described in Table 2-11.

    Table 2-11 Description of Commands for Configuring SLB Address

    Parameter Description

    A.B.C.D SLB address.

    vrf-name VRF name.

    End of Steps

    Example

    1. To enter the SLB configuration area, use the command below:

    xGW(config-xgw)#slb

    2. To create and enter the SLB group with group ID as 1, use the command below:

    2-5

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    xGW(config-xgw-slb)#group 1

    3. To set the CPU as 1+1 backup, use the command below:

    xGW(config-xgw-slb)#backupmode 1+1

    4. Add the CPU with shelf 0/slot 13/CPU 0 and the CPU with shelf 0/slot 15/CPU 0 to theSLB group, use the command below:

    xGW(config-xgw-slb-group)#cpu 0/13/0

    xGW(config-xgw-slb-group)#cpu 0/15/0

    5. Return to the data configuration mode, use the command below:

    xGW(config-xgw-slb-group)#exit

    xGW(config-xgw-slb)#exit

    6. Enter the GGSN configuration mode, use the command below:

    xGW(config-xgw)#ggsn

    7. Use the exit command to exit the slb configuration mode and enter the GGSNconfiguration mode. To configure the SLB address as 192.168.50.10, use thecommand below:

    xGW(config-xgw-ggsn)#virtual-gtp-ip-address 192.168.50.10 vrf RP

    2.2.3 Configuring the CU GroupConfigure the CPU of the Charging Unit (CU) daughter card, and configure the alarmthreshold.

    Only the CPU whose daughter card No. on the CSU board is XSFC can be configuredas the CU, and generally it is the CPU 2 on the CSU; therefore, the CPU location is shelf0/slot **/CPU 2 when configuring the CU.

    There is a hard disk on the CU daughter card, which is used to save the CDRs.

    CU does not need to configure the backup mode of the CPU group, and all CPUs are atactive status by default. Where there are multiple CU groups, system will automaticallychoose the CU group with a smaller group ID as the preferred CU group for saving CDRs.

    Prerequisite

    Make sure that there is a CPU as XSFC in the daughter card No. on the CSU board.

    Steps

    1. In the CU configuration mode, create and enter the CU group.

    The command syntax for creating and entering the CU is: group , asdescribed in Table 2-12.

    2-6

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 2 Local Information Configuration

    Table 2-12 Description of Commands for Creating and Entering the CU Group

    Parameter Description

    number CU Group ID, ranging 1~250.

    2. Carry out the following command under the CU group mode to add the CPU to the CUgroup.

    The command syntax for adding the CPU to the CU group is: cpu , asdescribed in Table 2-13.

    Table 2-13 Description of Commands for Adding the CPU to the CU Group

    Parameter Description

    Location CPU location:

    l Shelf: shelf

    l Slot: slot

    l cpu: CPU ID

    Note:

    Use the CPU which is powered on successfully and runs properly earlier as the activeone, while use the latter one as the standby one.

    Configured active/standby CPUs must have the same shelf No., different slot No., andthe same CPU ID.

    3. Configure the CU ageing time.

    The command syntax for configuring the CU ageing time is: ageing-time{|default}, as described in Table 2-14.

    Table 2-14 Description of Commands for Configuring the CU Ageing Time

    Parameter Description

    3-30 Value of CU ageing time, ranging 3~30. When the hard disk space on the CU is

    insufficient, CDRs before the ageing time will be deleted firstly.

    default Default ageing time is 7 days.

    End of Steps

    Example

    1. To go to the CU configuration area, use the command below:

    xGW(config-xgw)#cu

    2. To create and enter the CU group with group ID as 1, use the command below:

    2-7

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    xGW(config-xgw-cu)#group 1

    3. To add the CPU with shelf 0/slot 13/CPU 2 in the CU group 1, use the command below:

    xGW(config-xgw-cu-group)#cpu 0/13/2

    4. Exit the CU group configuration mode, use the command below:

    xGW(config-xgw-cu-group)#exit

    5. To create the CU group 2, and add the CPU with shelf 0/slot 15/CPU 2 in this group,use the command below:

    xGW(config-xgw-cu)#group 2

    xGW(config-xgw-cu-group)#cpu 0/15/2

    6. Exit the CU group configuration mode, use the command below:

    xGW(config-xgw-cu-group)#exit

    7. To configure the CU ageing time according to the default mode, use the commandbelow:

    xGW(config-xgw-cu)#ageing-time default

    2.3 Configuring the IP Protocol StackThe real interface is the physical interface, which is used for communication of GGSNbottom layer links, and responsible for communication among the GGSN and other NEs.

    Steps

    1. Configure the physical interface in global configuration mode.

    a. Use the command show ip interface to query the real interface status.

    If all AdminStatus are up, the PFU board is started successfully. The following isan example of output result of the physical interface status:

    gei-0/10/0/1 AdminStatus is up, PhyStatus is down, line protocol is down

    IP MTU is 1500 bytes

    gei-0/10/0/2 AdminStatus is up, PhyStatus is up, line protocol is up

    Internet address is 192.136.1.1/16

    Broadcast address is 255.255.255.255

    Secondary address is 194.136.1.1/16

    Secondary address is 122.10.0.1/16

    Secondary address is 194.136.25.31/16

    IP MTU is 1500 bytes

    gei-0/10/0/3 AdminStatus is up, PhyStatus is down, line protocol is down

    IP MTU is 1500 bytes

    gei-0/10/0/4 AdminStatus is up, PhyStatus is down, line protocol is down

    IP MTU is 1500 bytes

    gei-0/10/0/5 AdminStatus is up, PhyStatus is down, line protocol is down

    IP MTU is 1500 bytes

    2-8

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 2 Local Information Configuration

    gei-0/10/0/6 AdminStatus is up, PhyStatus is down, line protocol is down

    IP MTU is 1500 bytes

    gei-0/10/0/7 AdminStatus is up, PhyStatus is up, line protocol is up

    IP MTU is 1500 bytes

    b. Enter the interface status.

    The syntax of the command used to enter the interface status is interfaceinterface-location, or interface gei- interface-location, or interface xgei-interface-location. The involved parameters are as described in Table 2-15.

    Table 2-15 Description of Commands for Entering the Interface Status

    Parameter Description

    interface-location Port location information in the format of shelf/slot/subunit

    type/port.

    Note:

    To enter the interface status, use the interface gei- command for 10M or 1000M or100M interface, the interface xgei- command for 10G interface.

    c. To add an interface IP address.

    The syntax of the command for adding an interface IP address is: ip address . The involved parameters are as described in Table 2-16.

    Table 2-16 Description of Commands for Adding the Interface IP Address

    Parameter Description

    IP-Address IP address of the real interface.

    Mask Mask address of the real interface.

    d. Set the MAC address offset.

    The syntax of the command for setting the MAC address offset is: interface mac-address offset . The involved parameters are as described in Table 2-17.

    Table 2-17 Description of Commands for Setting MAC Address Offset

    Parameter Description

    Number Number of the offset bytes of the MAC address.

    2-9

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Note:

    The PFU has multiple optical ports or electrical ports, and their MAC addressesmay be the same; therefore, offset their MAC addresses for N bytes duringconfiguration to ensure no-repeat.

    2. Configure the route in global configuration mode.

    a. Set the default route of the ZXUN GGSN.

    The syntax of the command for setting the default route is: ip route 0.0.0.0 0.0.0.0Gateway IP address

    b. Set the non-default route of the GGSN.

    The command syntax for configuring the non-default route of the GGSN is: iproute , as described in Table 2-18.

    Table 2-18 Description of Commands for Setting Non-default Route of GGSN

    Parameter Description

    IP-Address Destination IP address of the non-default route.

    Mask Mask of the non-default route.

    Next Hop Gateway IP address of the non-default route, which must be in the

    same network segment with the IP addresses of the interface using

    this route.

    End of Steps

    Example

    1. To query the real interface status, use the following command:

    xGW(config)#show ip interface

    2. To enter the 1000M interface located at the No.1 port of the slot 6, the command is:

    xGW(config)#interface gei- 0/6/0/1

    3. To add the interface IP address, with IP address 192.136.1.1 and mask 255.255.0.0,use the following command:

    xGW(config-if)#ip address 192.136.1.1 255.255.0.0

    4. To set the MAC address to offset 2 bytes, use the following command:

    xGW(config-if)#interface mac-address offset 2

    5. To go back to the Privileged mode, use the command below:

    xGW(config-if)#exit

    6. To set the default route of GGSN, the command is:

    2-10

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 2 Local Information Configuration

    xGW(config)#ip route 0.0.0.0 0.0.0.0 194.136.0.254

    7. To configure a route in which the destination address is 192.136.2.5 and the gatewayaddress is 194.136.0.254, use the command below:

    xGW(config)#ip route 192.136.2.5 255.255.0.0 194.136.0.254

    2-11

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    This page intentionally left blank.

    2-12

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 3Basic Service ConfigurationTable of Contents

    Description of the basic service configuration .............................................................3-1Configuring the Dynamic IP Pool ................................................................................3-1Configuring the APN...................................................................................................3-2

    3.1 Description of the basic service configurationThis chapter describes the basic operations of the configuration of the ZXUN GGSN,including the following two parts.

    l Configuring the Dynamic IP Pool

    Before the mobile terminal subscriber accesses the external network, the GGSNshould allocate an address to this subscriber.

    ZXUN GGSN allocates local subscriber with addresses through a dynamic addresspool.

    l Configuring the APN

    APN identifies the external PDN or type of business that connected to ZXUN GGSN.

    Configure the APN is used to set the APN's name and other configuration.

    3.2 Configuring the Dynamic IP PoolThis section describes how to configure the dynamic address pool, including creating thepool and configuring address sections.

    Steps

    1. In the GGSN configuration mode, create and enter the IP pool mode.

    The command syntax for creating and entering the IP pool is: ipv4 ip-pool{local|dhcp|assigned|aaa} , as described in Table 3-1.

    Table 3-1 Description of Commands for Configuring the IP Pool

    Parameter Description

    local IP pool type, locally assigns or AAA returns IP pool name.

    dhcp IP pool type, DHCP returns IP address.

    assigned IIP pool type, RADUIS returns IP address.

    3-1

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Parameter Description

    aaa IP pool type, RADUIS returns IP pool name.

    pool-name IP pool name, 1~20 characters.

    2. Configure the IP segment of the IP pool.

    The command syntax for configuring the IP segment of the IP pool is: segment [mask ] dhcpgateway cpulocation , asdescribed in Table 3-2.

    Table 3-2 Description of Commands for Configuring the IP Segment

    Parameter Description

    ipstart Start IP address of the IP segment.

    ipend End IP address of the IP segment.

    mask Mask of the IP segment.

    dhcpgateway Gateway address from GGSN to DHCP server.

    When adding to IP segment in IP pool in DHCP type, configure the gateway

    address from GGSN to DHCP server; no need to configure it when adding

    IP segment in IP pool in other types.

    cpulocation CPU location, type as per the format groupno/intragroupno. groupno is

    the CPU group ID (ranging 1~250), intragroupno is the CPU ID inside the

    group (ranging 1~5).

    End of Steps

    Example

    1. To enter the IP segment with the IP pool type as local, and IP pool name as ippooltest,use the command below:

    xGW(config-xgw-ggsn)#ipv4 ip-pool local ippooltest

    2. To add the IP segment with start IP address as 10.50.0.1, end IP address as10.50.255.254, mask as 255.255.0.0, and cpu location as 3/1, use the commandbelow:

    xGW(config-xgw-ggsn-ipv4)#segment 10.50.0.1 10.50.255.254 mask255.255.0.0 cpulocation 3/1

    3.3 Configuring the APNConfigure the APN, and use it for the activation flow of common services.

    Prerequisite

    l The CPU has been added to the specified Group.

    3-2

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 3 Basic Service Configuration

    l The IP pool is ready.

    Steps

    1. In the GGSN configuration mode, create and enter the APN mode.

    The command syntax for creating and entering the APN mode is: ap , asdescribed in Table 3-3.

    Table 3-3 Description of Commands for Configuring the APN

    Parameter Description

    apn-name APN name, 1~63 characters.

    2. Configure the APN address allocation mode.

    The command syntax for configuring the APN address allocation mode is: ip-allocate-mode {dhcp|local|radius-allocate|radius-assign-name}, as described in Table 3-4.

    Table 3-4 Description of Commands of Address Allocation Mode

    Parameter Description

    dhcp DHCP assigns IP.

    local Locally assigns IP.

    radius-allocate RADIUS assigns IP.

    radius-assign-name RADIUS assigns IP pool name (for example, when RADIUS assigns

    the IP pool name as asspool, if there is an IP pool named as asspool

    locally, then assign IP to users from the IP pool asspool; if there is no

    IP pool named as asspool locally, the IP address assignment fails, and

    users cannot access successfully).

    3. Configure the APN associated IP pool.

    The command syntax for configuring the APN associated IP pool is: ippool, as described in Table 3-5.

    Table 3-5 Description of Commands for Configuring APN Associated IP Pool

    Parameter Description

    pool-name IP pool name, get corresponding IP pool from the IP pool list according to the

    name.

    End of Steps

    Example

    1. To create an APN named as zte, use the command below:

    xGW(config-xgw-ggsn)#ap zte.com

    2. To set the APN address allocation mode as local, use the command below:

    3-3

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    xGW(config-xgw-ggsn-apn)#ip-allocate-mode local

    3. To add the APN associated IP pool name as ippooltest, use the command below:

    xGW(config-xgw-ggsn-apn)#ippool ippooltest

    3-4

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4NE InterconnectionConfigurationTable of Contents

    Configuring the Interconnection Between GGSN and SGSN ......................................4-1Configuring the Interconnection Between GGSN and PDN.........................................4-4Configuring the Interconnection Between GGSN and RADIUS ...................................4-4Configuring the Interconnection Between GGSN and OCS.........................................4-8Configuring the Interconnection Between GGSN and DHCP Server .........................4-13Configuring the Interconnection Between GGSN and Charging Server.....................4-17

    4.1 Configuring the Interconnection Between GGSNand SGSN

    The SGSN implements lots of PS domain functions, such as network access control,grouping routing and transmission, mobility management, logical link management,wireless resource management and network management.

    The Gn/Gp interface is used between ZXUN GGSN and SGSN. This section describeshow to configure the interconnection data between ZXUN GGSN and SGSN.

    Steps

    1. In the GGSN configuration mode, configure the GTP-C address of the GGSN.

    The command syntax for configuring the GTP-C address of the GGSN is: gtpc-ip-address [vrf] , as described in Table 4-1.

    Table 4-1 Description of Commands for Configuring GTP-C Address of GGSN

    Parameter Description

    A.B.C.D GTP-C address.

    vrf-name VRF name, ranging 1~32.

    cpu-location CPU ID with the format as: groupno/intragroupno

    l groupno: Group ID of the CPU group

    l intragroupno: CPU ID inside the group

    2. Configure the GTP-U address of the GGSN.

    4-1

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    The command syntax for configuring the GTP-U address of the GGSN is: gtpu-ip-address [vrf] , as described in Table 4-2.

    Table 4-2 Description of Commands for Configuring GTP-U Address of GGSN

    Parameter Description

    A.B.C.D GTP-U address.

    vrf-name VRF name, ranging 1~32.

    cpu-location CPU ID of GGSN, with the format as: groupno/intragroupno

    l groupno: Group ID of the CPU group

    l intragroupno: CPU ID inside the group

    3. In the Global configuration mode, enter the loopback interface.

    The command syntax for entering the loopback interface is: interface loopback ,as described in Table 4-3.

    Table 4-3 Description of Commands to Enter the loopback Interface

    Parameter Description

    164 Loopback interface No., ranging 1~64.

    4. Add the loopback interface address, and add the GTP service address to the loopbackinterface.

    The command syntax for adding the loopback interface address is: ip address [broadcast address|secondary], as described in Table 4-4.

    Table 4-4 Description of Commands to Add Loopback Interface Address

    Parameter Description

    IP address Loopback interface address

    mask Mask of the loopback interface address

    broadcast address broadcast address

    secondary Configure the loopback interface address as the secondary loopback

    interface address.

    5. Configure the interface address for the GGSN communicating with the SGSN, referringto 2.3 Configuring the IP Protocol Stack for detailed operations.

    End of Steps

    Example

    1. To set the GTP-C address of the CPU 1 of CPU group 2 as 200.91.1.161, use thecommand below:

    xGW(config-xgw-ggsn)#gtpc-ip-address 200.91.1.161 2/1

    4-2

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4 NE Interconnection Configuration

    2. To set the GTP-U address of the CPU 1 of CPU group 2 as 200.91.1.161, use thecommand below:

    xGW(config-xgw-ggsn)#gtpu-ip-address 200.91.1.159 2/2

    3. To go back to the Privileged mode, use the command below:

    xGW(config-xgw-ggsn)#end

    4. To go to the Global configuration mode, use the command below:

    xGW#configure terminal

    5. To enter the loopback interface loopback1, use the command below:

    xGW(config)#interface loopback 1

    6. To add the GTP-C service address 200.91.1.161 to the loopback interface loopback1,use the command below:

    xGW(config-if)#ip address 200.91.1.161 255.255.255.0

    7. To add the GTP-U service address 200.91.1.159 to the loopback interface loopback1,use the command below:

    xGW(config-if)#ip address 200.91.1.159 255.255.255.0

    8. To go back to the Privileged mode, use the command below:

    xGW(config-if)#exit

    9. To access to the interface of 0/6/0/1, use the command below:

    xGW(config)#interface gei- 0/6/0/1

    10. To add an interface IP address 192.168.119.91, with the mask 255.255.255.0, use thecommand below:

    xGW(config-if)#ip address 192.168.119.91 255.255.255.0

    11. To set the MAC address an offset of 2 bits, use the command below:

    xGW(config-if)#interface mac-address offset 2

    12. To go back to the Privileged mode, use the command below:

    xGW(config-if)#end

    13. To configure a route in which the SGSN GTP-C address is 200.62.1.161 and thegateway address for GGSN communicating with GTP is 192.168.119.61, use thecommand below:

    xGW(config)#ip route 200.62.1.161 255.255.255.0 192.168.119.61

    14. To configure a route in which the SGSN GTP-U address is 200.62.1.159 and thegateway address for GGSN communicating with GTP is 192.168.119.61, use thecommand below:

    xGW(config)#ip route 200.62.1.159 255.255.255.0 192.168.119.61

    4-3

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    4.2 Configuring the Interconnection Between GGSNand PDN

    When the GGSN interconnects to the external PDN through the Gi interface, generallythe GGSN should connect to the PDN edge router. The Gi interface address forcommunication to the PDN must be configured on the GGSN, and this address must bein the same network segment with the IP address of the edge router, so as to ensure thecommunication between the GGSN and the external network.

    Prerequisite

    The IP address of the opposite PDN edge router (IP address of the edge router is used asthe next hop address for adding a route, and this address must be ping-able by the sourceaddress and the destination address).

    Steps

    1. Configure the interface address for the GGSN communicating with the PDN, referringto 2.3 Configuring the IP Protocol Stack for detailed operations.

    End of Steps

    Example

    1. To enter the gei-0/6/0/2 interface, use the command below:

    xGW(config)#interface gei- 0/6/0/2

    2. To add the interface IP address, with IP address as 192.168.119.92 and mask as255.255.255.0, use the command below:

    xGW(config-if)#ip address 192.168.119.92 255.255.255.0

    3. To set the MAC address to offset 2 bytes, use the command below:

    xGW(config-if)#interface mac-address offset 2

    4. To go back to the Privileged mode, use the command below:

    xGW(config-if)#exit

    5. To configure a route in which the DHCP address is 200.50.3.24 and the gatewayaddress for GGSN communicating with PDN is 192.168.119.62, use the commandbelow:

    xGW(config)#ip route 200.50.3.24 255.255.255.0 192.168.119.62

    4.3 Configuring the Interconnection Between GGSNand RADIUS

    The RADIUS server is used for mobile user device accessing and service authenticationand authorization.

    4-4

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4 NE Interconnection Configuration

    ZXUN GGSN connects to the RADIUS server through the Gi RADIUS interface.

    Steps

    1. In the GGSN configuration mode, create and enter the AAA template configurationmode.

    The command syntax for creating and entering the AAA template configuration modeis: aaa-profile , as described in Table 4-5.

    Table 4-5 Description of Commands for Creating and Entering AAA templateConfiguration Mode

    Parameter Description

    name AAA template name, 1~63 characters.

    2. Configure the shared key with aaa attribute.

    The command syntax for configuring the shared key is: shared-key key, as describedin Table 4-6.

    Table 4-6 Description of Commands for Configuring the Shared Key

    Parameter Description

    key Shared key between GGSN and RADIUS server, 1~63 characters.

    3. Configure the default user name and password of the RADIUS server.

    The command syntax for configuring the default user name is: default-user name password , as described in Table 4-7.

    Table 4-7 Description of Commands for Configuring the Default User Name

    Parameter Description

    username Default user name, 1~63 characters.

    password Password, 1~63 characters.

    4. Configure the RADIUS server.

    The command syntax for configuring the RADIUS server is: radius-server vrf auth-port acct-port , as described in Table 4-8.

    Table 4-8 Description of Commands for Configuring RADIUS Server

    Paramete Description

    A.B.C.D RADIUS server address.

    vrf-name VRF name, 1~32 characters.

    auth-port Authentication port, 1812 by default.

    acct-port Charging port, 1813 by default.

    4-5

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    5. Add the RADIUS client address.

    The command syntax for configuring the RADIUS client address is: client-address[global|], as described in Table 4-9.

    Table 4-9 Description of Commands for Configuring RADIUS Client Address

    Parameter Description

    A.B.C.D RADIUS address.

    global If the RADIUS client address is configured as global, when the APN users

    using this AAA template access, they all use this RADIUS client address.

    cpu-location CPU location information.

    6. In the APN configuration mode, set the APN authentication type.

    The command syntax for setting the APN authentication type is: authentication-mode {none | (radius [{bind-acct {enable|disable}] [aaa-dynm-l2tp-preferred{enable|disable}]})}, as described in Table 4-10.

    Table 4-10 Description of Commands for Setting APN Authentication Type

    Parameter Description

    none No authentication is needed.

    radius Authentication by RADIUS.

    bind-acct Sets whether to bind the charge and the authentication server, with

    options enable and disable.

    dynm-l2tp-preferred Sets whether dynamic L2TP channel preference on AAA is enabled, with

    options enable or disable.

    7. Configure the APN associated authentication AAA template.

    The command syntax for configuring the APN associated authentication AAA templateis: auth aaa-profile , as described in Table 4-11.

    Table 4-11 Description of Commands for Configuring the APN AssociatedAuthentication AAA template

    Parameter Description

    template-name Name of the authentication AAA template, 1~63

    characters.

    8. Configure APN associated charging AAA template.

    The command syntax for configuring the APN associated charging AAA template is:charge aaa-profile , as described in Table 4-12.

    4-6

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4 NE Interconnection Configuration

    Table 4-12 Description of Commands for Configuring APN Associated ChargingRADIUS template

    Parameter Description

    template-name Charging AAA template name, 1~63 characters.

    9. Configure the interface address for the GGSN communicating with the DHCP, referringto 2.3 Configuring the IP Protocol Stack for detailed operations.

    End of Steps

    Example

    1. To create and enter the AAA template configuration mode whose name is aaa, usethe command below:

    xGW(config-xgw-ggsn)#aaa-profile aaa

    2. To configure the shared key with aaa attribute, use the command below:

    xGW(config-xgw-ggsn-aaa)#shared-key WinRadius

    3. To configure the default user name, use the command below:

    xGW(config-xgw-ggsn-aaa)#default-user name zte password zte

    4. To add the RADIUS server, use the command below:

    xGW(config-xgw-ggsn-aaa)#radius-server 200.40.5.20 auth-port 1812 acct-port 1813

    5. To add the RADIUS client address as 192.168.100.100 for CPU 1 of CPU group 2,use the command below:

    xGW(config-xgw-ggsn-aaa)#client-address 192.168.100.100 2/1

    6. To go back to the GGSN configuration mode, use the command below:

    xGW(config-xgw-ggsn-aaa)#exit

    7. To create and enter the APN configuration mode whose name is zte.com, use thecommand below:

    xGW(config-xgw-ggsn)#ap zte.com

    8. To set the APN authentication type as radius, use the command below:

    xGW(config-xgw-ggsn-apn)#authentication-mode radius

    9. To configure the authentication AAA template name as aaaauth, use the commandbelow:

    xGW(config-xgw-ggsn-apn)#auth aaa-profile aaaauth

    10. To configure the name of charging AAA template as aaachar, use the command below:

    xGW(config-xgw-ggsn-apn)#charge aaa-profile aaachar

    11. To go back to the Privileged mode, use the command below:

    4-7

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

    AdministratorHighlight

    AdministratorHighlight

    AdministratorHighlight

    AdministratorHighlight

  • ZXUN xGW GGSN Data Configuration Guide

    xGW(config-xgw-ggsn-apn)#end

    12. To go to the Global configuration mode, use the command below:

    xGW#configure terminal

    13. To enter the gei-0/6/0/3 interface, use the command below:

    xGW(config)#interface gei- 0/6/0/3

    14. To add the interface IP address, with IP address as 192.168.119.93 and mask as255.255.255.0, use the command below:

    xGW(config-if)#ip address 192.168.119.93 255.255.255.0

    15. To set the MAC address to offset 2 bytes, use the command below:

    xGW(config-if)#interface mac-address offset 2

    16. To go back to the Privileged mode, use the command below:

    xGW(config-if)#end

    17. To configure the route with AAA address as 200.40.5.20, and gateway addressfor communication between the GGSN and the AAA as 192.168.119.63, use thecommand below:

    xGW(config)#ip route 200.40.5.20 255.255.255.0 192.168.119.63

    4.4 Configuring the Interconnection Between GGSNand OCS

    ZXUN GGSN implements the OCS on-line charging function in conjunction with the OCSserver. It supports charging function based on time, traffic, content and stream, and thetraffic switch function.

    ZXUNGGSN connects to the OCS server through the Gy interface. This section describeshow to configure the interconnection data between ZXUN GGSN and OCS server.

    Steps

    1. In the GGSN configuration mode, configure local node parameters.

    The command syntax for configuring local node parameters is: diameter local-node carrier host realm interface-mode [18], as described in Table 4-13.

    Table 4-13 Description of Commands for Configuring Local Node Parameters

    Parameter Description

    node-name Local node name, 1~63 characters.

    carrier-name Operator name, 1~127 characters.

    host-name Host name, 1~63 characters.

    4-8

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4 NE Interconnection Configuration

    Parameter Description

    realm-name The Diameter domain name of the adjacent office, the Host ID of the node

    when receiving and sending a Diameter message, composed of 1~63

    characters.

    interface-mode Interface mode, ranging 1~8.

    2. Configure the adjacent office node parameters.

    The command syntax for configuring the adjacent office node parameters is: diameter adjacent-node type {none|proxy|ocs(interface-mode{ ro_extension_10(0)|ro_extension_11(1)| ro_3gpp_32299_6b0(2)|ro_3gpp_32299_900(3)|ro_extension_12(4)|ro_extension_14(5)|ro_extension_30(10)})|ro_extension_32(12) |ro_extension_40(8) |ro_extension_41(9) |ro_extension_50(14) |ro_extension_60(15) |ro_extension_70(16)})|pcrf(interface-mode{ gx_3gpp_29212_910(7)|gx_extension_20(6)})|bmsc} host realm capability 0-128 [{[tx-timer ],[failover{enable|disable}].[resend-times]}], as described in Table 4-14.

    Table 4-14 Description of Commands for Configuring Adjacent Office NodeParameters

    Parameter Description

    node-name Adjacent office node name, 1~63 characters.

    type Adjacent office type:

    l none: the specific type of the node is not specified.

    l proxy: the adjacent office supports the Diameter Proxy function.

    l ocs: the adjacent office supports the OCS function.

    l pcrf: the adjacent office supports the PCRF function.

    l bmsc: the adjacent office supports the BMSC function.

    interface-mode The type of the interfaces activated for the adjacent office. Currently, two

    types of interfaces are available, Gx andGy.

    Wherein, Gx interfaces can be further divided into:

    l gx_3gpp_29212_910(7) the Gx interfaces based on the 3GPP TS29.212

    v9.1.0 version.

    l gx_extension_20(6) the Gx interfaces based on the 3GPP v2.0 version.

    Gy interfaces can be further divided into:

    l ro_extension_10(0): the extended Gy interfaces based on the 3GPP

    v1.0 version.

    l ro_extension_11(1): the extended Gy interfaces based on the 3GPP

    v1.1 version.

    l ro_3gpp_32299_6b0(2): the Gy interfaces defined in 3GPP TS32.299

    v6.b.0.

    l ro_3gpp_32299_900(3): the Gy interfaces defined in 3GPP TS32.299

    v9.0.0.

    l ro_extension_12(4): the extended Gy interfaces based on the 3GPP

    v1.2 version.

    4-9

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Parameter Description

    l ro_extension_14(5): the extended Gy interfaces based on the 3GPP

    v1.4 version.

    l ro_extension_30(10)the extended Gy interfaces based on the 3GPP

    TS32.299 version.

    l ro_extension_31(11)the extended Gy interfaces based on the 3GPP

    TS32.299 version.

    l ro_extension_32(12)the extended Gy interfaces based on the 3GPP

    TS32.299 version.

    l ro_extension_41(9)the extended Gy interfaces based on the 3GPP

    TS32.299 vesion.

    l ro_extension_50(14)the extended Gy interfaces based on the 3GPP

    TS32.299 version.

    l ro_extension_60(15) the extended Gy interfaces based on the RFC4006

    version.

    l ro_extension_70(16) the extended Gy interfaces based on the 3GPP

    TS32.299 version.

    host-name Host name, 1~63 characters.

    realm-name domain name, 1~63 characters.

    capability The capacity negotiation template used when the Diameter connection to

    the adjacent office is created. Before configuring the information, you need

    configure the Diameter capacity negotiation template first, valued as a string

    of 0-128 digits.

    tx-timer Timeout timer, ranging (unit: second) 6~12.

    3. Configure the TCP link.

    The command syntax for configuring the TCP link is: diameter tcp-link mtu vrf , as described in Table 4-14.

    Table 4-15 Description of Commands for Configuring the TCP Link

    Parameter Description

    name TCP link name, 1~63 characters.

    local ip Local GGSN IP address, IPv4 address type.

    local port Local port No., integer type: 0~65535.

    destination ip Opposite OCS IP address, IPv4 address type.

    destination port Opposite port No., integer type: 0~65535.

    cpu-location CPU ID of the GGSN, the format is: groupno/intragroupno

    groupno: Group ID of the CPU group.

    intragroupno: CPU ID inside the group.

    4-10

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4 NE Interconnection Configuration

    Parameter Description

    mtu MSS value, integer type: 800~1460.

    vrf-name VRF name, 1~50 characters.

    4. Configure the Diameter link.

    The command syntax for configuring the Diameter link is: diameter link {none|gmb|gx|ro/gy} tcp-name tc 5100 avp-check, as described in Table 4-16.

    Table 4-16 Description of Commands for Configuring Diameter Link

    Parameter Description

    link-name Diameter link name, 1~63 characters.

    local-node-name Local office node name, 1~63 characters.

    adjacent-node-

    name

    Adjacent office node name, 1~63 characters.

    gmb|gx|none|ro/gy Application type, with options below:

    l none: no Diameter application type is specified.

    l gmb: gmb interface.

    l gx: corresponds to the Gx interface application, used when the

    peer-end is PCRF and the Gx interface is available.

    l ro/gy: corresponds to the Ro interface (alternatively named as Gy

    interface), used when the peer-end is OCS and the Ro interface

    is available.

    tcp-name TCP link name, 1~63 characters.

    tc Tc timer, which sets the interval for message re-transfer during Diameter

    negotiation. Optional parameter, a string of 5~100 digits.

    avp-check Sets whether to check the Diameter capability AVP of the peer end.

    5. Configure the interface address for the GGSN communicating with the OCS, referringto 2.3 Configuring the IP Protocol Stack for detailed operations.

    End of Steps

    Example

    1. To configure the local node name as ggsn1, the operator name as ggsncarrier, thehost name as hostggsn.com, the domain name as unicomgd.com, and the interfacemode as 1, use the command below:

    xGW(config-xgw-ggsn)#diameter local-node ggsn1 carrier ggsncarrier hosthostggsn.com realm unicomgd.com interface-mode 1

    4-11

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    2. To configure the adjacent office node name as ocs1, the adjacent office type as ocs,using the Ro interfaces defined in 3GPP TS32.299 v6.b.0, with the host name ocs1,domain name ocs1, and the negotiation template 0, use the following command:

    xGW(config-xgw-ggsn)#diameter adjacent-node ocs1 interface-modero_3gpp_32299_6b0(2) host ocs1 realm ocs1 capability 0 tx-timer 6

    3. To configure the TCP link name as ocs1, local address as 200.91.1.161 (loopbackaddress), local port No. as 8888, opposite address as 200.30.7.10, and opposite portNo. as 8889 for CPU 1 of CPU group 4, use the command below:

    xGW(config-xgw-ggsn)#diameter tcp-link ocs1 200.91.1.161 8888 200.30.7.108889 4/1

    4. To configure the Diameter link name as ocs1, the local node name as ggsn1, theadjacent office name as ocs1, the application type as ro/gy, the TCP link name asocs1, the Tc timer value as 10 seconds, and configure to check the Diameter capabilityof the peer end, use the following command:

    xGW(config-xgw-ggsn)#diameter link ocs1 ggsn1 ocs1 ro/gy tcp-name ocs1 tc10 avp-check

    5. To go back to the Privileged mode, use the command below:

    xGW(config-xgw-ggsn)#end

    6. To go to the Global configuration mode, use the command below:

    xGW#configure terminal

    7. To access to the interface of 0/6/0/4, use the command below:

    xGW(config)#interface gei- 0/6/0/4

    8. To add an interface IP address 192.168.119.94with the mask 255.255.255.0use thecommand below:

    xGW(config-if)#ip address 192.168.119.94 255.255.255.0

    9. To go back to the Privileged mode, use the command below:

    xGW(config-if)#interface mac-address offset 2

    10. To go back to the Privileged mode, use the command below:

    xGW(config-if)#exit

    11. Use the following command to configure a route, with the OCS address being200.30.7.10 and the gateway communication address between GGSN and OCSbeing 192.168.119.64:

    xGW(config)#ip route 200.30.7.10 255.255.255.0 192.168.119.64

    4-12

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4 NE Interconnection Configuration

    4.5 Configuring the Interconnection Between GGSNand DHCP Server

    The Dynamic Host Configuration Protocol (DHCP) implements dynamic addressallocation.

    Before the DHCP server allocates addresses to the terminals, you should configureinterconnection between ZXUN GGSN and DHCP server.

    Steps

    1. In the GGSN configuration mode, create and enter the IP address pool mode of theDHCP type, select only the dhcp type for the address pool.

    The syntax of the command for creating and entering the IP address pool is ipv4 ip-pool{local|dhcp|assigned|aaa} , as described in Table 4-17.

    Table 4-17 Description for Command to Configure IP Address Pool

    Parameter Description

    local One of the IP address pool types, the IP pool name is locally allocated or returned

    from AAA.

    dhcp One of the IP address pool types, IP address is returned from DHCP.

    assigned One of the IP address pool types, IP address is returned from AAA.

    aaa One of the IP address pool types, IP address is returned from AAA.

    pool-name The name of the IP address pool, with 1~20 characters.

    2. Configuring address segment in the IP address pool.

    The syntax of the command for configuring the address segment of the IP addresspool is segment segment [mask] dhcpgateway A.B.C.D cpulocation, as described in Table 4-18.

    Table 4-18 Description for Command to Configure IP Address Segment

    Parameter Description

    ipstart Initial IP address of an address segment.

    ipend Ultimate IP address of an address segment.

    mask The mask of the address segment.

    dhcpgate-

    way

    The address of the gateway from GGSN to the DHCP server.

    While adding an address segment to an address pool of the DHCP type, you

    need configure the address of the gateway from GGSN to the DHCP server. The

    configuration is not needed when adding an address segment to an address

    pool of other types.

    4-13

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Parameter Description

    cpulocation The location of the CPU, which is entered in the format of groupno/intragroupno,

    wherein, groupno is the number of the CPU group (1~250), and intragroupno is

    the number of the CPU internal the CPU group (1~5).

    3. In the APN configuration mode, configure the APN to enable the address allocation bythe DHCP. The address allocation mode can only be dhcp.

    The syntax of the command to configure APN to enble the address allocatingby DHCP is ip-allocate-mode {dhcp|local|radius-allocate|radius-assign-name}, asdescribed in Table 4-19.

    Table 4-19 Description for Command to Configure APN to Enable AddressAllocating by DHCP

    Parameter Description

    dhcp DHCP allocates IP addresses.

    local Locally allocate IP addresses.

    radius-

    allocate

    RADIUS allocates IP addresses.

    radius-assign-

    name

    The name of the IP address pool allocated by RADIUS (for example, when

    this name is asspool, and another address pool with the same name exists in

    local disk, RADIUS allocates IP addresses from this asspool pool to users.

    Otherwise, the allocation fails and users cannot access to the network.)

    4. Configure the IP address pool of dhcp type related to APN.

    The syntax of the command to configure the IP address pool of dhcp type related toAPN is ippool , as described in Table 4-20.

    Table 4-20 Description for Command to Configure IP Address Pool of dhcp TypeRelated to APN

    Parameter Description

    pool-name The address pool name, based on which, the corresponding IP address pool

    is obtained from the IP address pool.

    5. Configure the number of times that DHCPmessages are retransmitted and the timeoutduration.

    The syntax of the command for configuring the DHCP message retransmission timesand timeout duration is dhcp-msg retransmit timeout , as described inTable 4-19.

    4-14

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4 NE Interconnection Configuration

    Table 4-21 Description for Command to Configure DHCP Message RetransmissionTimes and Timeout Duration

    Parameter Description

    retransmit The number of times that DHCP messages are retransmitted, valued within 3~5.

    timeout The timeout duration of DHCP messages, within 1~3 seconds.

    6. Configure the address of the active DHCP server.

    The syntax of the command to configure the address of the active DHCP server is primary-dhcp svr-addr vrf poolname , as describedin Table 4-22.

    Table 4-22 Description for Command to Configure Address of Active DHCP Server

    Parameter Description

    A.B.C.D The address of the active DHCP server.

    vrf The name of the VRF of the active DHCP server.

    poolname The name of the DHCP address pool, with 1~20 characters.

    7. Configure the address of the standby DHCP server.

    The syntax of the command to configure the address of the standby DHCP server issecondary-dhcp (svr-addr ) [vrf ] (poolname ), asdescribed in Table 4-23.

    Table 4-23 Description for Command to Configure Address of Standby DHCP Server

    Parameter Description

    A.B.C.D The address of the standby DHCP server.

    vrf The name of the VRF of the standby DHCP server.

    poolname The name of the DHCP address pool, with 1~20 characters.

    8. Configure the interface address for the GGSN communicating with the DHCP, referringto 2.3 Configuring the IP Protocol Stack for detailed operations.

    End of Steps

    Example

    1. To create and enter the IP address pool of the dhcp type, named as dhcppool, use thecommand below:

    xGW(config-xgw-ggsn)#ipv4 ip-pool dhcp dhcppool

    2. To add an address segment with the initial address 189.91.10.2, the ultimate address189.91.10.120, the mask 255.255.255.0, the gateway address connecting the DHCPserver 189.91.10.1, and the location of the CPU 2/1, use the command below:

    4-15

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    xGW(config-xgw-ggsn-ipv4)#segment 189.91.10.2 189.91.10.120 mask255.255.255.0 dhcpgateway 189.91.10.1 cpulocation 2/1

    3. To go back to the GGSN configuration mode, use the command below:

    xGW(config-xgw-ggsn-ipv4)#exit

    4. To enter the APN named as ztedhcp, use the command below:

    xGW(config-xgw-ggsn)#ap ztedhcp

    5. To configure APN to enable address allocating by DHCP, use the command below:

    xGW(config-xgw-ggsn-apn)#ip-allocate-mode dhcp

    6. To add an IP address pool of dhcp type related to APN and named as radiuspool, usethe command below:

    xGW(config-xgw-ggsn-apn)#ippool dhcppool //dhcppool is the created IPaddress pool of dhcp type

    7. To configure the DHCP message retransmission times as 3, and the timeout durationis 3 seconds, use the command below:

    xGW(config-xgw-ggsn-apn)#dhcp-msg retransmit 3 timeout 3

    8. To configure the address of active DHCP server as 200.20.9.3, use the commandbelow:

    xGW(config-xgw-ggsn-apn)#primary-dhcp svr-addr 200.20.9.3 poolnamedhcppool

    9. To configure the address of standby DHCP server as 200.20.9.4, use the commandbelow:

    xGW(config-xgw-ggsn-apn)#secondary-dhcp svr-addr 200.20.9.4 poolnamedhcppool

    10. To go back to the Privileged mode, use the command below:

    xGW(config-xgw-ggsn-apn)#end

    11. To go to the Global configuration mode, use the command below:

    xGW#configure terminal

    12. To access to the interface of 0/6/0/5, use the command below:

    xGW(config)#interface gei- 0/6/0/5

    13. To add an interface IP address 192.168.119.95with the mask 255.255.255.0use thecommand below:

    xGW(config-if)#ip address 192.168.119.95 255.255.255.0

    14. To set the MAC address an offset of 2 bits, use the command below:

    xGW(config-if)#interface mac-address offset 2

    15. To go back to the Privileged mode, use the command below:

    xGW(config-if)#end

    4-16

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 4 NE Interconnection Configuration

    16. To configure a route in which theDHCPaddress is 200.20.9.3 and the gateway addressfor GGSN communicating with DHCP is 192.168.119.65, use the command below:

    xGW(config)#ip route 200.20.9.3 255.255.255.0 192.168.119.65

    xGW(config)#ip route 200.20.9.4 255.255.255.0 192.168.119.65

    4.6 Configuring the Interconnection Between GGSNand Charging Server

    ZXUNGGSN implements the charging gateway function in conjunction with the CG server.

    ZXUN GGSN connects to the CG server through the Ga interface. This section describeshow to configure the interconnection data between ZXUN GGSN and CG server.

    Steps

    1. In the GGSN configuration mode, configure the parameters of a proxy address of CG.

    The syntax of the command for configuring the parameters of the proxy address of CGis cgagent-ip-address , as shown in Table 4-24.

    Table 4-24 Description for Command to Configure CG Proxy Address Parameters

    Parameter Description

    A.B.C.D The proxy address of the CG.

    cpulocation The location of the CPU, which is entered in the format of groupno/intragroupno,

    wherein, groupno is the number of the CPU group (1~250), and intragroupno is

    the number of the CPU internal the CPU group (1~5).

    2. Configure the interface address for the GGSN communicating with CG, referring to 2.3Configuring the IP Protocol Stack for detailed operations.

    End of Steps

    Example

    1. To configure the proxy address of CG as 192.168.7.93 for No.1 CPU of the No.5 CPUgroup, use the command below:

    xGW(config-xgw-ggsn)#cgagent-ip-address 192.168.7.93 5/1

    2. To go back to the Privileged mode, use the command below:

    xGW(config-xgw-ggsn)#end

    3. To access to the interface of gei-0/6/0/6, use the command below:

    xGW(config)#interface gei- 0/6/0/6

    4. To add an interface IP address 192.168.119.96with the mask 255.255.255.0use thecommand below:

    xGW(config-if)#ip address 192.168.119.96 255.255.255.0

    4-17

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    5. To set the MAC address an offset of 2 bits, use the command below:

    xGW(config-if)#interface mac-address offset 2

    6. To go back to the Privileged mode, use the command below:

    xGW(config-if)#end

    7. To go to the Global configuration mode, use the command below:

    xGW#configure terminal

    8. To configure a route in which the CG address is 200.10.10.78, the gateway addressfor GGSN communicating with CG is 192.168.119.66, use the command below:

    xGW(config)#ip route 200.10.10.78 255.255.255.0 192.168.119.66

    4-18

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 5Charging ConfigurationTable of Contents

    Charging Modes.........................................................................................................5-1Configuring the RADIUS Charging .............................................................................5-1Configuring Common Offline Charging .......................................................................5-4Configuring Content Charging ....................................................................................5-6

    5.1 Charging ModesZXUN GGSN supports various charging modes. In the term of the transmission mode ofcharging messages between the carrier equipment and the charging equipment, ZXUNGGSN supports:

    l Offline chargingl Online charging

    In the term of the charging message mode, ZXUN GGSN supports:

    l General chargingl Content-based charging

    Various charging modes can be flexibly grouped, such as common offline charging,offline content-based charging, online content-based charging (generally used for OCScharging).

    This chapter describes the offline charging (RADIUS charging), common offline charging,offline/online charging.

    5.2 Configuring the RADIUS ChargingThis chapter describes how to configure RADIUS server to assign an address and chargingfor the terminal.

    Steps

    1. In the GGSN configuration mode, create and enter the IP address pool mode ofRADIUS type, select only the assigned type for the address pool.

    The syntax of the command for creating and entering the IP address pool is gtpc-ip-address [vrf] , as described in Table 5-1.

    5-1

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Table 5-1 Description for Command to Configure IP Address Pool

    Parameter Description

    local One of the IP address pool types, the IP pool name is locally allocated

    or returned from RADIUS.

    dhcp One of the IP address pool types, IP address is returned from DHCP.

    assigned One of the IP address pool types, IP address is returned from RADIUS.

    aaa One of the IP address pool types, IP address is returned from RADIUS.

    pool-name The name of the IP address pool, with 1-20 characters.

    2. Configuring address segment in the IP address pool.

    The syntax of the command for configuring the address segment of the IP addresspool is segment [mask] dhcpgateway A.B.C.D cpulocation, as described in Table 5-2.

    Table 5-2 Description for Command to Configure IP Address Segment

    Parameter Description

    ipstart Initial IP address of an address segment.

    ipend Ultimate IP address of an address segment.

    mask The mask of the address segment.

    dhcpgateway The address of the gateway from GGSN to the DHCP server.

    While adding an address segment to an address pool of the DHCP type, you

    need configure the address of the gateway from GGSN to the DHCP server.

    The configuration is not needed when adding an address segment to an

    address pool of other types.

    cpulocation The location of the CPU, which is entered in the format of groupno/intragroupno,

    wherein, groupno is the number of the CPU group (1~250), and intragroupno

    is the number of the CPU internal the CPU group (1~5).

    3. In the APN configuration mode, configure the APN to enable address allocating byRADIUS.

    The syntax of the command to configure APN to enable the address allocatingby RADIUS is ip-allocate-mode {dhcp|local|radius-allocate|radius-assign-name}, asdescribed in Table 5-3.

    Table 5-3 Description for Command to Configure APN to enable address allocatingby RADIUS.

    Parameter Description

    dhcp DHCP allocates IP addresses.

    local Locally allocate IP addresses.

    radius-allocate RADIUS allocates IP addresses.

    5-2

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 5 Charging Configuration

    Parameter Description

    radius-assign-

    name

    The name of the IP address pool allocated by RADIUS (for example, when

    this name is asspool, and another address pool with the same name

    exists in local disk, RADIUS allocates IP addresses from this asspool

    pool to users. Otherwise, the allocation fails and users cannot access to

    the network.)

    4. Configure the IP address pool of assigned type related to APN.

    The syntax of the command to configure the IP address pool of assigned related toAPN is ippool , as described in Table 5-4.

    Table 5-4 Description for Command to Configure IP Address Pool of AssignedType Related to APN

    Parameter Description

    pool-name The address pool name, based on which, the corresponding IP address pool is

    obtained from the IP address pool.

    5. Configure the authentication AAA template associated with the APN.

    The syntax of the command to configure the authentication AAA template associatedwith the APN is auth aaa-profile , as described in Table 5-5.

    Table 5-5 Description for Command to Configure Authentication AAA templateAssociated with APN

    Parameter Description

    template-name The name of the authentication AAA template, with 1~63 characters.

    6. Configure the charging AAA template associated with the APN.

    The syntax of the command to configure the charging AAA template associated withAPN is charge aaa-profile , as described in Table 5-6.

    Table 5-6 Description for Command to Configure Charging AAA templateAssociated with APN

    Parameter Description

    template-name The name of the charging AAA template, with 1~63

    characters.

    End of Steps

    Example

    1. To create and enter the IP address pool of the assigned type, named as radiuspool,use the command below:

    xGW(config-xgw-ggsn)#ipv4 ip-pool assigned radiuspool

    5-3

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    2. To add an address segment with the initial address 10.50.0.1, the ultimate address10.50.0.100, the mask 255.255.255.0, and the CPU location 2/1, use the commandbelow.

    xGW(config-xgw-ggsn-ipv4)#segment 10.50.0.1 10.50.255.254 mask255.255.255.0 cpulocation 2/1

    3. Exit the ipv4 configuration mode, use the command below.

    xGW(config-xgw-ggsn-ipv4)#exit

    4. To enter the APN named as zte, use the command below:

    xGW(config-xgw-ggsn)#ap zte

    5. To configure APN to enable address allocating by RADIUS, use the command below:

    xGW(config-xgw-ggsn-apn)#ip-allocate-mode radius-allocate

    6. To add an IP address pool of assigned type related to APN and named as radiuspool,use the command below:

    xGW(config-xgw-ggsn-apn)#ippool radiuspool

    7. To configure the name of the authentication AAA template as aaaauth, use thecommand below:

    xGW(config-xgw-ggsn-apn)#auth aaa-profile aaaauth

    8. To configure the name of the charging AAA template as aaachar, use the commandbelow:

    xGW(config-xgw-ggsn-apn)#charge aaa-profile aaachar

    5.3 Configuring Common Offline ChargingConfigure the general offline charging mode for an APN.

    Steps

    1. In the APN configuration mode, Configure the general offline charging mode for anAPN.

    The syntax of the command to configure the general offline charging mode for an APNis charge offline mode {flow|time|time-flow}, as described in Table 5-7.

    Table 5-7 Description for Command to Configure General Offline Charging Modefor an APN

    Parameter Description

    mode The charging modes, in three modes:

    l flow: charged by traffic

    l time: charged by duration

    l time-flow: charged by both traffic and duration

    2. Configure the charging threshold for the general offline charging for an APN.

    5-4

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • Chapter 5 Charging Configuration

    The syntaxes of the command to configure the charging threshold of the general offlinecharging for an APN are charge offline flow-threshold , and charge offlinetime-threshold , as described in Table 5-8.

    Table 5-8 Description for Command to Configure Charging Threshold of GeneralOffline Charging for APN

    Parameter Description

    flow-threshold The traffic threshold, within 100~4000000(KByte)

    time-threshold Time threshold, within 6~1440(min)

    3. Configure the CDR filter of the general offline charging rate for an APN.

    The syntax of the command to configure the CDR filter for general the general offlinecharging rate for an APN is charge offline cdr-filt {all|plmn-change|prepaid|qos-change|rat-change|sgsnip-change|timezone-change}{disable|enable}, as described in Table5-9.

    Table 5-9 Description for Command to Configure CDR Filter of General OfflineCharging Rate for APN

    Parameter Description

    all All CDRs.

    plmn-change CDR for PLMN changes.

    prepaid CDR for prepaid service.

    qos-change CDR for QoS.

    rat-change CDR for RAT changes

    sgsnip-change CDR for SGSN changes.

    timezone-change CDR for time changes.

    disable Do not perform CDR filtering.

    Enable this function. Perform CDR filtering.

    4. Configure the offline charging rate for an APN.

    The syntax of the command to configure the offline charging rate for an APN is chargeoffline tariff begin end rate , as described in Table 5-10.

    Table 5-10 Description for Command to Configure Offline Charging Rate for APN

    Parameter Description

    begin The time when the charging rate duration starts, with the format hh:mm. Only

    full clocks or half clocks are available.

    end The time when the charging rate duration ends, with the format hh:mm. Only

    full clocks or half clocks are available.

    5-5

    SJ-20110829111841-007|2012-02-18 (R1.0) ZTE Proprietary and Confidential

  • ZXUN xGW GGSN Data Configuration Guide

    Parameter Description

    rate Charging rate, valued within 0~100%. If the value is set to 50, that means the

    practical charging rate is half the original charging rate.

    End of Steps

    Example

    1. To create and enter the APN configuration mode named as ztec, use the commandbelow:

    xGW(config-xgw-ggsn)#ap ztec

    2. To configure the general offline charging mode as time-flow, use the command below:

    xGW(config-xgw-ggsn-apn)#charge offline mode time-flow

    3. To configure the traffic threshold for the general offline charging to 100KByte, the timethreshold to 6 minutes, use the command below:

    xGW(config-xgw-ggsn-apn)#charge offline flow-threshold 100

    xGW(config-xgw-ggsn-apn)#charge offline time-threshold 6

    4. To configure filtering all CDRs, use the command below:

    xGW(config-xgw-ggsn-apn)#charge offline cdr-filt all enable

    5. To configure the charging rate duration starts at 01:00, ends at 07:00, and the chargingrate is 60%, use the command below:

    xGW(config-xgw-ggsn-apn)#charge offline tariff begin 01:00 end 07:00 rate 60

    5.4 Configuring Content Charging

    5.4.1 Configuring a DPI RuleThis topic introduces how to use DPI TOOL to configure the level-1 and level-2 filteringrules of different charg